Conteúdo do Curso
Learning Statistics with Python
Learning Statistics with Python
2. Mean, Median and Mode with Python
4. Covariance vs Correlation
Sample Variance
Now it's time to explore sample variance. While the concept is similar to population variance, the formula is slightly different to account for the fact that the data represents only a subset of the entire population.
Formula
Look at the example of variance rounded to two decimal points for the column 'salary_in_usd'
:
The variance of the column 'salary_in_usd'
is 5034932663.18
Variance Key Note
The variance of the 'salary_in_usd'
column is quite substantial, indicating that the values in this column are widely spread out.
Note
The greater the variance, the more the values are scattered.
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 3. Capítulo 2