Free courses in AI, Data Science & Machine Learning Written lessons · Quizzes · Final exams
Future Data Academy
Log inGet started ↗
← Statistics for Data Science
FREE LESSON PREVIEW

Centre and spread

A distribution describes how observations vary. Mean is sum divided by count; median is the middle sorted value, averaging the two middle values when needed. For 2, 3, 3, 4, 18, mean is 6 and median is 3. The large value pulls the mean upward. Range is maximum minus minimum but does not describe the values between them.

Variance averages squared deviations from the mean. Population variance divides by N; sample variance divides by n - 1. Standard deviation is the square root of variance and has the original unit. State which definition you use.

Try it yourself

Treat 1, 3, 5 as a sample. Find mean, sample variance and sample standard deviation.

Worked answer

Mean 3. Squared deviations sum to 8; sample variance is 8/2 = 4 and sample standard deviation is 2.

Explore the full course →