Heteroskedasticity and Specification Problems

Learn what to do when the assumptions behind a regression break down. See why heteroskedasticity leaves OLS estimates unbiased but makes the usual standard errors wrong, and fix the inference with robust standard errors or weighted least squares. Test for heteroskedasticity with the Breusch–Pagan and White tests, check the functional form with RESET and nonnested tests, use proxy variables for unobserved factors, and work out how measurement error, missing data and outliers affect your estimates. Examples include commands for R, Stata and Python.

IntermediateLesson 5 of 8 in Econometrics 1 Course

What you will learn

  1. Recognize when the error variance changes across observations, explain which OLS properties survive and which fail, and carry out valid inference with heteroskedasticity-robust standard errors.
    • Recognize heteroskedasticity and its consequences for OLS
      Define homoskedasticity and heteroskedasticity, spot typical patterns in data and residual plots, and explain why OLS estimates stay unbiased while the usual standard errors and tests fail.
    • Compute and use heteroskedasticity-robust standard errors
      Calculate robust standard errors, use them for t tests, confidence intervals and joint tests, and report which version and software option were used.
  2. Carry out and interpret the Breusch–Pagan and White tests, know what each detects and decide what a rejection or non-rejection means for the analysis.
    • Carry out the Breusch–Pagan test
      Run the Breusch–Pagan test step by step, compute its LM and F statistics from an auxiliary regression and draw a conclusion.
    • Use the White test and decide what test results mean
      Apply the full and special forms of the White test, count their degrees of freedom and use the results of heteroskedasticity tests sensibly.
  3. Use weighted least squares when the form of the variance is known or estimated, keep inference valid when the variance model is wrong, and handle the heteroskedasticity of the linear probability model.
    • Apply weighted least squares when the variance form is known
      Transform a model with known heteroskedasticity so that its error is homoskedastic, estimate it by weighted least squares and interpret the result.
    • Estimate the variance function with feasible GLS
      Estimate an unknown variance function from the OLS residuals, compute feasible GLS weights, and judge when WLS improves on OLS with robust standard errors.
    • Handle heteroskedasticity in the linear probability model
      Explain why a linear probability model is always heteroskedastic when a slope is nonzero, and choose between robust standard errors and weighted least squares for it.
  4. Test whether a regression captures the relationship between the dependent variable and the observed explanatory variables, and choose between competing nonnested specifications.
    • Test functional form with added terms and the RESET test
      Explain what functional form misspecification is and does, test candidate nonlinear terms directly, and carry out and interpret Ramsey's RESET test.
    • Choose between nonnested models
      Compare models that are not special cases of each other with a comprehensive model or the Davidson–MacKinnon test, and avoid invalid comparisons between models for different dependent variables.
  5. Use proxy variables to reduce omitted variable bias, and work out how measurement error in the dependent or an explanatory variable affects OLS estimates.
    • Use proxy variables for unobserved explanatory variables
      Replace an unobserved variable with an observed proxy, state the conditions under which this gives consistent estimates, and interpret the results correctly.
    • Assess measurement error in the dependent variable
      Explain when measurement error in the dependent variable leaves OLS unbiased and when it causes bias.
    • Analyze measurement error in an explanatory variable
      Derive the effect of classical measurement error in a regressor, compute the attenuation bias, and explain how it changes with other controls.
  6. Judge how missing data, nonrandom samples and outliers affect OLS, respond to them sensibly, and review a regression study for the main threats to its conclusions.
    • Judge the effect of missing data and nonrandom samples
      Decide when dropping observations or a selected sample leaves OLS unbiased, recognize endogenous selection, and evaluate simple fixes for missing values.
    • Identify and handle outliers and influential observations
      Find observations that drive OLS results, check them for data errors, and respond with sensitivity checks, transformations or least absolute deviations.
    • Review a regression study for threats to its conclusions
      Bring the diagnostics of this unit together to check whether a study's estimates and standard errors can be trusted, and link each problem to its symptom and response.

Heteroskedasticity study guide

6 chapters

1

Keep OLS inference valid

Changing error spread leaves some OLS properties intact and breaks others. Separate the mean assumption that supports coefficient estimation from the variance assumption used in ordinary inference. Residual plots show what to investigate, and robust covariance estimates turn that investigation into valid large-sample tests and intervals. The same fitted line can support a different conclusion once its uncertainty is estimated correctly.

1.1 Changing error variance

A regression describes both a typical outcome and the deviations around it. Heteroskedasticity means those deviations have different variances at different values of the explanatory variables. High-income households, for example, can differ much more in annual saving than low-income households.

Separate the mean from the spread

For y=β0+β1x1+⋯+βkxk+u, homoskedasticity means Var⁡(u∣x)=σ2. Under heteroskedasticity, write Var⁡(u∣x)=σ2h(x), where h(x)>0 varies with the regressors. The condition E(u∣x)=0 concerns the center of the errors. It can hold while their spread changes.

Imagine a saving regression with residuals mostly between minus 1 and plus 1 thousand dollars at incomes near 20 thousand, but between minus 8 and plus 8 thousand at incomes near 120 thousand. Both groups can have average error zero. The second group is simply harder to predict precisely.

Which OLS results survive?

With a correctly specified linear mean, random sampling, no perfect collinearity and zero conditional mean, OLS remains unbiased and consistent. Constant variance is absent from those requirements. Increasing the sample helps the coefficient estimates approach the true parameters, but it does not make a wrong standard-error formula valid.

ResultUnder heteroskedasticity
OLS coefficientsRemain unbiased and consistent under the other OLS assumptions
Usual standard errorsGenerally invalid
Usual tests and intervalsCan give misleading significance and coverage
EfficiencyOLS loses its BLUE guarantee
Sample R-squaredStill measures the share of variation explained

The usual variance formula for a slope is σ2/[SST⁡j(1−Rj2)]. It assigns one common error variance to all observations. When that premise fails, usual t and F statistics lose their stated reference distributions. Their p-values may exaggerate or understate the evidence. A large sample does not repair this formula.

BLUE means best linear unbiased estimator. With the correct variance function, weighted least squares can estimate the same coefficients more precisely. Heteroskedasticity by itself does not say that the fitted relationship points in the wrong direction.

Read the residual pattern

Plot residuals, or squared residuals, against fitted values and important regressors. A fan suggests changing variance. A curved center suggests a problem in the mean equation, such as a missing square. These are different features of a plot and can appear together. Formal variance tests help assess a visible pattern; they do not identify every possible variance form.

A high R2 can coexist with a wide fan. The formula R2=1−SSR⁡/SST⁡ still describes sample fit; it and adjusted R-squared consistently estimate the population measure based on unconditional variances. Normality also differs from homoskedasticity: errors can be normal at each income but have income-dependent variances.

Logs often reduce a fan by compressing large outcomes. A wage model in log wages still needs a variance check. In a linear probability model, the binary outcome itself links the error variance to the fitted probability.

Key Takeaways

  • Heteroskedasticity concerns conditional variance; zero conditional mean can still hold.
  • OLS stays unbiased and consistent under the other OLS assumptions.
  • Usual standard errors and their tests generally fail, even in large samples.
  • OLS loses its BLUE guarantee; sample R-squared retains its descriptive meaning.
  • Use residual plots to distinguish changing spread from a curved mean.

1.2 Robust standard errors and tests

A robust covariance estimate lets each observation contribute its own error variance. The OLS line stays exactly where it was. What changes is the estimated uncertainty around its coefficients.

Build a robust standard error

In simple regression, let SST⁡x=∑i(xi−xˉ)2. The basic HC0 estimate is

Var⁡^(β^1)=∑i(xi−xˉ)2u^i2SST⁡x2.

Take its square root to get the standard error. Large squared residuals matter especially when their observations are far from the mean of the regressor. In multiple regression, replace the centered regressor by residuals r^ij from regressing that regressor on the others: the numerator becomes ∑ir^ij2u^i2 and the denominator is SSR⁡j2.

For six observations with x=(1,2,3,4,5,6) and y=(2.0,3.2,3.6,4.0,4.0,9.0), OLS gives y^=0.52+1.08x. The residuals are 0.40,0.52,−0.16,−0.84,−1.92,2.00. Their squared sum is 8.848, so the usual variance estimate is 8.848/4=2.212 and the usual slope SE is 2.212/17.5≈0.356.

The robust numerator is 1+0.6084+0.0064+0.1764+8.2944+25=35.0856. Thus HC0 gives 35.0856/17.5≈0.338. HC1 multiplies the variance by n/(n−k−1)=6/4, giving an SE of about 0.415. This small example illustrates arithmetic; robust inference relies on large-sample approximations.

Name the version
VersionAdjustment
HC0Basic squared-residual formula
HC1Multiplies HC0 variance by n/(n−k−1)
HC2 and HC3Adjust for observation leverage

HC3 is often useful in smaller samples and is the default of R's sandwich::vcovHC. Stata's vce(robust) uses HC1. Request the same version when comparing software:

  • Stata: regress y x1 x2, vce(robust)
  • R: lmtest::coeftest(m, vcov = sandwich::vcovHC(m, type = "HC1"))
  • Python: smf.ols("y ~ x1 + x2", data=df).fit(cov_type="HC1")

Here m is an R model fitted by lm, and Python uses import statsmodels.formula.api as smf.

Use the covariance estimate throughout inference

With an estimate of 0.48 and robust SE 0.12, the robust test statistic for a zero coefficient is 0.48/0.12=4. A large-sample 95% interval is 0.48±1.96(0.12)=[0.245,0.715]. The usual SE of 0.08 would instead give a narrower interval, about [0.323, 0.637]. Robust SEs can also be smaller, as the HC0 example shows.

For joint restrictions use a robust Wald test, not the restricted-versus-unrestricted SSR formula. After a robust fit, use Stata test x2 x3, R car::linearHypothesis(m, c("x2 = 0", "x3 = 0"), vcov. = sandwich::vcovHC(m, type = "HC1")), or Python res.f_test("x2 = 0, x3 = 0") with the robust fitted result res.

Robust inference works with constant or changing variance in large independent samples. It leaves omitted-variable bias, measurement error and outlier influence untouched. Errors correlated within groups require a covariance estimator designed for that dependence.

Key Takeaways

  • Robust SEs change uncertainty, not OLS coefficients.
  • HC1 scales the HC0 variance; HC3 also adjusts for leverage.
  • Use the robust SE for t statistics and confidence intervals.
  • Joint restrictions require the robust covariance matrix.
  • Robust SEs can be larger or smaller than usual SEs.
  • Independent observations and adequate sample size still matter.
2

Test the error variance

Squared residuals provide a practical way to investigate changing variance. Build an auxiliary regression, choose the patterns it should search for, and use its fit to form a test statistic. Breusch–Pagan and White tests differ in that choice of predictors and in how much sample information they use. Their results become more useful when read alongside the mean specification and the exact settings used by software.

2.1 The Breusch–Pagan test

The Breusch–Pagan test asks whether error variance is related to selected explanatory variables. It turns an unobserved feature of the errors into a regression using squared OLS residuals.

Set up the auxiliary regression

Under zero conditional mean, E(u2∣x)=Var⁡(u∣x). If the variance is constant, the regressors should not help explain squared errors. Use

u^i2=δ0+δ1zi1+⋯+δqziq+vi,

where the variance predictors may be all the original regressors, a subset, or other plausible drivers of variance. Test H0:δ1=⋯=δq=0. Count the nonconstant predictors in this auxiliary regression; the original model's number of slopes need not be the same.

  1. Estimate the mean model by OLS and save its residuals.
  2. Square those residuals.
  3. Regress the squares on an intercept and the chosen variance predictors.
  4. Save the auxiliary R-squared and compute the test statistic.
  5. Compare its p-value with the significance level.

The studentized, or Koenker, LM form is LM=nRu^22, approximately chi-square with q degrees of freedom under the null. The F version is

F=Ru^22/q(1−Ru^22)/(n−q−1),

with an approximate Fq,n−q−1 reference distribution. These are large-sample diagnostic tests; the studentized version does not require normal errors.

Work through a result

A model uses 200 observations and three variance predictors. The auxiliary regression gives R2=0.064. Then LM=200(0.064)=12.8. The 5% chi-square critical value for three degrees of freedom is 7.81. The p-value is about 0.005, so reject constant variance.

For the F form, the numerator is 0.064/3 and the denominator is 0.936/196. Their ratio is about 4.47, also with p about 0.005. The 196 denominator degrees of freedom subtract the three slopes and the auxiliary intercept from 200.

Avoid testing the wrong quantity

Regressing the unsquared residuals on the original regressors gives zero slopes by the OLS normal equations. That regression asks about a linear mean pattern already removed by OLS. Squaring reveals differences in spread that positive and negative errors otherwise cancel.

A rejection indicates variance-related structure, but it does not supply optimal weights. A non-rejection leaves uncertainty: a small sample or a nonlinear variance relation can give the test little power. If a log model is estimated, use that model's residuals; a test from a levels regression says nothing directly about the log regression's variance.

Match software settings
  • R: lmtest::bptest(m) uses all regressors and the studentized version by default.
  • Stata: estat hettest, rhs iid after regress matches that version. Plain estat hettest instead uses fitted values and a normal-theory statistic.
  • Python: het_breuschpagan(res.resid, res.model.exog) from statsmodels.stats.diagnostic returns LM, its p-value, F and its p-value. The design matrix includes an intercept.

Check the mean equation before interpreting a variance test. If a missing quadratic produces systematic prediction errors, their squares can be related to the regressors even when the true disturbance has constant variance.

Key Takeaways

  • Regress squared residuals on an intercept and chosen variance predictors.
  • Compute LM from the auxiliary R-squared, not the original model R-squared.
  • Degrees of freedom count nonconstant auxiliary predictors.
  • A rejection gives evidence against constant variance, not a variance formula.
  • Check functional form and software defaults when interpreting the result.

2.2 The White test and its limits

A variance pattern can be nonlinear. The White test expands the auxiliary regression so that squares and interactions can detect relationships a simple linear variance check misses.

Build the full test

Start with OLS squared residuals. Regress them on an intercept, the original regressors, their squares and their pairwise cross products. Compute LM=nRu^22 and compare it with a chi-square distribution. The degrees of freedom count distinct, linearly independent nonconstant terms in this auxiliary regression.

For three continuous regressors, the list is:

  • Three levels: x1,x2,x3.
  • Three squares: x12,x22,x32.
  • Three products: x1x2,x1x3,x2x3.

That gives nine restrictions. The 5% chi-square critical value is about 16.92. With six regressors, there are 6+6+15=27 possible terms. Every added term consumes sample information, so the fuller test can have weak power in small samples.

A dummy's square is the dummy itself. Keep one copy. Other exact dependencies can also reduce the usable term count; count the actual independent terms, not just the written list. A White regression with duplicated columns does not gain new restrictions from those copies.

Use the compact fitted-value version

The special White form regresses squared residuals on an intercept, y^ and y^2. These summarize combinations of the original levels, squares and products with only two nonconstant predictors. When both are independent, the LM statistic has two degrees of freedom.

With 200 observations and auxiliary R2=0.045, LM=200(0.045)=9. The 5% critical value is 5.99 and p is about 0.011. Reject at 5%, but retain the null at 1%. The significance level determines the decision; the same evidence can fall on different sides of those cutoffs.

The special form saves degrees of freedom by restricting the variance patterns searched. It is useful when the full term expansion would be too large, but it is a different test, so it need not give the same p-value.

Interpret both tests with the mean model
DiagnosticWhat it adds to the variance regression
BP with original regressorsLinear variance predictors
Full WhiteLevels, squares and cross products
Special WhiteFitted values and their square

A rejection can reflect an incorrect mean equation. Omitting a true quadratic leaves systematic residuals; their squares then appear predictable. Inspect functional form before treating a rejection as evidence for a particular weighting model.

Robust standard errors remain valid in large independent samples even when a variance test does not reject. A diagnostic is useful for describing the data and considering WLS. It is not an entry requirement for robust inference. Neither BP nor White can establish that all other regression assumptions hold.

Run the full form

In Stata use estat imtest, white after OLS. In Python use het_white(res.resid, res.model.exog) from statsmodels.stats.diagnostic; the design matrix includes the intercept. For an R model with two continuous regressors, use lmtest::bptest(m, ~ x1 * x2 + I(x1^2) + I(x2^2), data = df). The interaction notation supplies the levels and their product, while I() supplies the squares. The special form can be run directly as an auxiliary regression on saved fitted values and their square.

Key Takeaways

  • The full White test searches levels, squares and cross products.
  • Drop duplicate or dependent terms when counting degrees of freedom.
  • The special fitted-value form typically uses two restrictions.
  • Many auxiliary terms can reduce power in a small sample.
  • A non-rejection still permits robust inference in large samples.
3

Estimate with unequal precision

Unequal error variances create an opportunity to improve precision. Use a known variance pattern to transform a regression, or estimate that pattern before fitting weighted least squares. Keep the original coefficient meanings, track the difference between weights and transformations, and assess whether the weighting model deserves confidence. Binary outcomes provide a concrete case where the variance is tied directly to the conditional mean.

3.1 Weight observations by their precision

Some observations are more precise than others. Weighted least squares (WLS) gives less weight to observations with larger error variances. It changes how the coefficients are estimated, while keeping their meaning in the original model.

Remove a known variance pattern

Suppose Var⁡(ui∣xi)=σ2hi, with a known positive function hi=h(xi). Divide every term by its square root:

yihi=β01hi+β1xi1hi+⋯+βkxikhi+uihi.

The transformed error variance is σ2hi/hi=σ2. OLS on this transformed equation is a special case of generalized least squares. Its objective is

∑i(yi−b0−b1xi1−⋯−bkxik)2hi.

The weight applied to a squared residual is 1/hi. The transformation applied to each variable is 1/hi. Multiplying all weights by the same positive constant leaves the coefficients unchanged, so knowing variance up to a common scale is sufficient.

Transform an observation

In a saving model with variance proportional to income, use hi=inci. Amounts are in thousands of dollars. For income 25 and saving 2.0, divide by 5: the transformed outcome is 0.4, the transformed constant is 0.2 and the transformed income is 5. For income 100 and saving 9.0, divide by 10: the values become 0.9, 0.1 and 10.

The first observation has squared-residual weight 1/25; the second has weight 1/100. Equal original residuals therefore contribute four times as much for the first household. Its lower error variance makes the same-sized miss more informative.

If fitting transformed variables by hand, include 1/hi as a regressor and suppress the ordinary intercept. The coefficient on that transformed constant estimates the original intercept. Weight-aware software performs the transformation internally and keeps the original formula's intercept.

Interpret coefficients and inference

A WLS saving slope still measures the change in saving for a one-unit increase in income, with other regressors fixed. With the correct variance function and the other Gauss–Markov assumptions, WLS is BLUE. Its usual standard errors support inference; exact finite-sample t and F distributions additionally require normal errors.

For averages over mi people whose errors are uncorrelated and have a common individual variance, the average error variance is σ2/mi. Thus hi=1/mi and the weight is mi. A firm average based on 400 employees gets four times the weight of one based on 100. Shared within-firm shocks break this inverse-size variance formula.

Fit with inverse-variance weights
  • Stata: regress y x1 x2 [aweight = 1/h]
  • R: lm(y ~ x1 + x2, data = df, weights = 1/h)
  • Python: smf.wls("y ~ x1 + x2", data=df, weights=1/df["h"]).fit()

Restricted and unrestricted WLS models in an F test need identical observations and weights. The software's weighted R-squared describes a different fit calculation from OLS R-squared; comparing the two values is not a way to choose an estimator.

Key Takeaways

  • Use inverse variance for weights and inverse standard deviation for transformation.
  • Transform the constant along with every other term.
  • Interpret WLS coefficients in the original equation.
  • Correct weights restore the BLUE result under the other assumptions.
  • Weights proportional to group size need independent, equally variable individual errors.
  • Use the same weights and sample in restricted and unrestricted models.

3.2 Estimate weights with feasible GLS

The error variance function is usually unknown. Feasible GLS (FGLS) estimates it from an initial OLS fit, then uses the resulting inverse-variance weights in WLS. A credible variance model can improve precision.

Estimate a positive variance function

An exponential form keeps predicted variances positive:

Var⁡(u∣x)=σ2exp⁡(δ0+δ1x1+⋯+δkxk).

Write squared errors as this expression times a positive factor v with E(v∣x)=1. For the usual log-squared-residual procedure, also assume that v is independent of the regressors and that its log has a finite mean. Taking logs then yields a linear equation for log squared errors with the same variance slopes; the intercept absorbs the common scale and the mean of log v. A conditional mean for v alone is insufficient because the log of an average differs from the average of a log.

Implement the procedure as follows:

  1. Fit the original mean equation by OLS and save residuals u^i.
  2. Calculate log⁡(u^i2).
  3. Regress this quantity on an intercept and chosen variance predictors. Save fitted values g^i.
  4. Set h^i=exp⁡(g^i).
  5. Fit the original equation by WLS with weights 1/h^i.

The predictors in step 3 can be the original regressors or fitted values and their square. An exactly zero residual has no finite log, so inspect such cases before fitting this auxiliary equation. The resulting variance estimates need only be proportional to the true variances; WLS does not need their common scale.

Turn a log prediction into a weight

If g^i=−1.2, then h^i=exp⁡(−1.2)≈0.301 and the weight is about 3.32. If g^i=0.5, the variance factor is about 1.649 and the weight about 0.607. The first observation gets roughly 5.5 times as much weight. Using the fitted log value directly would produce a negative weight in the first case and would miss the required inverse-variance transformation.

Protect inference if the weights are imperfect

FGLS weights are estimated from the same observations, so FGLS is not generally unbiased in finite samples. With a correct variance model and zero conditional mean, it is consistent and asymptotically more efficient than OLS. Its usual inference is then valid in large samples.

If a positive weighting function of the regressors is wrong, zero conditional mean still supports consistency under regularity conditions. Efficiency gains are no longer assured, and usual WLS standard errors become invalid. Request robust covariance after weighting:

  • Stata: regress y x1 x2 [aweight = w], vce(robust)
  • R, with m_wls fitted using weights: lmtest::coeftest(m_wls, vcov = sandwich::vcovHC(m_wls, type = "HC1"))
  • Python: smf.wls("y ~ x1 + x2", data=df, weights=w).fit(cov_type="HC1")
Compare the mean estimates

An OLS slope of 0.30 with SE 0.05 and a WLS slope of 0.12 with SE 0.04 deserve investigation. Ordinary sampling variation creates some difference, but a large gap is a warning about the mean specification, omitted variables or influential observations. Revisit those features instead of selecting the more convenient estimate.

Predictions use the WLS coefficients in the original equation. Individual-outcome prediction intervals should widen where h(x) is larger. OLS with robust SEs remains a useful default when a dependable variance model is unavailable.

Key Takeaways

  • FGLS estimates a variance function before fitting WLS.
  • Exponentiate fitted log squared residuals, then invert to obtain weights.
  • The log-residual method requires assumptions beyond a positive variance model.
  • Estimated weights remove the finite-sample unbiasedness guarantee.
  • Use robust WLS inference when the variance model may be wrong.
  • Large OLS–WLS coefficient differences call for a mean-model review.
  • Individual prediction uncertainty depends on the variance at the prediction point.

3.3 Variance in a linear probability model

A linear probability model (LPM) uses a binary outcome and models its probability as a linear function of the regressors. Its variance follows directly from that probability, which makes ordinary homoskedastic OLS inference generally unsuitable.

Derive the variance

Let p(x)=P(y=1∣x)=β0+β1x1+⋯+βkxk. Because y is either zero or one, y2=y. Therefore

Var⁡(y∣x)=E(y2∣x)−[E(y∣x)]2=p(x)−p(x)2=p(x)[1−p(x)].

The error is u=y−p(x). At a fixed regressor value the subtracted probability is constant, so the error has the same conditional variance as the outcome. The variance is greatest at probability 0.5 and smaller near either endpoint.

The LPM is heteroskedastic in general, but a nonzero slope alone is not a universal proof. With one binary regressor, probabilities 0.2 and 0.8 both produce variance 0.16. Homoskedasticity requires the product p(x)[1−p(x)] to be constant across the support of the regressors.

Keep coefficient meaning separate from inference

OLS with heteroskedasticity-robust SEs is the simplest approach for large independent samples. A labor force participation coefficient of minus 0.21 on the number of children under age 6 describes a 21-percentage-point fall in participation probability for each additional child, holding other variables fixed. Robust SEs affect the test and interval for this estimate. They leave its value and its percentage-point interpretation unchanged.

A 21-percentage-point change differs from a 21% change in the starting probability. If the starting probability were 0.60, subtracting 0.21 would give 0.39; it would not mean multiplying 0.60 by 0.79.

Construct feasible weights

First fit OLS and save probabilities p^i=y^i. Estimate the variance factor by h^i=p^i(1−p^i) and use wi=1/h^i:

Fitted probabilityVariance factorWeight
0.20.166.25
0.50.254
0.90.09About 11.1

Probabilities near zero or one produce small variances and large weights. The weights express precision, not the importance of an outcome. A rare event's probability can therefore receive more weight than a probability near one half.

Check that weights exist

Every fitted probability must be strictly between zero and one for these positive finite weights. At either endpoint the estimated variance is zero and its inverse is undefined. Outside the interval the estimated variance is negative: a fitted value of 1.04 gives 1.04(1−1.04)=−0.0416.

Clipping predictions to 0.01 and 0.99 chooses replacement values arbitrarily and can make the weighted result sensitive to that choice. When the OLS predictions leave the valid interval, retain OLS with robust SEs as the usual inference approach. Robust SEs do not constrain predictions to the unit interval; that limitation belongs to the linear mean specification.

Key Takeaways

  • The binary error variance is probability times one minus probability.
  • The LPM is generally heteroskedastic, with special constant-variance cases.
  • Robust OLS inference leaves percentage-point effects unchanged.
  • LPM weights require every fitted probability to lie strictly between zero and one.
4

Check the shape of the regression

A regression can miss the shape of an economic relationship even when it includes the right observed variables. Squares, interactions and logs provide possible alternatives. Direct added-term tests and RESET help identify inadequate forms, while nonnested comparisons assess specifications that cannot be reduced to each other. Each test has a particular null and requires care about the outcome scale, estimation sample and covariance estimator.

4.1 Check curvature with added terms and RESET

A straight-line mean may miss curvature or a changing effect. Functional form misspecification occurs when the equation represents the relationship between observed variables incorrectly. A missing experience square or education–experience interaction is an omitted variable built from data already available.

Test a specific economic possibility

Suppose the wage effect of experience diminishes with experience. Add exper2. If the effect of education may depend on experience, also add educ⋅exper. Test that their coefficients are jointly zero. A rejection says the simpler equation leaves out useful mean structure.

With homoskedastic errors, an ordinary added-term F test is appropriate. With heteroskedastic errors, use a robust joint test from the expanded model's covariance matrix. Correcting the SE of the original equation alone leaves its missing curvature in place. Partial effects from a misspecified mean are generally biased and inconsistent for the intended effects.

Build a RESET test

Ramsey's regression specification error test (RESET) searches more broadly using powers of the original fitted values. Fit the base model with k slopes, save y^, and estimate

y=β0+β1x1+⋯+βkxk+δ1y^2+δ2y^3+e.

Test H0:δ1=δ2=0. The expanded model has k+3 parameters including its intercept, so the conventional F test has 2 numerator and n−k−3 denominator degrees of freedom. Do not add y^ itself: it is already a linear combination of the included columns.

For 150 observations and four base slopes, suppose R-squared rises from 0.378 to 0.412. Then

F=(0.412−0.378)/2(1−0.412)/143≈4.13.

The 5% critical value is about 3.06, with p about 0.018. Reject at 5%, but not at 1%. This R-squared calculation assumes the conventional homoskedastic test. Use a robust covariance test if error variance changes.

Turn the diagnosis into a model change

The powers of fitted values are test devices. Their coefficients have no direct economic interpretation. After rejection, investigate a meaningful form: logs, a quadratic, or an interaction suggested by the economic question. Estimate that model and examine its implications for partial effects.

RESET does not detect every omitted variable. An omitted factor whose conditional expectation is linear in the included regressors can shift their slopes without creating the nonlinear pattern RESET searches. A non-rejection therefore leaves omitted-variable reasoning necessary. Passing a diagnostic is evidence about the feature it tests, never a certificate of causality.

Match the version across software
  • R: lmtest::resettest(m, power = 2:3, type = "fitted").
  • Python: linear_reset(res, power=3, use_f=True) from statsmodels.stats.diagnostic adds the square and cube. For a robust version, supply cov_type="HC1".
  • Stata: estat ovtest after OLS normally adds the square, cube and fourth power, giving three numerator restrictions. For a two-power robust comparison, save fitted values, create their square and cube, refit with vce(robust) and jointly test those added terms.

Settle the mean form before interpreting BP or White tests: systematic mean errors also enter squared residuals and can look like changing variance.

Key Takeaways

  • A missing square or interaction is a functional form problem.
  • Test meaningful added terms directly when an economic alternative is available.
  • RESET tests fitted-value powers jointly; the fitted value itself is collinear.
  • A rejection identifies inadequacy, not the correct replacement form.
  • RESET cannot rule out all omitted variables.
  • Heteroskedasticity requires robust added-term or RESET inference.

4.2 Compare models that are not nested

A model in regressor levels and one in regressor logs may explain the same outcome with different shapes. They are nonnested when neither model can be obtained by setting coefficients in the other to zero. The ordinary restricted-versus-unrestricted F comparison cannot compare them directly.

Put both specifications inside one model

Consider model A with x1,x2 and model B with log⁡(x1),log⁡(x2), using positive regressor values and the same dependent variable. A comprehensive model includes all four terms. Testing that both log coefficients are zero tests A. Testing that both level coefficients are zero tests B.

The comprehensive equation makes each candidate a set of restrictions on a larger equation. Test each restriction set separately. Levels and logs can be highly correlated over a narrow range, so the combined model may have large standard errors and weak tests. A higher R-squared after adding terms is expected even when they add little real information.

Use the Davidson–MacKinnon approach

The fitted-value test asks whether one candidate's predictions contain information missing from the other:

  1. Fit model B and save y^B.
  2. Add y^B to model A.
  3. Test that its coefficient is zero. Significance rejects A.
  4. Reverse the roles to test B.

For example, a t statistic of 2.85 on B's predictions inside A rejects A at the large-sample 5% two-sided cutoff of 1.96. A statistic of 0.94 on A's predictions inside B fails to reject B. These two results favor B. Under heteroskedasticity, use robust inference for the added prediction.

The direction of the test matters. Adding B's predictions to A tests A's adequacy, not B's. A useful added prediction exposes what the host model fails to capture.

Read both decisions
Model AModel BInterpretation
RejectedNot rejectedEvidence favors B
Not rejectedRejectedEvidence favors A
RejectedRejectedSeek a better specification
Not rejectedNot rejectedThe tests do not distinguish them

When neither is rejected, economic meaning, interpretability and descriptive fit can guide the choice. Adjusted R-squared penalizes extra regressors and can help describe models with different parameter counts. It remains a fit measure, not a causal test. Rejecting one candidate also leaves the surviving candidate subject to other diagnostic checks.

Keep the outcome and sample comparable

These procedures compare models for the same dependent variable on the same observations. A model for wages and one for log wages explain variation on different scales. An R-squared of 0.35 for log wages cannot be ranked against 0.30 for wage levels. One describes the share of variation in log wages; the other describes the share in wages.

Regressor transformations can also change the sample. Logs exclude zero or negative inputs, and missing controls remove observations. Fix a common usable sample before running a comprehensive comparison or swapping fitted predictions. Otherwise a change in fit may reflect who entered the regression as well as how the equation was written.

Key Takeaways

  • Nonnested models need an encompassing model or fitted-value comparison.
  • Adding B predictions to A tests the adequacy of A.
  • Test in both directions; both or neither candidate can be rejected.
  • Compare models on the same outcome and observations.
  • R-squared values for an outcome and its log describe different variation.
5

Handle unobserved and noisy variables

Variables may be unobserved or recorded imperfectly. Follow each problem into the regression error to see whether it changes precision, the coefficient limit or both. A proxy can help control an unobserved factor only under suitable conditions. Measurement error has sharply different effects depending on which side of the equation contains it and how the recording error relates to the true value and the other regressors.

5.1 Use an observed proxy for an unobserved factor

Ability can affect wages and also be related to schooling. Leaving ability out then makes the education coefficient absorb part of ability's effect. A proxy variable is an observed measure that can account for the relevant unobserved differences.

Substitute a proxy relationship

Start from log⁡(wage)=β0+β1educ+β2exper+β3abil+u. Represent ability using an IQ score:

abil=δ0+δ3IQ+v3.

Substitution gives an intercept β0+β3δ0, an IQ coefficient β3δ3 and composite error u+β3v3. Estimate the equation with education, experience and IQ. This is the plug-in solution. Its success depends on the composite error being uncorrelated with the included regressors.

Check two distinct conditions

First, the proxy must be redundant in the structural wage equation. Once ability is accounted for, IQ has no separate effect on wages, and the original disturbance is uncorrelated with the proxy and the other explanatory variables.

Second, the proxy must capture the ability differences related to education and experience. A sufficient condition is

E(abil∣educ,exper,IQ)=E(abil∣IQ)=δ0+δ3IQ.

This makes the remaining ability component have conditional mean zero. For consistency, zero correlation between that remainder and each included regressor is enough. Merely showing a strong ability–IQ correlation establishes neither the redundancy condition nor the absence of remaining education-related ability.

When the conditions hold, the education and experience slopes are consistent. The IQ coefficient estimates the product β3δ3, not the effect of a one-unit increase in ability. The scale and strength of the proxy relationship enter that coefficient.

Interpret a fitted result

Suppose the education coefficient in a log-wage model with experience and tenure is 0.075. After adding IQ, it falls to 0.061, and IQ has coefficient 0.004. The new education coefficient describes about 6.1% higher wages for another year of schooling at the same IQ and other controls; the exact change is 100(e0.061−1)≈6.3%. A 15-point IQ difference corresponds to a log-wage difference of 15(0.004)=0.06, roughly 6%.

The decline fits the expected direction of positive omitted ability bias. It is not enough by itself to establish that the proxy conditions hold. If ability still depends on education after holding IQ fixed, say abil=δ0+δ1educ+δ3IQ+v3, the education coefficient approaches β1+β3δ1. Remaining bias depends on that residual relationship. An imperfect proxy may reduce it, but improvement is not guaranteed for every proxy.

Choose a measure with the right timing

A past dependent variable can proxy persistent unobserved factors. Past city crime may help control stable differences when comparing current crime and police spending. An earlier student score can play a similar role in a value-added score model.

Timing matters. If schooling itself raises a later IQ score, controlling for that score can remove part of schooling's effect. A proxy also cannot resolve reverse causality such as crime causing more police hiring. Select it using the economic mechanism and how the measure was collected, alongside its statistical relationship with the missing factor.

Key Takeaways

  • A proxy must be related to the omitted factor.
  • Consistency needs structural redundancy and no remaining regressor-related omitted component.
  • The proxy coefficient combines the structural effect with the proxy scale.
  • A coefficient change after adding a proxy is evidence to interpret, not proof of validity.
  • Timing matters when the variable of interest can itself affect the proxy.
  • A lagged outcome can proxy persistent unobserved differences.

5.2 When the outcome is measured with error

Survey outcomes often contain rounding, recall errors or misreporting. Their effect depends on whether that error changes systematically with the explanatory variables. Random noise in the outcome has different consequences from a noisy regressor.

Put the measurement error into the equation

Let the true outcome satisfy y∗=β0+β1x1+⋯+βkxk+u. The recorded outcome is y=y∗+e0. Substitution gives

y=β0+β1x1+⋯+βkxk+(u+e0).

The new disturbance includes measurement error. Ask whether its conditional mean remains zero after any constant shift is absorbed into the intercept.

If E(e0∣x)=c at every regressor value, the slopes remain unbiased and consistent under the original mean assumptions. The intercept shifts by c. Zero-mean random error has c=0; underreporting by the same average amount everywhere has a negative constant. Neither pattern changes the population slopes.

A weaker condition, zero correlation of measurement error with each regressor, supports consistent slopes without necessarily establishing finite-sample unbiasedness. Conditional mean restrictions and correlation restrictions should therefore be distinguished when describing an estimator's properties.

Work out the precision cost

If measurement error is also uncorrelated with the original disturbance,

Var⁡(u+e0)=σu2+σe02.

More unexplained noise makes coefficient estimates less precise. A survey of annual saving illustrates the mechanism: households with the same income, age and size may round or misremember saving in either direction. The fitted income effect stays centered on the true effect when the reporting error has the same conditional mean, but repeated samples give more variable estimates.

This precision claim needs the extra lack of covariance between the two errors. In general the variance of a sum also contains twice their covariance. Error related to the original disturbance can alter that calculation even when it remains uncorrelated with the regressors.

Recognize systematic reporting error

Suppose high-income households underreport saving by more than low-income households. Holding other regressors fixed, the reporting error becomes more negative as income rises. The recorded outcome then increases less with income than true saving does. The estimated income slope is biased downward.

In simple regression, the extra slope contribution is Cov⁡(x,e0)/Var⁡(x). A negative covariance lowers the slope. With controls, reason about the part of income remaining after those controls; the relevant association is the partial relationship, not necessarily the raw income–reporting correlation.

The same issue appears when a grant recipient overstates an improvement that nonrecipients report accurately. Because the reporting error varies with grant status, the estimated grant coefficient combines the true effect and differential reporting.

Read the data collection process

Ask who records the outcome, how it is verified and whether incentives to misreport differ with the regressors. Robust standard errors can address changing variance of the composite error. They cannot remove a systematic reporting component correlated with a regressor.

Key Takeaways

  • Outcome measurement error joins the regression disturbance.
  • A constant conditional mean preserves slopes and shifts only the intercept.
  • Independent outcome noise increases variance and reduces precision.
  • Regressor-related reporting error can bias slopes.

5.3 Why a noisy regressor can shrink a slope

Measurement error in an explanatory variable enters both the observed regressor and the regression disturbance. Under classical measurement error, this creates correlation between them and pulls the slope toward zero.

Rewrite the true equation

Let y=β0+β1x∗+u, but observe x=x∗+e1. Replacing the true regressor yields

y=β0+β1x+(u−β1e1).

Assume the original disturbance is uncorrelated with the true and observed regressor. The new question is whether the observed regressor is correlated with measurement error. If e1 is uncorrelated with observed x, the composite error remains uncorrelated with x and OLS is consistent. This differs from the classical assumption.

Derive classical attenuation

Classical errors-in-variables (CEV) means the zero-mean measurement error is uncorrelated with the true regressor. Since x=x∗+e1,

Cov⁡(x,e1)=Var⁡(e1),Cov⁡(x,u−β1e1)=−β1σe12.

Thus the regressor and composite disturbance are correlated. The probability limit is

plim⁡β^1=β1σx∗2σx∗2+σe12.

The fraction is the reliability ratio. It is between zero and one, so the limit keeps the true slope's sign but has a smaller magnitude. A negative effect becomes less negative, not more negative. This movement toward zero is attenuation bias.

For a true slope of 0.10, true-regressor variance 4 and error variance 1, the ratio is 4/(4+1)=0.8. The estimate approaches 0.08. If measurement error variance rises to 4, the ratio falls to 0.5 and the limit to 0.05. More observations concentrate the estimate around this wrong limit; they do not make it approach 0.10.

Account for other controls

With CEV in one regressor only, and measurement error uncorrelated with the correctly measured controls, replace the total true-regressor variance by the variance of its residual after projection on those controls, σr∗2:

plim⁡β^1=β1σr∗2σr∗2+σe12.

If controls leave variance 1.5 and measurement error variance is still 1, the ratio is 1.5/2.5=0.6, giving a limit of 0.06. Controls remove true signal while leaving the classical noise, so attenuation can worsen. Coefficients on correctly measured controls can also become biased; their directions depend on the correlations.

Diagnose the measurement process

Self-reported schooling and a single year's income used for long-run income are possible noisy regressors. CEV is a substantive assumption: error correlated with the true value, or misclassification of a binary variable, can produce other bias patterns.

A known reliability ratio or an independent second measurement supplies information beyond the single noisy measure. In simple CEV regression, dividing a limiting slope of 0.08 by reliability 0.8 recovers 0.10. Robust standard errors cannot make this correction because they leave the slope estimate unchanged. A small, precisely estimated coefficient can still be strongly attenuated.

Key Takeaways

  • Classical measurement error is uncorrelated with the true value, not the recorded value.
  • The resulting composite disturbance is correlated with the observed regressor.
  • The reliability ratio gives the fraction of a simple-regression slope retained.
  • Attenuation shrinks magnitude toward zero for either sign.
  • Controls can worsen attenuation by removing remaining true signal.
  • A larger sample and robust SEs do not remove inconsistency.
6

Review the data and the study

The sample and its unusual observations can shape a regression as strongly as the equation itself. Trace why values are missing, determine who enters the sample, and examine cases that move the estimates. Then connect those data checks to functional form and variance diagnostics. Reviewing the study as a whole makes it possible to distinguish a more precise estimate from a more credible causal conclusion.

6.1 Missing values and selected samples

A regression uses the observations available for all its variables. Whether missing observations cause bias depends chiefly on why they are missing. Counting the losses is a starting point; tracing the selection rule explains the risk.

Identify the regression sample

Complete-case deletion, also called listwise deletion, removes any observation missing a variable in the equation. If 120 of 1,000 survey respondents omit income, a regression requiring income uses at most 880 respondents. Adding a control can therefore change both the equation and the sample.

Before comparing coefficients across models, check observation counts and identify the common sample. A changed education slope after adding income could partly reflect the people removed. Report the missingness rules as well as the final sample size.

Decide whether selection preserves zero conditional mean

If values are missing completely at random, missingness is unrelated to all model variables and the disturbance. Dropping incomplete observations then leaves OLS unbiased and consistent, at the cost of fewer observations and reduced precision.

Selection based on explanatory variables is exogenous selection when the same conditional mean model holds in the selected population. Restricting ages to 35–54 leaves the error centered at zero within each included regressor group. It can narrow the range of the data and limit where results apply, but it need not bias the conditional slopes.

Endogenous selection depends on the outcome or disturbance. Consider an earnings sample restricted to people earning less than 50 thousand dollars per year. Highly educated people with unusually high earnings are removed. The highly educated people who remain have unusually low errors, producing a downward education-slope bias. Wage observations only for workers can create a related selection problem if employment depends on unobserved determinants of wages.

Missingness or selectionMain implication
Completely at randomLess information, without selection bias
Based on regressors, same mean modelConditional slopes can remain unbiased
Related to the outcome or disturbanceZero conditional mean can fail
Evaluate quick filling methods

The missing-indicator method replaces a missing regressor with zero and adds a dummy marking that replacement. It keeps observations, but the missing group lacks the original control information. When that regressor is related to other regressors, their coefficients can be biased even under completely random missingness.

Replacing missing values by one guessed number, such as the sample mean, and treating it as observed ignores the uncertainty about those values. Standard errors can then be understated. Multiple imputation and explicit selection methods use additional assumptions about missingness; preserving the row count alone says nothing about validity.

Investigate the reason for loss

Compare observed characteristics of complete and incomplete cases. Check whether nonresponse follows a sensitive outcome such as high earnings. Assess reasonable alternatives for handling the missing data and show how the main estimates change.

A 30% random loss can cost precision without bias, while a 5% loss concentrated among the highest earners can distort the relationship. Robust SEs estimate uncertainty around the available-sample regression; they cannot restore a population relationship lost through outcome-based selection.

Key Takeaways

  • Report which observations each regression uses.
  • Completely random missingness costs precision without selection bias.
  • Selection on regressors can preserve slopes when the mean model holds.
  • Outcome-related selection can break zero conditional mean.
  • Missing indicators and single-value filling are not general bias corrections.

6.2 Find observations that drive the regression

OLS gives large residuals disproportionate influence because it squares them. An unusual observation can reveal a data error, a missing part of the model or a genuine part of the population. Each possibility calls for investigation.

Distinguish three features

An outlier departs from the main outcome pattern, often through a large residual. High leverage means unusual regressor values. Influence means that removing an observation changes coefficient estimates substantially. An observation can have leverage without a large residual, or a large residual without much leverage.

Squaring a residual twice as large produces four times the loss. A point far out in the regressor space can also change the line's slope with a small movement in the fitted equation. The combination of leverage and outcome deviation therefore deserves special attention.

Check a concrete change in slope

Eight firms have sales, in billions of dollars, of 1,2,3,4,5,6,8,40. Their R&D shares of sales, in percent, are 3.0,2.6,3.4,2.8,3.2,3.0,2.9,9.0. The regression using all firms has slope about 0.163 percentage points per additional billion in sales. Excluding the largest firm gives about 0.006, near zero.

That firm has both unusual sales and an unusual R&D share. The apparent positive relationship depends heavily on it. The sensitivity calculation describes the evidence; it does not decide whether the firm should be removed.

Verify records before altering the sample

Check units, decimal places, extra zeros and missing-value codes. A value of 999 used as a missing code can look like an extreme observation if read as data. Correct documented recording errors. For genuine cases, examine the economic explanation and report sensitivity openly.

Plot outcomes and regressors, then inspect residuals and influence diagnostics. An externally studentized residual scales a residual using a variance estimate from a fit leaving that observation out. Absolute values above about 2 invite inspection, especially alongside leverage; the threshold is a screening guide.

  • Stata after regress: predict r, rstudent and dfbeta.
  • R: rstudent(m) and cooks.distance(m).
  • Python: res.get_influence().summary_frame().

These tools flag cases for review. A large diagnostic alone is not a deletion rule.

Choose a response that matches the question

Report fits with and without influential cases and explain why they differ. A log transformation can compress large values, but also changes the functional form and interpretation. Heavy-tailed firm sizes, incomes and wealth make these checks especially useful. A large sample can still be dominated by a group of extreme cases.

Least absolute deviations (LAD) minimizes ∑i∣yi−b0−∑jbjxij∣ and models the conditional median. It is less sensitive to extreme outcomes than OLS, but can still be sensitive to extreme regressor values. With errors symmetric around zero, mean and median slopes agree; otherwise they can describe different relationships.

Fit median regression with Stata qreg y x1 x2, R quantreg::rq(y ~ x1 + x2, tau = 0.5), or Python smf.quantreg("y ~ x1 + x2", data=df).fit(q=0.5). Heteroskedasticity-robust SEs do not reduce a point's influence on OLS coefficients. Removing cases solely to raise R-squared hides sensitivity and undermines the reported inference.

Key Takeaways

  • Outliers, leverage and influence describe different features.
  • Check records and units before changing data.
  • Report sensitivity to genuine influential observations.
  • LAD models the conditional median and remains sensitive to extreme regressors.
  • Robust SEs leave OLS outlier influence unchanged.
  • A group of extreme observations can matter even in a large sample.

6.3 Judge what a regression study supports

A useful regression review connects the economic question, the data collection process, the mean equation and the uncertainty estimates. Each check asks a different question. A significant slope or high R-squared alone cannot establish a causal effect.

Distinguish validity and precision

Internal validity means the causal estimates and standard errors are valid for the studied population. External validity concerns applying the conclusions to other populations or settings. Selection may threaten the first, limit the second, or do both, depending on how it occurs.

Omitted factors, wrong functional form, regressor measurement error and outcome-related selection can make OLS biased and inconsistent. Simultaneous causality does the same when the outcome also helps determine a regressor. Heteroskedasticity can leave the conditional mean valid while invalidating usual SEs. Correlated errors across schools, firms or regions require inference designed for that dependence, such as clustered standard errors.

Match a symptom to a response
Evidence or mechanismUseful response
Residual fan or variance-test rejectionRobust inference; consider credible WLS weights
Missing curvature or interactionAdded-term test or RESET; revise the mean equation
Relevant unobserved factorSeek an appropriate proxy and examine its conditions
Noisy regressorInvestigate how it was measured and assess the error model
Outcome-based nonresponseReview selection and its effect on the error mean
Estimate driven by extreme casesVerify records and report sensitivity

No standard-error correction removes coefficient bias. A proxy cannot by itself remove reverse causality. Problems without adequate observed controls or a suitable proxy can require a different research design and estimators such as instrumental variables or panel methods.

Review a city-crime regression

Suppose a study regresses crimes per 1,000 residents on police officers per 1,000 residents for 300 cities. It reports usual SEs and a positive police coefficient. Several mechanisms could affect that result.

First, cities with more crime may hire more police. This pushes the coefficient upward, so a crime-reducing police effect can appear weak or positive. Second, if more police cause more crimes to be recorded, the outcome's recording error is related to the police regressor. Random-outcome-noise reasoning then fails.

Third, crime rates in small cities can vary more because they average over fewer residents. Use robust inference. Population weights are justified only if error variance is roughly inverse to population; shared city-level shocks create variance that does not disappear as population grows. Finally, unemployment and age composition may affect both police levels and crime. Controls or a defensible proxy such as past crime can help address those omitted differences without resolving every other threat.

Put the checks in a useful order

Begin with the economic mechanism and the population of interest. Inspect plots and records, missingness and selection, then influential cases. Check functional form before interpreting variance tests. Report the covariance estimator and any weighting assumptions, alongside meaningful sensitivity results.

A non-rejection means that a test did not find the pattern it searches for. Other threats can remain, including ones the diagnostic has little power to detect. The study's causal interpretation rests on the design and assumptions as well as the diagnostics.

Key Takeaways

  • Internal validity concerns the studied population; external validity concerns transfer.
  • Separate threats to coefficient consistency from threats to standard errors.
  • Match each diagnostic to a response that addresses its mechanism.
  • Selection, measurement and simultaneity need reasoning about data generation.
  • Report assumptions and sensitivity along with significance.

Heteroskedasticity examples

6 Walkthroughs

1

Keep the line and repair its inference

11 steps
Separate changing variance from biased slopes, then construct and apply robust uncertainty estimates.
  1. 1
    IntroductionOne line, different uncertainty

    Two households with the same income can save different amounts. At high incomes, those differences can be much larger. A saving regression can still describe average saving correctly while its prediction errors have changing spread, known as heteroskedasticity.

    Follow that distinction through the OLS properties, the robust variance calculation and a hypothesis test. The point estimate and its estimated uncertainty perform different jobs, and changing spread undermines the ordinary standard errors.

  2. 2
    ExplanationLet spread change while the center stays fixed

    Zero conditional mean says E(u∣x)=0. Homoskedasticity adds Var⁡(u∣x)=σ2. Heteroskedasticity drops that second restriction, allowing σ2h(x).

    Imagine residuals centered at zero in every income group, but with a widening fan. The mean condition can hold even though no single variance describes every group. Normality is a separate question about the shape of each error distribution.

  3. 3
    Key InsightDecide what survives

    OLS unbiasedness and consistency use the mean assumptions, random sampling and the absence of perfect collinearity. Constant error variance is not needed for them.

    The ordinary standard-error formula does need constant variance, and the BLUE guarantee does too. A large sample makes a consistent coefficient more dependable; it does not repair a covariance formula built on the wrong variance restriction.

  4. 4
    ChallengeRead a new residual pattern

    A spending regression has residuals averaging zero at every income. Their spread doubles between low and high incomes. The mean specification and other OLS assumptions hold. What happens to slope consistency and usual inference as the sample grows?

    ---reveal---

    The slope remains consistent, but usual inference is generally invalid. The changing spread is heteroskedasticity. Use a robust covariance estimate in a large independent sample; more observations alone do not repair the usual formula.

  5. 5
    ExampleStart the robust arithmetic

    For six observations, use x=(1,2,3,4,5,6) and y=(2.0,3.2,3.6,4.0,4.0,9.0). OLS gives y^=0.52+1.08x, with xˉ=3.5 and SST⁡x=17.5.

    The residuals are 0.40,0.52,−0.16,−0.84,−1.92,2.00. Their squared sum is 8.848. The usual variance estimate is 8.848/4=2.212, giving usual slope SE 2.212/17.5≈0.356.

  6. 6
    ExampleGive each observation its own contribution

    For HC0, multiply each squared residual by its squared distance from the regressor mean. Those contributions are 1,0.6084,0.0064,0.1764,8.2944,25.

    Their sum is 35.0856, so the robust SE is

    35.085617.5≈0.338.

    The large contributions combine unusual regressor values with large residuals. This HC0 SE is smaller than the usual 0.356; robust does not mean larger.

  7. 7
    ExampleApply the HC1 correction

    HC1 multiplies HC0 variance by n/(n−k−1). With six observations, one slope and an intercept, that factor is 6/4=1.5.

    The SE therefore becomes

    0.3381.5≈0.415.

    The square root matters: multiplying the SE itself by 1.5 overcorrects it. HC2 and HC3 instead include leverage adjustments. Six observations are enough to show the arithmetic, but not to rely on large-sample robust inference.

  8. 8
    ChallengeTest a nonzero null

    A large independent sample gives a slope of 0.52 and HC1 SE of 0.08. Test a null slope of 0.36 at a two-sided 5% level using 1.96. What is the statistic and decision?

    ---reveal---

    Compute (0.52−0.36)/0.08=2. Reject at this cutoff because 2 exceeds 1.96. Dividing 0.52 by 0.08 would instead test a zero slope. The robust SE changes how the distance from the chosen null is standardized.

  9. 9
    ConnectionKeep the covariance choice through a joint test

    Testing that two slopes are zero needs their covariance as well as their individual variances. Use a robust Wald test after a robust fit.

    Stata's test x2 x3 after regress ..., vce(robust) uses that fitted covariance choice. Python's res.f_test("x2 = 0, x3 = 0") does the same on an HC1 result. The usual restricted-versus-unrestricted SSR formula does not incorporate the heterogeneous error contributions.

  10. 10
    ChallengeRepair only the problem the correction addresses

    A large independent firm sample has a correct exogenous mean model, a residual fan and HC1 SEs. One extreme firm also shifts the slope greatly when removed. Which issue does HC1 address, and what remains to investigate?

    ---reveal---

    HC1 addresses inference under the changing variance. It does not reduce the extreme firm's influence on the OLS slope. Check its record and report coefficient sensitivity to its inclusion. Robust covariance leaves the fitted coefficients unchanged.

  11. 11
    RecapRead the point and the uncertainty separately

    First ask whether the mean assumptions support the coefficient. Then ask whether the covariance estimate supports its tests and intervals.

    Heteroskedasticity can leave OLS unbiased and consistent while invalidating ordinary inference. HC versions provide different robust adjustments; name the version and use its covariance in joint tests. Independence and adequate sample size still matter, and robust SEs leave coefficient bias and outlier influence unresolved.

2

Build variance tests from squared residuals

11 steps
Construct BP and White auxiliary regressions and interpret what their rejections do and do not establish.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionTurn a spread pattern into a test
  2. 2
    ExplanationChoose the auxiliary predictors
  3. 3
    ExampleCalculate the BP LM statistic
  4. 4
    ExampleCalculate the F version
  5. 5
    ChallengeFind a hand-coded test error
  6. 6
    ExplanationExpand the search with White terms
  7. 7
    ExampleConserve restrictions with fitted values
  8. 8
    ChallengeHandle a binary regressor
  9. 9
    TipCheck the default before comparing results
  10. 10
    ChallengeCombine the diagnostics with model reasoning
  11. 11
    RecapUse the auxiliary fit for its own question
3

Transform, estimate and check weights

15 steps
Work through known weights, feasible GLS and linear-probability weights while keeping the original coefficient meaning.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionUse precision to choose contributions
  2. 2
    ExplanationTransform every equation term
  3. 3
    ExampleTransform the first household
  4. 4
    ExampleCompare the second household
  5. 5
    ChallengeApply a fresh variance pattern
  6. 6
    ConnectionCheck what averaging really buys
  7. 7
    ExplanationEstimate an unknown pattern
  8. 8
    ExampleTurn log predictions into weights
  9. 9
    ChallengePreserve inference with imperfect weights
  10. 10
    TipCompare coefficients as well as precision
  11. 11
    ExplanationDerive the binary variance
  12. 12
    ExampleCalculate usable LPM weights
  13. 13
    ChallengeDecide whether weights are usable
  14. 14
    ChallengeCombine weighting with the mean-model check
  15. 15
    RecapKeep the variance model visible
4

Test curvature and compare competing forms

11 steps
Move from specific nonlinear alternatives to RESET and two-direction nonnested comparisons.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionAsk whether the mean has the right shape
  2. 2
    ExplanationTest a meaningful alternative first
  3. 3
    ExplanationConstruct RESET powers
  4. 4
    ExampleWork through the expanded fit
  5. 5
    ChallengeRespond to a significant nonlinear check
  6. 6
    ExplanationCreate a comprehensive comparison
  7. 7
    ExampleUse the competitor’s prediction
  8. 8
    ChallengeInterpret an inconclusive comparison
  9. 9
    TipKeep outcome scales separate
  10. 10
    ChallengeCombine diagnostic results without overclaiming
  11. 11
    RecapMatch the test to the comparison
5

Follow missing information into the error

13 steps
Substitute proxies and noisy measures into regression equations to identify the conditions for consistency and attenuation.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionLocate the missing information
  2. 2
    ExplanationSubstitute an ability proxy
  3. 3
    ExampleRead what the proxy coefficient means
  4. 4
    ChallengeCheck the residual relationship
  5. 5
    ExplanationPut recorded outcomes into the equation
  6. 6
    ChallengeDistinguish noise from systematic reporting
  7. 7
    ExplanationMove a noisy regressor to the error
  8. 8
    ExampleCalculate the retained signal
  9. 9
    ExampleLet controls remove some signal
  10. 10
    ChallengeInfer a negative structural effect
  11. 11
    TipCheck when the proxy was measured
  12. 12
    ChallengeCompare the remedies across two errors
  13. 13
    RecapUse the composite error as the guide
6

Audit the sample and the conclusion

13 steps
Trace sample selection, investigate influential cases and combine the checks in a regression-study review.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionLook beyond the coefficient table
  2. 2
    ExplanationTrack the estimation sample
  3. 3
    ExampleCondition on the selection rule
  4. 4
    ChallengeEvaluate a quick missing-data fix
  5. 5
    ExplanationSeparate unusual x from unusual y
  6. 6
    ExampleSee a relationship depend on one firm
  7. 7
    ChallengeChoose a defensible response
  8. 8
    ConnectionUnderstand what LAD changes
  9. 9
    ExplanationClassify the threat before choosing a fix
  10. 10
    ExampleReview a city-crime mechanism
  11. 11
    ChallengeSeparate inference and causal threats
  12. 12
    ChallengePlan an integrated review
  13. 13
    RecapState what supports the conclusion

Heteroskedasticity practice questions

50 Practice Questions in 5 sets

Set 1: Build and assess weighted regressions10 Practice Questions

Question 1 of 10

A model has positive variance factor h. What weights should a WLS program receive?
  1. Weights proportional to h.
  2. Weights proportional to h.
  3. Weights proportional to 1/h.
  4. Weights proportional to 1/h.
Show answerHide answer
Answer: D
WLS minimizes squared residuals divided by the variance factor, so the program takes inverse-variance weights. Dividing variables by the square root of that factor is the equivalent manual transformation. Supplying inverse standard deviations as weights confuses these two operations.

Question 2 of 10

An observation has outcome 18, regressor 12 and variance factor 9. What are its transformed outcome, regressor and constant for a manual WLS fit?
  1. 6, 4 and 1/3.
  2. 2, 4/3 and 1/9.
  3. 6, 4 and 1.
  4. 54, 36 and 3.
Show answerHide answer
Answer: A
Divide every equation term by 9=3, giving outcome 6, regressor 4 and constant one third. Leaving the constant as one changes the transformed mean equation. Dividing by 9 would apply the squared-residual weight directly to the variables instead.

Question 3 of 10

Group means are based on 80 and 320 independent individuals with equal individual error variances. What is the larger group’s WLS weight relative to the smaller group’s?
  1. One quarter as large.
  2. Four times as large.
  3. Twice as large.
  4. Sixteen times as large.
Show answerHide answer
Answer: B
The variance of a group mean is proportional to the inverse of its group size, so the WLS weight is proportional to size. The ratio is 320/80=4. A factor of two is the ratio of square-root transformation multipliers, not the squared-residual weights.

Question 4 of 10

A fitted log-squared-residual equation gives g = log(4) for one observation and g = log(2) for another. What is the first observation’s WLS weight relative to the second?
  1. Twice as large.
  2. Four times as large.
  3. One half as large.
  4. The same size.
Show answerHide answer
Answer: C
Exponentiation gives variance factors 4 and 2, whose inverse weights are one quarter and one half. Their ratio is one half. Using the factor ratio of two directly would give more weight to the observation with more estimated error variance.

Question 5 of 10

A large independent sample satisfies the linear zero-conditional-mean model. An analyst uses bounded positive weights based only on regressors, but the variance model is wrong. What conclusion follows under standard regularity conditions?
  1. WLS becomes inconsistent; HC1 restores its coefficient consistency.
  2. WLS stays BLUE; usual WLS inference remains valid without further checks.
  3. WLS can remain consistent; use robust inference and reassess efficiency.
  4. WLS becomes inconsistent; increasing the sample removes the weighting bias.
Show answerHide answer
Answer: C
Regressor-based weighting preserves zero conditional mean, supporting consistency under the stated conditions. A wrong variance model need not produce constant transformed variance or improve efficiency, so robust WLS covariance is needed. Robust SEs would not correct an inconsistent coefficient estimator.

Question 6 of 10

An LPM slope for household size is −0.035. What is the change in predicted probability for one additional person, holding controls fixed?
  1. A decrease of 35 percentage points.
  2. A decrease of 3.5 percentage points.
  3. A decrease of 0.035 percentage points.
  4. A decrease of 3.5% of the starting probability.
Show answerHide answer
Answer: B
An LPM coefficient is a probability-unit change. Multiplying minus 0.035 by 100 expresses a decrease of 3.5 percentage points. A 3.5% proportional decrease instead depends on the starting probability and is not what a constant LPM slope measures.

Question 7 of 10

Two LPM observations have fitted probabilities 0.25 and 0.50. Which gets more inverse-variance weight, and by what ratio?
  1. The 0.25 observation, by a ratio of 4/3.
  2. The 0.50 observation, by a ratio of 4/3.
  3. The 0.25 observation, by a ratio of 2.
  4. The 0.50 observation, by a ratio of 2.
Show answerHide answer
Answer: A
The variances are 0.25(0.75)=0.1875 and 0.5(0.5)=0.25. Inverting gives weight ratio 0.25/0.1875=4/3 in favor of the first. The ratio of probabilities alone is irrelevant because binary variance depends on both the event and nonevent probabilities.

Question 8 of 10

An LPM uses a single binary regressor. Its two fitted probabilities are 0.15 and 0.85, and these equal the true probabilities. What do their variance pattern and inverse-variance weighting imply?
  1. Unequal probabilities give unequal weights, so WLS changes the slope.
  2. The higher probability gets more weight, so WLS raises the slope.
  3. The lower probability gets more weight, so WLS lowers the slope.
  4. Equal variances give equal weights, so WLS reproduces OLS.
Show answerHide answer
Answer: D
Both probabilities give variance 0.15(0.85)=0.1275, so inverse-variance weights are constant. Constant weights leave OLS coefficients unchanged. Different probabilities do not necessarily mean different binary variances because complementary probabilities have the same product.

Question 9 of 10

A full White test uses one continuous regressor x and one binary regressor d, with all remaining terms independent. How many nonconstant auxiliary terms are needed?
  1. Four: x, d, x² and xd.
  2. Five: x, d, x², d² and xd.
  3. Three: x², d² and xd.
  4. Two: x and d only.
Show answerHide answer
Answer: A
The dummy square duplicates its level because d2=d. Keep x, d, the continuous square and the cross product, giving four independent nonconstant terms. Counting the duplicate square would assign a restriction to a column that adds no information.

Question 10 of 10

OLS and FGLS give slopes 0.44 and 0.09 on the same sample, with small reported SEs. What is the most useful next step?
  1. Choose FGLS solely because its reported SE is smaller.
  2. Choose OLS solely because its unweighted R-squared is higher.
  3. Investigate mean specification and influential observations.
  4. Average the two slopes and treat the result as unbiased.
Show answerHide answer
Answer: C
A large coefficient gap can signal a misspecified conditional mean or influential observations, so examine those mechanisms. A smaller reported FGLS SE cannot establish that its mean equation is correct. Weighted and unweighted R-squared also do not provide a valid estimator ranking.
Set 2: Read variance patterns and use robust inference10 Practice Questions

Save this lesson to see every answer and practice every set.

Question 1 of 10

A large independent sample gives a slope of −0.30 with robust SE 0.10. What is the approximate 95% confidence interval using 1.96?
  1. [−0.400, −0.200]
  2. [−0.104, 0.104]
  3. [−0.600, 0.000]
  4. [−0.496, −0.104]
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

A residual plot is centered near zero at every fitted value, but spreads out as fitted values increase. What feature does this suggest?
  1. Changing conditional error mean.
  2. Perfect correlation among regressors.
  3. Changing conditional error variance.
  4. A constant conditional error variance.
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

An exogenous cross-sectional model has heteroskedastic errors. Its sample grows from 800 to 8,000 independent observations, while the analyst keeps usual SEs. What is the best assessment?
  1. The slopes become inconsistent, but usual inference becomes valid.
  2. The slopes remain consistent, but usual inference is still unreliable.
  3. The slopes remain consistent, and usual inference becomes valid.
  4. The slopes become inconsistent, and robust inference would fix them.
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

A cost slope is 0.28, its HC1 SE is 0.07, and the null slope is 0.14. What is the robust t statistic?
  1. 2.00
  2. 4.00
  3. 0.50
  4. 6.00
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

An analyst refits the same OLS formula on the same sample, replacing usual covariance with HC1. What happens to the fitted slope?
  1. It shifts toward zero.
  2. It stays exactly the same.
  3. It receives smaller weights.
  4. It becomes the median slope.
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

A squared-residual auxiliary regression on four predictors and an intercept has 300 observations and R-squared 0.04. What are the studentized BP LM statistic and chi-square degrees of freedom?
  1. LM = 12, df = 5.
  2. LM = 75, df = 4.
  3. LM = 12, df = 4.
  4. LM = 0.12, df = 295.
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

A BP test reports p = 0.032. What decision follows at the 5% level?
  1. Reject the constant-variance null.
  2. Retain the constant-variance null.
  3. Reject the zero-conditional-mean null.
  4. Retain all original OLS assumptions.
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

A researcher squares residuals from a model omitting a plausible experience quadratic and obtains a small BP p-value. A colleague proposes WLS using income weights. What should be investigated first?
  1. The income weights, because BP identifies income as the true variance function.
  2. The outcome scale, because every BP rejection requires a log transformation.
  3. The ordinary SEs, because a larger sample makes the omitted quadratic harmless.
  4. The omitted curvature, before interpreting the variance test or choosing weights.
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

Two slopes must be tested jointly in a heteroskedastic model fitted with HC1. What test is appropriate?
  1. An SSR-based F test using the two original fits.
  2. A joint Wald test using the HC1 covariance matrix.
  3. Two individual HC1 t tests with separate decisions.
  4. A BP test using the two slopes as variance predictors.
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

A regression has R-squared 0.91 and a strong residual fan. What can be concluded about its fit and variance?
  1. It explains much sample variation but can still have unequal error variance.
  2. Its high explained share rules out unequal conditional error variance.
  3. Its fan makes the reported sample R-squared formula meaningless.
  4. Its high explained share guarantees exact normal-theory inference.
Show answerHide answer

Save this lesson to see this answer.

Set 3: Check functional form and proxy assumptions10 Practice Questions

Save this lesson to see every answer and practice every set.

Question 1 of 10

A wage model omits a relevant experience square. What kind of problem does this create?
  1. Heteroskedasticity in the covariance estimate alone.
  2. Functional form misspecification in the conditional mean.
  3. Classical measurement error in the recorded wage.
  4. Perfect collinearity in every possible expanded model.
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

A RESET expansion adds fitted-value powers two and three to a base model with three slopes using 120 observations. What numerator and denominator degrees of freedom apply to its conventional F test?
  1. 2 and 114.
  2. 2 and 116.
  3. 3 and 114.
  4. 3 and 116.
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

On one common sample of 180 observations, a base model with two slopes has R-squared 0.40. Adding fitted-value powers two and three raises it to 0.44. Errors are homoskedastic. What is the conventional RESET F statistic?
  1. 12.50
  2. 6.32
  3. 6.25
  4. 5.63
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

RESET does not reject, but an economically important omitted factor has a conditional expectation linear in included regressors. What follows?
  1. Its omission must be harmless because RESET retained the model.
  2. Its omission affects standard errors but cannot change any slope.
  3. Its omission is corrected by keeping the fitted-value powers.
  4. Its omission can still bias slopes without triggering RESET.
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

For the same outcome, B predictions added to A have p = 0.01. A predictions added to B have p = 0.22. How do the two 5% tests compare?
  1. Reject A and do not reject B.
  2. Reject B and do not reject A.
  3. Reject both A and B.
  4. Do not reject either model.
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

Two same-outcome models use positive regressor levels and logs respectively. Both reject when each receives the other’s fitted predictions. What is the most justified response?
  1. Choose the model with the larger individual rejection p-value.
  2. Seek a better mean specification beyond the two candidates.
  3. Retain both as adequate because neither is a restriction of the other.
  4. Use the fitted predictions as instruments to establish causality.
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

An observed preparation score stands in for unobserved prior learning in an achievement model. What role does the score play?
  1. An inverse-variance weight for the outcome.
  2. A robust covariance correction for the slopes.
  3. A fitted outcome from the same achievement equation.
  4. A proxy for the unobserved explanatory factor.
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

Suppose ability = 0.4 education + 0.2 score + v, and log wages = 0.05 education + 0.3 ability + u. Both errors are uncorrelated with education and score. What education coefficient does the plug-in regression approach?
  1. 0.05
  2. 0.11
  3. 0.17
  4. 0.06
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

A training program increases a motivation score measured after training. An analyst controls for this score as a proxy for prior motivation. What problem can arise?
  1. The control can remove part of the training effect.
  2. The control must eliminate every source of selection bias.
  3. The control can only change SEs, leaving the slope fixed.
  4. The control guarantees classical attenuation in training status.
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

A levels-outcome model has R-squared 0.42 and a log-outcome model has 0.50 on the same people. What can be inferred from these two numbers alone?
  1. The log-outcome model has the better causal specification.
  2. The log-outcome model wins a nested F test by 0.08.
  3. They describe explained shares on different outcome scales.
  4. The levels-outcome model has greater unexplained variation in log units.
Show answerHide answer

Save this lesson to see this answer.

Set 4: Trace measurement, selection and influence10 Practice Questions

Save this lesson to see every answer and practice every set.

Question 1 of 10

A simple regression has true slope −0.40, true-regressor variance 12 and classical error variance 4. What is the observed-regressor slope’s probability limit?
  1. −0.10
  2. −0.40
  3. −0.533
  4. −0.30
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

Recorded output equals true output plus reporting error. Where does that error enter the regression using recorded output?
  1. It joins the regression disturbance.
  2. It becomes an inverse-variance weight.
  3. It replaces the coefficient on output.
  4. It becomes a second dependent variable.
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

Every firm underreports output by an average of 2 units, regardless of its regressors. The original mean model is valid. How are the population intercept and slopes affected?
  1. The intercept is preserved; each slope falls by 2.
  2. The intercept and every slope both fall by 2.
  3. The intercept falls by 2; slopes are preserved.
  4. The intercept rises by 2; slopes are preserved.
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

With classical noise in one regressor only, the true slope is 0.60 and noise variance is 2. Controls reduce residual true-regressor variance from 8 to 3 without changing the structural slope. What happens to the slope limit?
  1. It rises from 0.36 to 0.48.
  2. It falls from 0.48 to 0.36.
  3. It falls from 0.60 to 0.48.
  4. It stays at 0.48 after controls.
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

An age–earnings model is correctly linear throughout the population and has zero conditional mean. Sampling includes only ages 40–50, with inclusion otherwise unrelated to the error. What is the main validity assessment?
  1. The slope can stay unbiased, with a narrower population range observed.
  2. The slope must be downward biased because observations were excluded.
  3. The slope must be upward biased because age is an outcome determinant.
  4. The slope is inconsistent until robust SEs correct the selected coefficients.
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

An education–earnings model has a positive education effect. A survey keeps only earnings below a ceiling. Compared with the full population at high education, who tends to remain, and what bias does this induce?
  1. People with unusually high earnings errors remain, steepening the education slope.
  2. A random mix of errors remains, preserving the education slope.
  3. Low errors remain only at low education, steepening the education slope.
  4. People with unusually low earnings errors remain, flattening the education slope.
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

A firm’s regressor values are far from the rest, but it lies close to the fitted line. What feature is directly established?
  1. A large residual.
  2. A recording error.
  3. High leverage.
  4. A large deletion effect.
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

A median regression and OLS use the same correct records and controls. Errors are asymmetric, and their slopes differ. What interpretation is justified?
  1. Their difference establishes that OLS records contain coding errors.
  2. They can describe different conditional median and mean relationships.
  3. Their difference establishes that LAD is a biased estimate of the mean slope.
  4. They must converge to the same slopes because both use every observation.
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

A model loses 7% of observations because high earners refuse the outcome question. Another loses 25% through random file loss. What matters most for coefficient bias?
  1. The larger percentage of missing observations in the second model.
  2. The equal use of complete-case deletion in both models.
  3. The choice of HC1 instead of HC3 for the two models.
  4. The outcome-related refusal mechanism in the first model.
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

In a simple regression, true output has slope 0.50 on firm size. Reporting error has a linear projection slope −0.08 on size and is otherwise uncorrelated with it; the original disturbance is exogenous. What happens to the recorded-output slope as the sample grows?
  1. It approaches 0.42, and robust SEs do not remove the difference.
  2. It approaches 0.50, and robust SEs absorb the reporting error.
  3. It approaches 0.58, because underreporting raises the size slope.
  4. It approaches 0.42, but a larger sample restores the true slope.
Show answerHide answer

Save this lesson to see this answer.

Set 5: Combine diagnostics in unfamiliar studies10 Practice Questions

Save this lesson to see every answer and practice every set.

Question 1 of 10

A study’s estimates are valid for the population sampled, but its conclusions may not transfer to other settings. What is the transfer question called?
  1. Internal validity.
  2. External validity.
  3. Estimator efficiency.
  4. Variance homogeneity.
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

A large independent sample gives an OLS slope of 0.18. Its usual SE is 0.06 and HC1 SE is 0.11. What are the approximate two-sided 5% decisions for a zero null using 1.96?
  1. Both approaches reject the zero null.
  2. Neither approach rejects the zero null.
  3. Robust inference rejects; usual inference does not.
  4. Usual inference rejects; robust inference does not.
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

A special White test has 160 observations and auxiliary R-squared 0.05, with two independent predictors. Using the 5% chi-square cutoff 5.99, what decision follows?
  1. LM is 8; reject homoskedasticity.
  2. LM is 0.08; retain homoskedasticity.
  3. LM is 4; retain homoskedasticity.
  4. LM is 8; reject zero conditional mean.
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

Each village observation averages its residents’ outcomes. Individual errors are independent with variance 16, and every resident also shares a village shock with variance 1, independent of those errors. What WLS weight should a village of 16 receive relative to a village of 4?
  1. Four times as large.
  2. Twice as large.
  3. Two and a half times as large.
  4. Two fifths as large.
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

A researcher specifies an exponential variance function and assumes E(v|x) = 1 for its positive multiplicative disturbance. They claim this alone justifies a linear regression of log squared errors on x. What assumption is missing from that argument?
  1. A zero coefficient on every x in the conditional variance function.
  2. Normality of x and a probability exactly one half for every outcome.
  3. A suitable restriction on log v, such as independence of v and x with finite log mean.
  4. An assumption that the original error is uncorrelated with its own square.
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

A simple-regression slope tends to −0.24. An independent validation study establishes classical regressor error and a reliability ratio of 0.60. What structural slope is implied, and would HC3 alone recover it?
  1. −0.144; HC3 alone leaves the attenuated coefficient unchanged.
  2. −0.40; HC3 alone automatically rescales the coefficient to that value.
  3. −0.24; a reliability ratio below one changes only coefficient precision.
  4. −0.40; HC3 alone leaves the attenuated coefficient unchanged.
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

A city study finds more police associated with more recorded crime. High-crime cities hire police, and extra police increase crime recording. The analyst reports HC1 and claims both problems are fixed. What is wrong with that claim?
  1. Both mechanisms can bias the slope; HC1 changes only its estimated uncertainty.
  2. Only the hiring response can bias the slope; all outcome recording errors are harmless.
  3. Only recording can bias the slope; reverse causality changes only the residual variance.
  4. Neither mechanism can bias the slope once heteroskedasticity is allowed in inference.
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

A heteroskedastic model may need a squared regressor and an interaction. How should their joint relevance be tested?
  1. Fit both terms and use the ordinary SSR-based F formula without correction.
  2. Fit both terms and test them jointly using a robust covariance matrix.
  3. Keep the original equation and compare its usual and robust t statistics.
  4. Test squared residuals on original terms and read rejection as mean relevance.
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

One genuine large exporter changes a fitted productivity slope sharply when excluded. What is a defensible reporting response?
  1. Delete it because a large deletion effect establishes a recording error.
  2. Keep only the exclusion result because the remaining sample is more uniform.
  3. Explain its role and report the sensitivity of estimates to its inclusion.
  4. Keep it and use HC1 as evidence that its coefficient influence has disappeared.
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

An early preparation score is redundant once true preparation is controlled. After holding the score fixed, true preparation still predicts both schooling and wages. Why can adding the score fail to identify the schooling effect?
  1. Residual preparation remains related to schooling and enters the composite error.
  2. Redundancy means the score has no correlation with preparation and must be dropped.
  3. The remaining preparation can affect only the intercept, since the score is observed.
  4. The score must be measured with classical error, which guarantees unbiased schooling slopes.
Show answerHide answer

Save this lesson to see this answer.

Stuck on your own question? Homework Help

Key Terms

69 Key Terms, each with its definition

A

Added-term test
An added-term test evaluates whether extra regressors improve a mean specification by testing their coefficients jointly against zero.
A wage model can test an experience square and an education–experience interaction as one restriction set.
Adjusted R-squared
Adjusted R-squared is a descriptive fit measure that penalizes extra regressors and can help compare specifications for the same outcome.
It can inform an inconclusive nonnested comparison but cannot rank wages against log wages.
Asymptotic efficiency
Asymptotic efficiency compares estimator variances in large samples; correct FGLS weights can improve precision relative to OLS.
A wrong variance model can preserve WLS consistency without preserving its efficiency advantage.
Attenuation bias
Attenuation bias is the shrinkage of a coefficient’s probability limit toward zero under classical measurement error in the relevant regressor.
A true negative slope can be estimated as a smaller negative effect even in a very large sample.
Auxiliary regression
An auxiliary regression is a supporting regression used to construct a diagnostic or estimator for the model being studied.
In a BP test, its dependent variable is squared residuals and its R-squared enters the LM statistic.

B

Binary conditional variance
A binary conditional variance equals the event probability times one minus that probability at a given regressor value.
Probabilities 0.1 and 0.9 both give variance 0.09, despite representing different event likelihoods.
BLUE
A BLUE is the best linear unbiased estimator: it has the smallest variance among linear unbiased estimators under the relevant assumptions.
Correctly specified WLS can recover the BLUE property that OLS loses when error variances differ.
Breusch–Pagan test
The Breusch–Pagan test checks homoskedasticity by assessing whether squared regression residuals are related to chosen variance predictors.
An auxiliary regression on income can test whether saving-error variance changes with income.

C

Classical errors-in-variables
Classical errors-in-variables describes regressor measurement error with zero mean and no correlation with the true regressor.
The recorded regressor contains classical measurement noise, so it is correlated with that noise.
Clustered standard errors
Clustered standard errors account for dependence of regression errors within specified groups under suitable sampling and large-sample conditions.
Shared school shocks call for a covariance estimate that includes within-school dependence.
Complete-case deletion
Complete-case deletion fits a model using only observations with all its required variables recorded, also called listwise deletion.
Adding an income control can remove people who skipped that survey question and change the fitted sample.
Composite error
A composite error is a regression disturbance containing several components, such as an original economic error plus a recording error.
When recorded saving equals true saving plus reporting error, the fitted model’s error contains both.
Comprehensive model
A comprehensive model includes the term sets from competing specifications so each candidate can be tested as a restriction of the combined model.
In an equation combining levels terms and log terms, testing the log terms jointly against zero assesses the levels-only model.
Cross product
A cross product is the product of two different regressors, allowing their combined values to enter a mean or variance equation.
Income times household size is a cross product that can enter a full White auxiliary regression.

D

Davidson–MacKinnon test
The Davidson–MacKinnon test assesses a model by adding a competitor’s fitted predictions and testing whether their coefficient is zero.
Significant predictions from model B added to model A reject A, so the roles must be reversed to test B.
Degrees of freedom
The degrees of freedom for a variance-test chi-square statistic count the independent nonconstant terms tested in the auxiliary regression.
A dummy square duplicates its level, so it adds no new independent White-test restriction.

E

Endogenous sample selection
Endogenous sample selection depends on the outcome or disturbance and can make the selected sample violate zero conditional mean.
An earnings ceiling removes highly educated high earners and can flatten an education–earnings regression.
Estimated weight
An estimated weight is a data-based approximation to an inverse error variance used to fit a feasible weighted regression.
FGLS coefficients need not be finite-sample unbiased because the weights come from the same sample.
Exogenous sample selection
Exogenous sample selection selects observations using regressors while preserving zero conditional mean under the same population model.
Restricting an age-regressor sample to ages 35–54 can preserve conditional slopes while narrowing applicability.
External validity
External validity concerns whether a study’s conclusions carry over to populations or settings beyond those it directly investigates.
A relationship estimated among medium-sized firms may need new evidence before application to very large firms.

F

Feasible GLS
Feasible GLS estimates unknown features of the error covariance structure before applying the corresponding GLS transformation.
A log-squared-residual regression can estimate variance factors for a subsequent WLS fit.
Fitted probability
A fitted probability is the event-probability prediction from a model; an LPM’s unconstrained linear prediction can leave the unit interval.
A fitted probability of 1.02 produces a negative LPM variance factor, making its inverse weight unusable.
Functional form misspecification
Functional form misspecification occurs when an equation incorrectly describes the relationship between the outcome and observed regressors.
Omitting an experience square can force a constant wage slope where the effect actually changes with experience.

G

Generalized least squares
Generalized least squares transforms a regression using its error covariance structure to improve estimation under the model’s assumptions.
WLS is the GLS case for uncorrelated observations with unequal conditional error variances.

H

HC0
HC0 is the basic heteroskedasticity-robust covariance estimator, using squared OLS residuals without a degrees-of-freedom correction.
A simple regression can have an HC0 slope SE smaller than its conventional homoskedastic SE.
HC1
HC1 is a robust covariance estimator that scales HC0 by sample size divided by the residual degrees of freedom.
Stata’s vce(robust) uses HC1, so request HC1 explicitly when matching results in other software.
HC3
HC3 is a robust covariance estimator that adjusts squared residual contributions for leverage to improve small-sample behavior.
R’s sandwich::vcovHC uses HC3 by default; choosing HC1 explicitly changes that default.
Heteroskedasticity
Heteroskedasticity means that the conditional variance of a regression error differs across values of the explanatory variables.
Saving residuals may spread out much more among high-income households than among low-income households.
Homoskedasticity
Homoskedasticity means that a regression error has the same conditional variance at every combination of the explanatory variables.
A residual cloud with roughly constant vertical spread is compatible with homoskedasticity.

I

Influential observation
An influential observation changes fitted regression coefficients substantially when removed, often combining leverage with an unusual outcome.
A nearly flat sales–R&D relationship can become steep when a single large, high-R&D firm enters the sample.
Interaction term
An interaction term is a regressor formed from a product of variables, allowing one variable’s partial effect to depend on another.
Education times experience lets the schooling effect vary with experience in a log-wage equation.
Internal validity
Internal validity means a study’s causal coefficient estimates and standard errors are valid for the population it investigates.
Fixing a city model’s standard errors leaves a reverse-causality threat to internal validity unresolved.
Inverse-variance weight
An inverse-variance weight is proportional to one divided by an observation’s error variance, giving more precise observations greater weight.
For variance factor 16, a WLS program takes weight 1/16; manual transformation instead divides by 4.

K

Koenker test
The Koenker test is a studentized BP variant that drops normality and calculates its LM statistic from the squared-residual auxiliary fit.
R’s lmtest::bptest uses this studentized version by default, unlike Stata’s plain estat hettest.

L

Lagged dependent variable
A lagged dependent variable is an earlier value of the outcome that can serve as a proxy for persistent unobserved influences.
Past city crime can help account for stable local conditions when modeling current crime and police levels.
Least absolute deviations
Least absolute deviations estimates the conditional median by minimizing absolute residuals, reducing sensitivity to extreme outcomes.
Median regression may differ from OLS when the conditional error distribution is asymmetric.
Leverage
Leverage measures how unusual an observation’s regressor values are relative to the sample’s regressor configuration.
A firm many times larger than the others can have high leverage even if it lies close to the fitted line.
Linear probability model
A linear probability model is a linear regression for a binary outcome whose conditional mean is interpreted as a probability.
A slope of 0.06 indicates a 6-percentage-point probability change per regressor unit, holding controls fixed.
LM statistic
An LM statistic in the studentized variance tests equals sample size times auxiliary R-squared and uses a chi-square reference distribution.
With 250 observations and auxiliary R-squared 0.04, the variance-test LM statistic equals 10.
Log variance model
A log variance model expresses a positive variance factor as an exponential function of a linear combination of variance predictors.
A fitted log variance of zero corresponds to a variance factor of one before constructing inverse weights.

M

Missing completely at random
Data are missing completely at random when missingness is unrelated to the model variables and disturbance, preserving unbiased complete-case OLS.
Randomly lost survey forms reduce sample size without selecting people by their earnings or unobserved wage factors.
Missing-indicator method
The missing-indicator method replaces a missing regressor with zero and adds a dummy marking its absence, without generally removing bias.
The indicator keeps incomplete rows but does not reconstruct their missing control information.

N

Nonnested models
Nonnested models are competing regression specifications neither of which can be obtained by imposing coefficient restrictions on the other.
A model with income levels and one with log income can be nonnested while using the same outcome.

O

Outcome measurement error
Outcome measurement error is the difference between a recorded dependent variable and its true value, entering the regression disturbance.
Random recall errors in household saving add noise to the outcome without necessarily biasing income slopes.
Outlier
An outlier is an observation that departs markedly from the main data pattern, often showing an unusually large regression residual.
A firm with an unusual R&D share deserves a record check even when its sales are ordinary.

P

Percentage point
A percentage point is a unit for the difference between two percentages, distinct from a proportional percentage change.
Moving from a 40% probability to 46% is a rise of 6 percentage points and a proportional rise of 15%.
Perfect collinearity
Perfect collinearity occurs when a regressor column is an exact linear combination of the others, preventing unique coefficient estimation.
The original fitted value cannot be added alongside all original regressors because it is their linear combination.
Plug-in solution
The plug-in solution replaces an unobserved explanatory variable with an observed proxy and estimates the resulting regression by OLS.
Adding an ability proxy can change a schooling slope by absorbing some of the omitted ability relationship.
Prediction interval
A prediction interval describes uncertainty about an individual outcome, incorporating error variation as well as uncertainty in the fitted mean.
A heteroskedastic saving model has wider individual prediction intervals at incomes with larger error variance.
Probability limit
A probability limit is the value an estimator approaches in probability as sample size grows under a specified data-generating process.
With attenuation, the slope’s probability limit differs from the true coefficient despite a shrinking standard error.
Proxy variable
A proxy variable is an observed measure related to an unobserved explanatory factor, used to help control that factor in a regression.
An earlier achievement score may proxy persistent differences in student preparation.

R

Reliability ratio
A reliability ratio is the share of observed regressor variance due to the true signal under classical measurement error.
True variance 6 and noise variance 2 give reliability 0.75, retaining three quarters of a simple-regression slope.
RESET
RESET is a functional form diagnostic that tests whether nonlinear terms, often powers of original fitted values, add explanatory information.
A significant square-and-cube RESET test prompts investigation of meaningful nonlinear specifications.
Residual confounding
Residual confounding is the remaining distortion from an omitted factor after available controls or a proxy fail to absorb its relevant relationship.
If ability still rises with schooling after IQ is held fixed, the plug-in education slope retains ability bias.
Residual plot
A residual plot displays estimated regression errors against fitted values or regressors to reveal patterns in the mean or spread.
A curved center in a residual plot suggests missing mean structure, while a widening fan suggests changing variance.
Residual signal variance
The residual signal variance is the variance of the true regressor component left after projecting it on correctly measured controls.
Controls can reduce this signal while leaving classical measurement noise, making attenuation stronger.
Robust standard error
A robust standard error estimates coefficient uncertainty consistently under changing error variance in large independent samples.
Reporting an HC1 standard error can change a slope’s interval while leaving its coefficient unchanged.
Robust Wald test
A robust Wald test assesses coefficient restrictions with a covariance matrix that remains valid under heteroskedasticity in large samples.
Testing two slopes jointly requires their robust variances and covariance, not two separate t-test decisions.

S

Simultaneous causality
Simultaneous causality occurs when the outcome also helps determine an explanatory variable, creating a source of regressor endogeneity.
High crime can cause police hiring, making the observed police–crime slope difficult to interpret causally.
Special White test
The special White test checks homoskedasticity using squared residuals regressed on fitted values, their square and an intercept.
Its two nonconstant predictors can conserve degrees of freedom compared with a full term expansion.
Structural redundancy
Structural redundancy means a proxy has no separate outcome effect once the unobserved factor is included in the structural equation.
When IQ serves as a proxy for ability, structural redundancy holds only if IQ adds no wage effect beyond ability itself.
Studentized residual
An externally studentized residual scales a regression residual using an error-variance estimate from a fit that leaves the observation out.
An absolute studentized residual above about 2 prompts closer inspection alongside other diagnostics.
Systematic reporting error
A systematic reporting error changes predictably with regressors and can bias a slope by shifting the recorded outcome’s conditional mean.
If richer households underreport saving more, reported saving rises too slowly with income.

T

Test power
Test power is the probability that a statistical test rejects a false null under a specified alternative and sampling setup.
A small sample may leave BP with little power against a curved variance pattern.
Transformed constant
A transformed constant is the regressor obtained by dividing the original intercept column by the error standard-deviation factor.
With variance factor 25, the transformed constant is 0.2 and still carries the original intercept coefficient.

V

Variance function
A variance function describes how the conditional regression-error variance depends on the explanatory variables.
A model with variance proportional to income uses income as its positive variance factor.

W

Weighted least squares
Weighted least squares estimates a regression by minimizing a weighted sum of squared residuals, using inverse error-variance weights.
An observation with four times the error variance receives one quarter of the squared-residual weight.
White test
The White test checks variance restrictions using an auxiliary regression with regressor levels, squares and cross products.
Two continuous regressors usually supply five independent nonconstant terms in the full White regression.

Z

Zero conditional mean
The zero conditional mean condition states that the regression error averages to zero at each combination of explanatory-variable values.
A saving model can have zero mean error at each income even though its errors spread out as income rises.

About this lesson

By StudeliReport a mistake

Make your own Study Materials

Turn your notes, slides and documents into Study Guides, Practice Questions, Flashcards and 6 more tools.

Get Started