How to calculate variance of first 30 odd numbers ?
The method I used requires finding the mean and subtracting each number with it and then squaring the result . Its getting difficult .
I used this :
Any other way to calculate ?
How to calculate variance of first 30 odd numbers ?
The method I used requires finding the mean and subtracting each number with it and then squaring the result . Its getting difficult .
I used this :
Any other way to calculate ?
The first 30 odd numbers don't have variance. The uniform distribution over the first 30 odd numbers has variance, given by $$ \frac{1}{30} \sum_{i=0}^{29} (2i+1)^2 - \left(\frac{1}{30} \sum_{i=0}^{29} (2i+1)\right)^2 = \frac{899}{3}. $$ More generally, one calculates that the variance of the uniform distribution over the first $n$ odd numbers is $$ \frac{n^2-1}{3}. $$