Calculate the variance for the following population. 1,2, 4,6,6,6,8,11,13
Calculate the variance of the following sample. 1,4,8, 9, 9, 10, 14, 18
In probability theory and statistics, the variance is a measure of how far a set of numbers is spread out. It is one of several descriptors of a probability distribution, describing how far the numbers lie from the mean (expected value).
The variance of a set of n equally likely values can be written as
Var(x)=n1i=1∑n(xi−μ)2
where μ is the expected value, μ=n1∑i=1nxi
1. Population: 1,2, 4,6,6,6,8,11,13
expected value μ=91(1+2+4+6+6+6+8+11+13)=319=6.33
variance: Var(x)=91∑i=19(xi−6.33)2=9122=13.56
Answer: 13.56
2. Sample: 1,4,8, 9, 9, 10, 14, 18
expected value μ=81(1+4+8+9+9+10+14+18)=873=9.125
variance: Var(x)=81∑i=18(xi−9.125)2=24.61
Answer: 24.61