- I have an array of numbers
- The goal is for every number to be as close to 1 as possible
The way I have interpreted this is that I want a mean as close to 1 as possible for the whole array, and a standard deviation as close to 0 as possible for the whole array.
Question: How do I combine the mean and the standard deviation in a meaningful way to show a score for "how close" my array is to the goal. The array can be any size.
[.9, 1.1, .9] is a good solution
[.2, .5, .3] is not a good solution
[0, 0, 0] is the worst solution
[1, 1, 1] is the best solution