Marginal

Statistics

Describing data, probability and its distributions, and statistical inference: sampling distributions, the central limit theorem, confidence intervals, hypothesis tests, power and chi-square tests.

28 lessons in 3 units

Start your free trial14 days free. No card needed.
What you'll learn

28 lessons, one small step at a time

Each lesson states its goal, then works up to it in short steps with practice after each. A placement test at the start skips what you already know.

Describing Data

4 lessons
  1. Mean, variance & SDCompute the mean, variance and standard deviation of a sample, and predict how an outlier, a shift or a rescaling changes them.
  2. CovarianceTell the direction of a relationship from data or context, compute the sample covariance of two variables, and predict how changing units changes it.
  3. CorrelationCompute the correlation from a covariance and two standard deviations or variances, read its strength and direction, and recognize what a correlation does not show.
  4. Medians, percentiles & outliersFind the median and percentiles of a dataset, judge skewness by comparing the mean and median, and flag outliers with the 1.5 × IQR rule.

Probability

14 lessons
  1. Probability from tablesFind probabilities as shares of a table, including complements, marginal probabilities and joint probabilities.
  2. The addition ruleFind the probability that at least one of two events happens with the addition rule, simplify it for mutually exclusive events, and find the probability of neither.
  3. Conditional probabilityCompute conditional probabilities from a table or from joint probabilities, tell P(A | B) from P(B | A), and test whether two events are independent.
  4. Bayes' ruleReverse a conditional probability with Bayes' rule, working with counts, and explain why a positive result from an accurate test for a rare condition is usually wrong.
  5. Expected value & varianceCompute the expected value and variance of a random variable, and interpret the expected value as a long-run average.
  6. Linear transformationsFind the mean, variance and standard deviation of a linear transformation a + bX, and use the rules to change units and standardize a variable.
  7. z-scoresConvert a value to a z-score and back, and use z-scores to compare values measured on different scales.
  8. Normal probabilitiesFind probabilities for any normal variable with the standard normal table, and find the values that cut off a given share in one tail or in the middle.
  9. The binomial distributionRecognize when a count is binomial, compute the probability of exactly k successes and of at least one, and find the mean and variance of the count and of the share.
  10. Joint distributionsFind marginal and conditional distributions and the conditional expectation from a joint probability table, and compute the covariance of two random variables.
  11. Variance of sumsCompute the variance of a sum or difference of random variables from their variances and correlation, find the variance of an average, and explain why diversification lowers risk.
  12. Cumulative distributionsBuild a cumulative distribution function, use it to find probabilities and quantiles, and compare two distributions by first-order stochastic dominance.
  13. The uniform distributionFind probabilities and the mean of a uniform variable from areas, compute the chance that several independent draws all fall below a value, and update a uniform distribution when its range is narrowed.
  14. The Poisson distributionCompute Poisson probabilities for counts of events, use the equality of its mean and variance, and approximate rare events across many trials.

Statistical Inference

10 lessons
  1. Sampling distributionsDescribe how an estimate varies from sample to sample, compute the standard error of a mean or a proportion, and find how likely a sample mean is to land far from the truth.
  2. Confidence intervalsBuild a confidence interval for a mean at a given confidence level, predict how the confidence level and the sample size change its width, and interpret what the confidence level means.
  3. Test statisticsState the null hypothesis for a research question, compute a test statistic as the distance from the null in standard errors, and judge whether it is large.
  4. P-values & decisionsCompute a two-sided p-value from a test statistic, decide whether to reject the null at a given significance level, and avoid the common misreadings of p-values.
  5. Comparing two meansCompute the standard error of a difference in means, test whether two group means differ, and judge whether the difference measures a causal effect.
  6. The central limit theoremState the central limit theorem, compute probabilities about a sample mean with it, and tell the spread of individuals from the spread of averages.
  7. The t distributionExplain why estimating the standard deviation calls for the t distribution, and build a confidence interval with a t critical value.
  8. Type I & II errors & powerClassify a test's mistakes as Type I or Type II errors, compute the power of a test, and find the sample size a study needs.
  9. Testing proportionsTest a hypothesis about a proportion, build a confidence interval for one, and compare proportions between two groups.
  10. Chi-square testsCompute chi-square statistics for goodness of fit and for independence in a two-way table, and decide with their critical values.
Sample lesson

Mean, variance & SD

Goal: Compute the mean, variance and standard deviation of a sample, and predict how an outlier, a shift or a rescaling changes them.

Econometrics starts with describing data: what is typical, and how much do observations differ from each other? Two numbers do most of the work, the mean for the center and the standard deviation for the spread, and nearly every later tool, from confidence intervals to regression, is built from them.

We will compute the mean, see how one outlier moves it, measure spread with the variance and standard deviation, and finish by reading spread and rescaling data.

Step 1: The mean

The mean (average) adds up the observations and divides by how many there are:

x̄ = Σxi ÷ n

Weekly hours of 30, 40, 35 and 45 have mean 150 ÷ 4 = 37.5.

Step 2: One outlier moves the mean

The mean uses every value, so it is pulled toward extreme ones. Five incomes of 30, 35, 40, 45 and 50 thousand dollars have mean 40. Add one person earning 240 and the mean jumps to 440 ÷ 6 ≈ 73, though five of the six people earn 50 or less.

Step 3: Variance

The variance measures spread: the average squared distance from the mean. For a sample, divide by n − 1 rather than n, which corrects for measuring distances from the sample mean, which sits closer to the data than the true mean does:

s² = Σ(xi − x̄)² ÷ (n − 1)

Example: 7, 7, 10, 13, 13 have mean 10 and deviations −3, −3, 0, 3, 3. The squares add to 36, so s² = 36 ÷ 4 = 9.

Step 4: Standard deviation

The standard deviation is the square root of the variance, which brings it back to the data's own units:

s = √s²

In the example, s = √9 = 3: a typical observation lies about 3 from the mean of 10.

Step 5: Same mean, different spread

Two datasets can share a mean but differ hugely in spread: two jobs both paying $50,000 on average, one paying exactly that every year and the other $30,000 or $70,000. The second is riskier. Because the standard deviation is in the data's units, it is easy to read: in many datasets most observations lie within about two standard deviations of the mean.

Step 6: Shifting and scaling

Adding a constant to every value shifts the mean but leaves the standard deviation unchanged, since every deviation stays the same: adding 5 to 7, 7, 10, 13, 13 moves the mean to 15 but leaves s = 3. Multiplying every value by 2 doubles every deviation, so it doubles the standard deviation, to 6.

In the app, each step ends with practice questions, new ones every time, and the lesson comes back later in spaced reviews.

Start Statistics

Lessons that need something you haven't learned yet bring it in first, from any course.

Start your free trial14 days free. No card needed.