The full academy launches January 2027. Join the waitlist for the $179 founding price.
Waldbauer Academy of Economics

Courses › Statistics and Econometrics

Second and third year · Module 13 of 15

Threats to validity and randomized experiments

Measurement error, simultaneity and selection; potential outcomes; why randomization works; and the practical problems of real experiments.

By Maximus S. Waldbauer · About 3 hours, including the problem set and quiz.

By now you can run and read a regression. The hard part is believing it. A regression of earnings on job training, of crime on police, or of sales on price will produce a number, but whether that number measures a causal effect depends on threats that no amount of statistical polish can fix.

This module lists the main threats to a causal reading of a regression (omitted variables, measurement error, simultaneity, selection), introduces the potential outcomes framework that makes “causal effect” precise, and explains why randomized experiments solve the problem so cleanly, and where real experiments still fall short.

By the end of this module you will be able to

What this module covers

  1. Internal and external validity
  2. Simultaneity and selection
  3. Potential outcomes
  4. Randomized experiments
  5. When experiments fall short
  6. Problem set with step-by-step solutions
  7. Module quiz

Lesson 13.1 Free lesson

Internal and external validity

A study is internally valid if its estimate is a credible causal effect for the population and setting it studied. It is externally valid if that effect carries over to other populations, places and times. A careful study of a tutoring program in one city’s schools in 2025 might be internally valid but tell you little about adults in another country.

Most threats to internal validity come down to one problem, which Module 6 flagged: the error term is correlated with X, E(u | X) ≠ 0. The causes have different names and different remedies:

ThreatWhat goes wrongEveryday example
Omitted variablesA factor in u affects Y and is related to XMotivated workers both take courses and earn more
Measurement error in XX is recorded with noiseSelf-reported hours of exercise
Simultaneity (reverse causality)Y also affects XMore police are sent to high-crime neighbourhoods
Sample selectionWho is in the sample depends on YWages are only observed for people who work
Wrong functional formA curved relationship is fitted with a lineEffect of temperature on electricity use (heating and cooling)

Module 8 covered omitted variables and Module 10 functional form. This lesson’s remaining sections and the next one cover the others.

Measurement error

Suppose the true model is Y = β₀ + β₁X* + u, but you observe X = X* + e, where e is random recording error unrelated to everything else. Then OLS on the observed X is biased toward zero, called attenuation bias:

plim β̂1 = β1 × Var(X*) / (Var(X*) + Var(e))

The fraction is the reliability of the measure: the share of the variation in X that is real. Noise in X looks like variation that doesn’t affect Y, which flattens the slope.

Worked example: Exercise and health

Suppose true weekly exercise hours have variance 9 and people misreport with error variance 3. The reliability is 9/(9 + 3) = 0.75.

If each true hour of exercise lowers resting heart rate by 0.8 beats per minute, OLS on reported hours will find about 0.75 × 0.8 = 0.6.

The estimate is too small by a quarter, and more data won’t fix it: the bias doesn’t shrink with n.

Measurement error in Y is less harmful. Random noise in the outcome ends up in the error term, adding imprecision but not bias, provided it is unrelated to X.

Common mistake

Assuming that measurement error always makes estimates conservative. Attenuation holds for random error in a single regressor. With several regressors, error in one can bias the others in either direction, and error that is correlated with the truth (people who exercise least overstate the most) can bias in any direction.

Key ideas

  • Internal validity: a credible causal estimate for the setting studied; external validity: it generalizes.
  • Most internal-validity threats are ways that E(u | X) ≠ 0.
  • Random measurement error in X attenuates the slope by the reliability ratio Var(X*)/(Var(X*) + Var(e)).
  • Random measurement error in Y adds noise, not bias.

Practice questions: Threats to validity and randomized experiments

Try these, then open each answer to check your work.

  1. 1.A study is internally valid when:
    1. Its results would hold in every country and period
    2. It has a large sample of several thousand units
    3. Its estimate is a credible causal effect for the population studied
    4. Its regression R² is high, so it fits the data well
    Show answer

    Answer: C. Internal validity concerns causal credibility within the study’s own setting.

  2. 2.Random measurement error in a single regressor X tends to:
    1. Bias the slope toward zero
    2. Bias the slope away from zero
    3. Leave the slope unbiased but imprecise
    4. Make R² equal to 1
    Show answer

    Answer: A. Attenuation bias: noise in X flattens the estimated slope.

  3. 3.Reliability is 0.6 and the true slope is 10. OLS on the noisy X will estimate about:
    1. 4
    2. 6
    3. 10
    4. 16.7
    Show answer

    Answer: B. 0.6 × 10 = 6.

Problems with step-by-step solutions

  1. 4.Classify the main threat in each case: (a) regressing a city’s ice cream sales on its price, using monthly data; (b) estimating the effect of a reading app by comparing families who downloaded it with those who didn’t; (c) regressing health on self-reported weekly servings of vegetables.
    Show step-by-step solution
    1. (a) Simultaneity: price and quantity are set together by supply and demand.
    2. (b) Selection/omitted variables: families who download a reading app are likely more engaged in their children’s reading anyway.
    3. (c) Measurement error in X (self-reports are noisy), likely attenuating the slope.
  2. 5.True variance of household income is 100 (in $1,000² units) and survey measurement error has variance 25. If the true effect of $1,000 of income on charitable giving is $20, what will OLS on reported income find?
    Show step-by-step solution
    1. Reliability = 100/(100 + 25) = 0.8.
    2. Expected OLS slope ≈ 0.8 × 20 = $16.

Get the full module

The complete module adds every lesson, interactive graphs, a full problem set with step-by-step solutions, and a quiz. The academy opens in January 2027: join the waitlist for the founding price (lifetime access for $179).

Join the waitlist Try a full module free

More practice: free practice questions for this course.