官术网_书友最值得收藏!

Identifying outliers with standard deviation

Here's a histogram of the actual data we were looking at in the preceding example for calculating variance.

Now we see that the number 4 occurred twice in our dataset, and then we had one 1, one 5, and one 8.

The standard deviation is usually used as a way to think about how to identify outliers in your dataset. If I say if I'm within one standard deviation of the mean of 4.4, that's considered to be kind of a typical value in a normal distribution. However, you can see in the preceding diagram, that the numbers 1 and 8 actually lie outside of that range. So if I take 4.4 plus or minus 2.24, we end up around 7 and 2, and 1 and 8 both fall outside of that range of a standard deviation. So we can say mathematically, that 1 and 8 are outliers. We don't have to guess and eyeball it. Now there is still a judgment call as to what you consider an outlier in terms of how many standard deviations a data point is from the mean.

You can generally talk about how much of an outlier a data point is by how many standard deviations (or sometimes how many-sigmas) from the mean it is.

So that's something you'll see standard deviation used for in the real world.

主站蜘蛛池模板: 栾川县| 新竹市| 康定县| 嵊泗县| 磐石市| 孙吴县| 扎囊县| 宜都市| 白沙| 祁阳县| 龙江县| 临泽县| 许昌市| 道真| 阿尔山市| 中牟县| 夏河县| 阜阳市| 永新县| 盈江县| 涿州市| 兴宁市| 江孜县| 高陵县| 澎湖县| 巴彦县| 湖州市| 肇庆市| 阳春市| 郧西县| 南丰县| 清镇市| 容城县| 达拉特旗| 凤城市| 科技| 定边县| 丰顺县| 凌海市| 噶尔县| 邳州市|