Resource · Guide or article
A Brief Introduction to Statistics and Probability
Introduces the probability and statistics ideas most used in data work, explained through a baseball player height and weight dataset. A solid refresher for early-career data or ML candidates who expect basic statistics questions.
Reviewed
Open the original: A Brief Introduction to Statistics and Probability (opens the original site in a new tab)Practice this topicOpens the practice interviewer in Technical / coding mode; choose a question there.
Add to a roadmap
Keep this resource with a roadmap you follow. It appears as your own extra resource; the roadmap's steps don't change and it doesn't count toward your tracked steps.
Source content: English
Statistics and Probability Theory are two highly related areas of Mathematics that are highly relevant to Data Science. It is possible to operate with data without deep knowledge of mathematics, but it is still better to know at least some basic concepts. Here we will present a short introduction that will help you get started.
PrepKit overview
PrepKit editors wrote and reviewed this overview from the source repository. It is not text from the resource itself.
- Suited to
- Early career
- Format
- Lesson
What it covers
- Defines random variables, discrete and continuous distributions, and probability density.
- Covers mean, variance, standard deviation, median, mode, quartiles, IQR outliers and box plots.
- Computes confidence intervals for mean weight and shows them widening at higher confidence levels.
- Tests whether first basemen are taller than second basemen using intervals and a SciPy t-test.
- Explains the central limit theorem and law of large numbers, then covariance and correlation with numpy corrcoef.
How to use it
PrepKit study advice, not a claim made by the source.
Work the lesson's challenge hypotheses in the notebook and write a two-sentence conclusion for each test. Then practice explaining, without formulas in front of you, what a p-value means and why correlation does not imply causation.
Scope and limitations
Short introduction by its own account: it skips how confidence intervals are derived and leaves degrees of freedom out. Code samples are Python. It is a course lesson rather than an interview question set.
Access and format
Free English lesson README in the MIT-licensed microsoft/Data-Science-For-Beginners repository on GitHub.
Reviewed by PrepKit on Oct 2, 2026. Listing source commit: 4d2ac427ad6f
Evidence behind this overview
- 1-Introduction/04-stats-and-probability/README.md
Pages that include this
Get the PrepKit newsletter
Optional. You don't need it to use PrepKit.