Assume you are given an array that shows the following percentages:
test=np.array([1.0, 1.0, 1.0, 0.8571428571428571, 0.7142857142857143, 0.8571428571428571, 0.8571428571, 1.0, 1.0]) * 100
If you calculate this mean and standard deviation,
np.mean(test)#92.857..
np.std(test)#9.58314..
is the case.
Considering the standard deviation, it will exceed 100%.
What's wrong with this?
The standard deviation is the number where 68% of the total values are included in the range from the mean (the square root of the square mean of the difference from the mean of the data), so even if it is pulled down, it will swell up in the same way.So there's nothing wrong.
·Reference link
https://data-viz-lab.com/standarddeviation
© 2024 OneMinuteCode. All rights reserved.