
Ever wondered how scientists measure the spread of data points?
Image: Shailaja.k, CC BY-SA 3.0, via Wikimedia Commons
Ever wondered how scientists measure the spread of data points?
Imagine you're at a carnival, and you want to know how much your scores vary from the average score of the ring toss game.
Think of your scores as a bunch of apples. To find out how spread out your apples are, you first square the difference between each apple and the average apple size. Then, you add up all these squared differences and divide by the number of apples. This gives you a sense of how much your apple sizes vary from the average.
Example
If your scores were 10, 12, 14, and 16, and the average score was 13, you'd find the differences (10-13), (12-13), (14-13), and (16-13), square them to get 9, 1, 1, and 9, add them up to get 20, and divide by 4 (the number of scores) to get 5.
Remember this
The formula for variance is the average of the squared differences from the mean.
Text adapted from Wikipedia, licensed under CC BY-SA 4.0.
Standard deviation
Standard deviation (σ) is the square root of variance
Robust statistics
How can we estimate the center and spread of data even when it's messy?
Monte Carlo method
Delta method approximates variance of g(X) ≈ [g'(μ)]² Var(X)
Mean squared error
Mean squared error (MSE) formula: MSE = (1/n) * Σ(y_i - ŷ_i)²
Entropy in thermodynamics and information theory
Ever wondered how computers decide what's important in a message?
Bias vs variance: high bias = underfitting, high variance = overfitting
Can a perfect fit to past data predict future events?
Swipe through more Machine Learning concepts
Open Pocket Polymath