- Hands-On Data Science and Python Machine Learning
- Frank Kane
- 190字
- 2021-07-15 17:15:11
The Mathematical explanation
As for why there is difference between population and sample variance, it gets into really weird things about probability that you probably don't want to think about too much, and it requires some fancy mathematical notation, I try to avoid notation in this book as much as possible because I think the concepts are more important, but this is basic enough stuff and that you will see it over and over again.
As we've seen, population variance is usually designated as sigma squared (σ2), with sigma (σ) as standard deviation, and we can say that is the summation of each data point X minus the mean, mu, squared, that's the variance of each sample squared over N, the number of data points , and we can express it with the following equation:

- X denotes each data point
- μ denotes the mean
- N denotes the number of data points
Sample variance similarly is designated as S2, with the following equation:

- X denotes each data point
- M denotes the mean
- N-1 denotes the number of data points minus 1
That's all there is to it.
- 高手是如何做產品設計的(全2冊)
- AngularJS Testing Cookbook
- SQL Server 2012數據庫技術及應用(微課版·第5版)
- RTC程序設計:實時音視頻權威指南
- PostgreSQL Replication(Second Edition)
- 零基礎入門學習Python
- Hands-On Reinforcement Learning with Python
- SQL經典實例(第2版)
- Salesforce Reporting and Dashboards
- 硅谷Python工程師面試指南:數據結構、算法與系統設計
- Learning Apache Cassandra
- 零基礎學C語言第2版
- 寫給程序員的Python教程
- Laravel Application Development Blueprints
- 零基礎學HTML+CSS