Statistics helps a Data Science student decide what a dataset supports and how uncertain a conclusion is. The goal is not to recite formulas; it is to connect a quantity to a population, sample, measurement process and decision.
Describing data
The mean uses every value but is sensitive to outliers; the median is robust for skewed data. Variance is an average squared deviation and standard deviation returns to the original units. Quantiles and the interquartile range reveal spread without assuming a normal distribution.
Probability and conditional reasoning
Conditional probability asks how belief changes given evidence. Bayes’ theorem is especially important when a rare event is screened by an imperfect test: a high positive rate does not automatically mean a high probability of the event. Always state the base rate and false-positive behaviour.
Sampling and uncertainty
A statistic describes a sample; a parameter describes the population. Sampling distributions explain how estimates vary across repeated samples. The standard error describes estimator variability, while standard deviation describes variation among observations. A confidence interval is a procedure with a long-run coverage interpretation, not the probability that a fixed parameter is moving inside the interval.
Hypothesis tests
Define null and alternative hypotheses, choose a test before inspecting outcomes where possible, and report effect size and uncertainty alongside a p-value. Type I error rejects a true null; Type II error fails to reject a false null. Multiple comparisons increase false-discovery risk and may require correction.
Relationships and regression
Covariance depends on scale; correlation standardizes association. Neither proves causation. Regression describes an expected outcome under assumptions about linearity, independence, residual behaviour and, for inference, uncertainty. Check residuals and multicollinearity rather than trusting a single score.
Practical example
import numpy as np
values = np.array([4, 5, 5, 6, 20])
print(values.mean())
print(np.median(values))
The mean is pulled upward by 20 while the median remains near the typical observations. This is why the summary must match the question and distribution.
Common mistakes and next step
Do not treat p < 0.05 as practical importance, use a test without checking assumptions, or claim causation from a correlation. Continue with the Statistics for Data Science course and practise interpreting intervals, errors and plots. Further reading: NIST Engineering Statistics Handbook.