Regression Assumptions and Diagnostics

Learn to check whether a regression model can be trusted. Read residual plots and Q-Q plots to judge linearity, independence, normality and constant variance; measure multicollinearity with VIF; find outliers, high-leverage and influential cases with leverage, studentized residuals and Cook's distance; and choose remedies such as transformations, robust standard errors and sensitivity analyses. Worked examples with real numbers show each check, and the unit ends with a complete diagnostic workflow and how to report it.

IntermediateLesson 2 of 10 in Intermediate Statistics – Regression and ANOVA Course

What you will learn

  1. Explain which conditions the linear regression model relies on, what goes wrong when each one fails, and how residuals let you check them.
    • Name the regression assumptions and what each one protects
      State linearity, independence, constant variance and normality of the errors, plus the conditions on the predictors, and link each to the results it keeps trustworthy.
    • Compute and read raw, standardized and studentized residuals
      Calculate residuals and their scaled versions, explain why scaling is needed, and judge how large a residual has to be before it stands out.
  2. Read residual plots, Q-Q plots and the main diagnostic tests to judge each assumption, and recognize what a pattern means before choosing a remedy.
    • Check linearity with residual and component plots
      Use residuals-versus-fitted plots, plots against each predictor and component-plus-residual plots to detect curvature, and know what these plots can and cannot show.
    • Detect unequal error variance
      Recognize heteroscedasticity in residual and scale-location plots, run and interpret the Breusch–Pagan test, and explain what unequal variance does and does not damage.
    • Judge whether the errors are normal
      Read histograms, Q-Q plots and P-P plots of residuals, know the limits of normality tests, and decide when non-normal residuals matter.
    • Check that the errors are independent
      Identify study designs that create dependent errors, check for clustering and serial correlation, and explain why dependence makes results look more precise than they are.
  3. Measure how strongly the predictors overlap, explain what that overlap does to the coefficients, and choose a sensible response for the purpose of the model.
    • Measure multicollinearity with correlations, tolerance and VIF
      Recognize perfect and near multicollinearity, compute and read tolerance and the variance inflation factor, and use condition indices.
    • Decide when multicollinearity matters and respond to it
      Judge whether collinearity threatens the question the model answers, and choose among centering, combining, dropping, collecting more data and joint tests.
  4. Tell outliers, high-leverage cases and influential cases apart, measure their impact with leverage, studentized residuals, Cook's distance and related statistics, and decide what to do with them.
    • Tell outliers, leverage and influence apart
      Define the three kinds of unusual case, compute leverage, apply common cutoffs, and see how each kind changes a fitted line.
    • Measure influence with Cook's distance, DFBETAS and DFFITS
      Compute and read Cook's distance and the case-deletion statistics for single coefficients and fitted values, and use influence plots.
    • Decide what to do with unusual cases
      Follow a defensible sequence for unusual cases: check for errors, check population membership, run sensitivity analyses, and report the decisions transparently.
  5. Fix curvature, skew and unequal spread with transformations or added terms, protect inference with robust standard errors, and carry out and report a complete diagnostic check.
    • Transform variables to fix curvature, skew and unequal spread
      Choose log, square-root, reciprocal and polynomial terms for the pattern in the residuals, interpret the transformed coefficients, and recheck the model.
    • Use robust standard errors when the variance is not constant
      Explain how heteroscedasticity-consistent standard errors work, choose among HC0 to HC4, interpret robust results, and know what they leave unfixed.
    • Run a complete diagnostic check and report it
      Carry out diagnostics in a sensible order, revise and recheck the model, and report the checks and decisions clearly in APA style.

Regression Assumptions and Diagnostics study guide

5 chapters

1

Understand what a regression model assumes

Before interpreting a regression table, identify what its estimates and uncertainty depend on. The model separates a predictable mean from unexplained errors. You will connect each assumption to the result it protects, then calculate residuals on scales that make different cases comparable. This distinction matters when a case pulls its own fitted value toward itself and looks less unusual than it really is.

1.1 What the assumptions protect

A regression output gives estimates and measures of uncertainty. The assumptions tell you which parts of that output deserve trust. They describe the mean relationship and the errors around it, not the shape of each raw variable.

Read the model

The population model is Yi=β0+β1X1i+⋯+βkXki+εi. There are n cases and k predictors; the intercept is an additional coefficient. The error is the gap between an observation and its true population mean. Because that mean is unknown, diagnostics use residuals from the fitted model.

Use LINE

Linearity means that the chosen terms describe the conditional mean, leaving errors that average zero at each predictor combination. Independence means that one case’s error gives no information about another’s. Normality concerns the distribution of the errors. Equal variance, or homoscedasticity, means that their spread stays constant across predictor combinations.

“Linear” means linear in the coefficients. Both b0+b1x+b2x2 and b0+b1ln⁡x are linear regression models. A curved pattern can therefore be modeled within linear regression.

Match a failure to its consequence

A missing curve damages the mean predictions and the meaning of a straight-line slope. Independent errors and constant variance support the usual standard errors, tests, and confidence intervals. Normal errors make the usual coefficient tests exact in small samples and support normal-theory prediction intervals for individual new cases.

Under the Gauss–Markov conditions, least squares has the smallest variance among linear unbiased estimators. Normality is unnecessary for this result. With enough independent information, coefficient tests can tolerate moderate non-normality; a prediction interval for one new case still depends on the error distribution.

Check the predictors too

No predictor can be an exact linear combination of the others if all coefficients are to be estimated uniquely. For example, total practice time cannot enter alongside both individual and group practice time when total is their exact sum. Measurement error also matters: random error in a single predictor typically pulls its simple-regression slope toward zero.

A skewed predictor does not violate the normality assumption. A skewed outcome can also be consistent with normal errors around different conditional means. Inspect residuals after fitting the relationship. Start with the model’s form and the study design, then check spread and normality; a small departure in a tail should not distract from a missing curve or repeated observations treated as independent.

For example, a task-time model can predict the average time correctly at every practice level while errors widen for difficult tasks. The slope can still describe the average relationship, but a standard error based on one common variance needs revision. If the same people supply several times, there is a second problem: shared person effects require a dependence-aware analysis even if the plotted band looks even.

Key Takeaways

  • LINE describes the mean relationship and errors.
  • A polynomial model can be linear in its coefficients.
  • Unequal variance threatens the usual uncertainty estimates.
  • Normality concerns errors, not raw predictors.
  • Perfect collinearity prevents unique coefficient estimates.

1.2 Residuals on comparable scales

A residual measures a prediction error in the observed sample. Its sign has a direct meaning, but its size needs context: a gap of 5 seconds is large in a precise model and small in a noisy one.

Calculate the signed gap

The raw residual is ei=yi−y^i. An observed time of 37 seconds and a fitted time of 41 seconds give ei=−4 seconds. The model overpredicts this case. A positive residual means underprediction. An error refers to the unknown population relationship; a residual uses the estimated relationship.

With an intercept, ordinary least-squares residuals sum to zero and are uncorrelated with the fitted values and each included predictor. This algebraic property does not certify a good model: a U-shaped residual pattern can still have zero overall linear correlation.

Allow for leverage

Even with constant error variance, raw residual variance is σ2(1−hi). Leverage hi measures how unusual the predictor values are. A high-leverage case pulls its own fitted value toward its observed outcome, reducing its raw residual.

The internally studentized, or standardized, residual is ri=ei/[s1−hi], where s is the fitted model’s residual standard error. In the study-hours example, learner 10 has a residual of −7.21, s=5.40, and leverage 0.772. The denominator is 5.400.228≈2.58, giving r≈−2.79. Learner 9 has a larger raw residual, 8.13, but a smaller standardized residual, 1.61.

Leave the case out of the noise estimate

An externally studentized residual replaces s with s(i), estimated after deleting the case. A discrepant case can inflate the full model’s noise estimate and partly hide itself. Removing learner 10 reduces that estimate from 5.40 to 0.92, producing an externally studentized residual near −16.3. Under normal model errors, the deleted statistic follows a t distribution with n−k−2 degrees of freedom.

Read cutoffs and software labels

With many residual degrees of freedom, standardized residuals behave approximately like normal scores: about 95% fall within ±1.96 and 99% within ±2.58. Among 200 cases, about 10 beyond ±1.96 are expected even with a suitable model. Screening many cases requires attention to multiple comparisons; formal small-sample outlier tests use deleted residuals and an adjustment such as Bonferroni.

In R, resid(model), rstandard(model), and rstudent(model) give raw, internally studentized, and externally studentized residuals. SPSS uses RESID, SRESID, and SDRESID for these versions. Its ZRESID divides by the overall residual standard error without the leverage correction. Read the definition behind a column before applying a cutoff.

Key Takeaways

  • Residual = observed − fitted.
  • A negative residual means overprediction.
  • Internal scaling accounts for leverage.
  • Deleted residuals estimate noise without the case.
  • A few large residuals are expected when many cases are screened.
  • Software residual labels require checking.
2

Check linearity, constant variance, normality and independence

Different residual patterns answer different questions. A curve concerns the mean; a funnel concerns spread; a bent Q-Q plot concerns distribution shape. Independence begins with the study design and may remain hidden in a pooled plot. You will read these signals separately, use tests alongside visual evidence, and choose which problem needs attention first.

2.1 Read curves in residual plots

An apparently strong regression can miss the shape of the relationship. Residual plots show where predictions are systematically too high or too low, including patterns that one overall slope hides.

Look around zero

Plot residuals vertically against fitted values horizontally. A roughly horizontal band centered on zero supports the mean form. Follow the center of the band across the horizontal axis. A smooth loess line can make a bend easier to see.

Positive residuals at both ends and negative residuals in the middle form a U. The model underpredicts at the ends and overpredicts in the middle. An inverted U reverses those errors. Least squares forces no overall straight-line residual trend when there is an intercept; it does not remove curved patterns.

Locate the predictor involved

Task time may fall rapidly during early practice and then level off. A straight line averages these different rates of improvement. In the worked practice-session example, residuals start near +8.9 and +1.7 seconds, fall to about −5.1 in the middle, and end near +2.7 and +5.9. The repeated change of sign identifies a mean-form problem.

In multiple regression, draw residuals against each predictor too. Fitted values mix all predictors into one axis, so a curve against one variable may be blurred. A raw plot of outcome against that variable does not adjust for the other predictors and can give a different impression.

Choose the right partial plot

A component-plus-residual plot adds the predictor’s fitted component back to each residual: ei+bjxij is plotted against xij. Its straight reference slope is bj. A smooth curve departing from that line suggests that the contribution of this predictor needs a nonlinear term. R’s car::crPlots(model) produces these plots.

An added-variable plot first removes the other predictors from both the outcome and the predictor of interest, then plots the two sets of residuals. Its slope is also bj. It is especially useful for seeing which observations drive that coefficient. It is less direct for diagnosing the shape of a nonlinear effect.

Revise the mean form

A high R squared or a significant slope cannot replace these checks. Anscombe’s quartet has the same fitted line, correlation, and outcome mean across four very different pictures, including a curve and fits driven by one case.

If a curve is tied to one predictor, consider a suitable transformation or a polynomial term. Center a predictor before squaring it, keep its linear term, and test the added squared term. A nonzero quadratic coefficient supports curvature, but its absence does not exclude every possible nonlinear shape. Refit, then inspect the new residual plots before moving to spread or normality.

Key Takeaways

  • Follow the center of the residual band to check mean form.
  • Inspect residuals against individual predictors in multiple regression.
  • Partial residual plots help reveal curved predictor effects.
  • Added-variable plots reveal cases driving a partial slope.

2.2 Recognize changing error spread

Predictions can track the mean well while becoming less reliable at one end of the scale. Unequal error variance is a problem about spread around the mean, so read the width of the residual band separately from its center.

Identify a fan

A funnel in residuals versus fitted values is narrow at one end and wide at the other. Durations and amounts often vary more when their predicted values are large. The mean residual can stay near zero throughout this pattern. Homoscedasticity means constant error variance; heteroscedasticity means that variance changes.

Do not judge width from the single highest and lowest point. A dense region contains more opportunities for extreme observations. Compare typical vertical spread across regions. In SPSS, the usual diagnostic plot is ZRESID against ZPRED.

Read the scale-location plot

The scale-location plot graphs ∣ri∣ against fitted values. Taking absolute values removes residual signs; taking square roots makes the display less dominated by extreme values. A flat smooth line supports constant spread. A rising line indicates that residual size grows with predictions. R includes it in plot(model) for an lm fit.

Understand the consequence

When the conditional mean is correct, unequal variance leaves least-squares coefficients unbiased. It breaks the usual pooled-variance standard errors. Confidence intervals can be too narrow or too wide, and tests can be too liberal or too conservative. Least squares also loses its minimum-variance advantage among linear unbiased estimators.

A single-width prediction interval cannot describe both the narrow and wide parts of a funnel well. An apparently precise prediction in the high-variance region can be misleading even if the fitted mean is correct.

Use a test with the plots

The studentized Breusch–Pagan test regresses squared residuals on variance predictors. Its statistic is LM=nRaux2, compared with a chi-square distribution. If the auxiliary regression has k nonconstant predictors, the reference degrees of freedom are k. With 150 cases, three predictors, and auxiliary R squared 0.08, the statistic is 12.0 and p=.007. This supports unequal variance. R’s lmtest::bptest(model) uses the studentized Koenker version by default.

The White test adds squared predictors and cross-products, allowing a wider range of variance patterns but spending more degrees of freedom. Small samples can miss a real funnel; large samples can flag a small departure. Curvature can also create apparent changing spread, so repair mean form first.

Choose a response

For a suitable mean model with independent cases, heteroscedasticity-consistent standard errors protect coefficient inference. A transformation of the outcome may stabilize spread and improve shape. Weighted least squares uses inverse error variances when the variance pattern is known. Choose by the pattern and the research question, then inspect the revised model.

Key Takeaways

  • A funnel concerns spread, not the mean trend.
  • Scale-location plots summarize residual size.
  • Unequal variance damages usual standard errors.
  • Breusch–Pagan uses an auxiliary regression.
  • Choose robust inference, a transformation, or suitable weights.

2.3 Judge a normal Q-Q plot

Normality is about the errors at fixed predictor values. After fitting the mean, residuals provide the practical evidence. A plot reveals whether a departure is a small tail wiggle, broad skew, or a few extreme cases.

Read the axes first

A normal Q-Q plot compares ordered residuals with the quantiles expected from a normal distribution. Points close to a straight reference line support approximately normal errors. The line need not be horizontal or have a slope of one: residual scale sets its slope. The outermost points vary especially strongly in small samples.

A histogram helps identify skew or isolated values, but changing bin width can change its appearance. Q-Q plots use the ordering of all observations and are often more informative about tails.

Distinguish skew from tail weight

With theoretical normal quantiles horizontally and residuals vertically, right skew produces a broad upward bend: points can be above the line at both ends and below in the middle. Left skew reverses that bend. Heavy tails put the left tail below and the right tail above the line, forming an S with steep ends. Light tails give the opposite tail pattern.

Read axis labels before using these descriptions. Swapping the axes mirrors the display. SPSS’s regression “normal probability plot” is a P-P plot of cumulative probabilities, which emphasizes the center more than the tails. A P-P plot and a Q-Q plot are different displays.

Judge what the departure threatens

Non-normality by itself does not bias least-squares coefficients when the mean model is correct. It affects exact small-sample tests and normal-theory intervals. Large samples often make coefficient inference reasonably stable under moderate departures, but the shape still matters for prediction intervals for one new case. Heavy tails can also make least squares imprecise because extreme cases receive substantial weight.

A significant Shapiro–Wilk or Kolmogorov–Smirnov result is not a measure of practical damage. With many cases, tests detect tiny departures. With few cases, a nonsignificant test can miss a consequential departure.

Investigate the source

Start by checking mean form, spread, and unusual cases. Curvature can make the pooled residual distribution non-normal. A positive right-skewed duration with a funnel may benefit from logging the outcome. Recheck its Q-Q and residual plots after fitting on the new scale.

If independent cases still give clearly non-normal residuals in a small sample, case-resampling bootstrap confidence intervals provide an alternative that does not assume normal errors. Each bootstrap sample is fitted again to build an empirical coefficient distribution. The resampling unit must match the design; repeated rows from one person cannot be treated as independent cases.

Key Takeaways

  • Normality is checked using residuals.
  • Read Q-Q axis labels before interpreting bends.
  • Heavy tails and skew produce different patterns.
  • Normality tests are sensitive to sample size.
  • Prediction intervals remain sensitive to error shape.

2.4 Find dependence in the design

Rows in a data table are not always independent pieces of information. People may share a class or clinic, and several rows may come from one person. The collection design is the starting point for checking independence.

Identify shared errors

Independence means that learning one error tells you nothing about another. Students in one class may share an unmeasured teaching condition. Repeated measurements share person-specific influences. Measurements made consecutively may share equipment drift or environmental conditions.

Positive dependence commonly makes ordinary standard errors too small, producing narrow intervals and too many false positives. The effect is especially strong for means and predictors that vary between groups. A predictor that mainly varies within groups may be affected much less.

Count independent information

For equally sized clusters of m cases with intraclass correlation ρ, the design effect for a mean is 1+(m−1)ρ. In the class example, 300 students in classes of 20 with correlation 0.10 give 1+19(0.10)=2.9. Their information about a mean is roughly that of 300/2.9≈103 independent observations.

This is an approximation for a mean, not a universal correction for every regression slope. A teacher-level predictor varies between classes, so its precision can suffer in a similar way. A student-level predictor with substantial within-class variation has a different pattern.

Inspect groups and order

Plot residuals by class, clinic, or person. Group centers persistently above or below zero suggest shared omitted influences. A featureless pooled residual cloud can hide this structure because it removes the group labels.

For meaningfully ordered rows, plot residuals against order. Runs of positive residuals followed by runs of negative ones suggest neighboring errors move together. Alternating signs suggest negative serial correlation.

Use Durbin–Watson for its actual question

The statistic is d=∑t=2n(et−et−1)2∑t=1net2. Similar neighboring residuals give small differences and a low statistic. It ranges from 0 to 4 and is roughly 2(1−r1), where r1 is lag-one residual correlation. Near 2 suggests little lag-one correlation; below 2 suggests positive and above 2 negative correlation. Values below 1 or above 3 are common inspection guides.

A value near 2 in arbitrarily shuffled rows tells you little about independence. The statistic does not check every shared clinic or person effect.

Match the analysis to the design

Grouped data call for methods such as cluster-robust standard errors or multilevel models. Repeated measurements require a method that recognizes the person. Ordered dependence requires a serial-correlation model. Ordinary heteroscedasticity-consistent standard errors allow unequal variance across independent cases; they do not account for correlated errors. Averaging within each independent cluster removes within-cluster dependence from the analysis but discards information about differences inside that cluster.

Key Takeaways

  • Start with how observations were collected.
  • Rows can share errors through groups, people, or order.
  • Durbin–Watson concerns neighboring rows in a meaningful order.
  • Choose a method that represents the source of dependence.
3

Detect and deal with multicollinearity

Predictors can explain an outcome well together while providing little information about their separate effects. You will quantify overlap with tolerance and VIF, interpret condition diagnostics, and decide whether the uncertainty threatens your research question. Responses range from re-expressing polynomial terms to collecting more informative data; the choice depends on what the predictors mean.

3.1 Measure predictor overlap

Multiple regression estimates a coefficient from the part of its predictor that remains after accounting for the others. When little independent variation remains, individual effects become hard to separate.

Separate perfect from near overlap

If total study hours exactly equal individual hours plus group hours, including all three creates perfect multicollinearity. There are multiple coefficient combinations giving the same fitted values, so software must drop a term or refuse a unique solution.

Near multicollinearity still permits estimation. It does not itself bias coefficients, but their standard errors grow. Signs and sizes can change sharply with a few cases or a small model revision. The model can have a significant overall test while no single coefficient is significant.

Calculate tolerance and VIF

Regress predictor Xj on all the other predictors. Its auxiliary Rj2 measures how much of it they explain. Tolerance is 1−Rj2, the remaining proportion of variation. The variance inflation factor is VIFj=1/(1−Rj2).

If Rj2=0.75, tolerance is 0.25 and VIF is 4. The variance of the coefficient estimate is inflated fourfold relative to the corresponding no-overlap comparison; its standard error is multiplied by 4=2. With auxiliary R squared 0.90, VIF is 10 and the standard-error multiplier is about 3.16. Do not confuse a variance multiplier with a standard-error multiplier.

Use several views of the predictors

A predictor correlation matrix reveals strong pairwise relationships. Absolute correlations above about 0.8 deserve attention, including negative ones. But a variable can be nearly explained by several others together without any one pair having an extreme correlation. VIF checks this joint overlap.

Common inspection guides are VIF above 10 or tolerance below 0.1; some analysts investigate above 5. These are conventions, not significance tests. Sample size and residual noise affect actual precision too. A wide interval on the coefficient of interest matters more than a threshold crossed by an unrelated control.

Read condition diagnostics and polynomial terms

SPSS condition indices identify nearly redundant dimensions of the predictor matrix. An index above 30 is especially concerning when at least two coefficients have variance proportions above about 0.5 on that same dimension. Indices from 10 to 30 suggest moderate overlap. Read the index and variance proportions together.

Squares create structural overlap: for one person at each age 20 through 60, age and age squared correlate 0.991, giving VIF near 58. Centering age before squaring often reduces this. R’s car::vif(model), SPSS collinearity diagnostics, and jamovi’s collinearity statistics provide the main checks. High VIF does not by itself imply poor prediction for cases that follow the sample’s predictor pattern.

Read an auxiliary R squared as a predictor diagnostic, not the main outcome model’s R squared. A model might explain only 30% of outcome variation while one predictor has auxiliary R squared 0.90 and VIF 10. Conversely, a very strong outcome fit need not have overlapping predictors. The two R squared values come from different response variables and answer different questions.

Key Takeaways

  • Perfect overlap prevents a unique solution.
  • Near overlap mainly reduces coefficient precision.
  • Tolerance = 1 − auxiliary R squared.
  • VIF is a variance multiplier; its square root scales the standard error.
  • Pairwise correlations can miss joint overlap.
  • Read condition indices together with variance proportions.

3.2 Choose a response to collinearity

The right response depends on the question. A model that predicts well may still be unable to tell two overlapping effects apart. Decide which coefficients need interpretation before changing the predictors.

Start with the purpose

For prediction within a familiar predictor pattern, overlap may be acceptable. For explaining a particular coefficient, a high VIF and wide confidence interval make its separate contribution uncertain. Inspect the VIF of the predictor you interpret; overlap among controls does not give your focal predictor a high VIF if it is unrelated to them.

Dropping a variable can reduce a VIF while changing the scientific question. If that variable affects the outcome and is related to retained predictors, omitting it can bias their coefficients. A smaller VIF alone is insufficient reason to exclude it.

Center structural terms

For a quadratic model, form z=x−xˉ and include both z and z2. This changes the intercept and the linear coefficient’s interpretation. The linear coefficient is now the slope at the mean of the original predictor. The quadratic coefficient, fitted values, and R squared stay the same when the same complete quadratic model is re-expressed.

For a predictor symmetric around its mean, the centered predictor and its square have zero correlation. For skewed data, overlap may remain. Centering often reduces structural collinearity but does not guarantee a lower VIF in every sample. It cannot separate two distinct questionnaires that measure almost the same thing.

Keep the useful information

If two questionnaires measure the same construct, use the measure that best answers the question or combine them into a justified score, such as the mean of standardized scores. If they represent different constructs, seek more observations where the predictors vary separately. More cases improve precision; a broader informative predictor pattern can help separate effects.

A joint test asks whether a group of overlapping terms adds information together. It does not require each term to be individually significant.

Work a joint test

For 100 cases and four predictors, suppose full-model R squared is 0.30 and dropping two terms gives 0.18. The residual degrees of freedom are 100−4−1=95. The nested statistic is F=(0.30−0.18)/2(1−0.30)/95≈8.14, with 2 and 95 degrees of freedom and p<.001. Together the pair contributes, even if its separate slopes are imprecise. This usual test assumes the usual variance model; robust joint inference uses a robust Wald test.

For a prediction-focused model with severe overlap, ridge regression trades some coefficient bias for lower variance. Report the VIF range, the affected question, and any change with its reason. For example: “The two anxiety measures were combined because they assessed the same construct; the combined score was used in the final model.”

Key Takeaways

  • Match the response to prediction or coefficient interpretation.
  • Center before squaring; keep the full polynomial terms.
  • Centering preserves fitted values in an equivalent model.
  • Combine predictors only when their meaning supports it.
  • A joint test can detect a contribution that separate tests miss.
4

Find and handle unusual and influential cases

A large residual, an unusual predictor combination, and a strong effect on the fitted model describe different features of a case. You will calculate leverage, compare case-deletion measures, and investigate why a case stands out. The goal is a defensible decision supported by original records and sensitivity analysis, including a clear account when a conclusion depends on a single observation.

4.1 Separate outliers, leverage, and influence

Unusual cases raise three different questions: Is the outcome surprising given the predictors? Are the predictor values unusual? Does this case materially change the fitted model? These are outlyingness, leverage, and influence.

Identify which feature is unusual

An outcome outlier has a large residual relative to its expected variability. An extreme outcome is not an outlier when its predictors explain it. A very long task time may be expected for a difficult task.

Leverage concerns predictor values only. It measures a case’s position relative to the predictor cloud, including combinations of predictors. A high-leverage case can fit the relationship closely. Influence describes the change in coefficients or fitted values when the case is removed.

Calculate a hat value

In simple regression with an intercept, hi=1/n+(xi−xˉ)2/∑(x−xˉ)2. In the 10-learner example, xˉ=7.4 and the sum of squared deviations is 236.4. The case at 20 hours has h=0.1+158.76/236.4=0.772.

With an intercept, hat values sum to k+1 and average (k+1)/n. Common guides flag values above twice that average, with three times the average a stronger signal. For 120 cases and four predictors, the average is about 0.042, so the two guides are 0.083 and 0.125. These values invite inspection, not exclusion.

Compare the three roles

The first nine study-hours cases closely follow a slope of 3.52. Adding the learner at 20 hours with score 82 pulls the slope down to 1.83: the predictor is far out and the outcome disagrees with the original trend.

A learner at 16 hours with score 99 is also high-leverage but follows the trend. The slope stays near 3.49 and becomes more precise. By contrast, changing a score at the predictor mean from 65 to 80 leaves the slope unchanged but inflates residual noise and its standard error. A low-leverage outlier can therefore harm precision without strongly changing a slope.

Check what the software saved

Mahalanobis distance measures unusual predictor combinations while allowing for predictor correlations. With an intercept, DM2=(n−1)(hi−1/n). SPSS saves centered leverage, hi−1/n, so add 1/n before comparing it with a cutoff defined for hat values.

Externally studentized residuals support a normal-model outlier test with n−k−2 degrees of freedom. Screening all cases needs a multiple-testing adjustment, such as multiplying each p value by the number screened, capped at 1. Several unusual cases can mask each other: deleting one still leaves another pulling the fit. Inspect the actual data and joint patterns as well as one-case statistics.

Key Takeaways

  • Outlyingness concerns the conditional outcome.
  • Leverage concerns the predictors.
  • Influence concerns how the fit changes on deletion.
  • Hat values average (k + 1)/n with an intercept.
  • High leverage can improve precision when the case follows the pattern.
  • Check centered versus uncentered leverage.

4.2 Measure what changes when a case is removed

Influence measures turn a deletion comparison into a number. Different measures answer different questions: the whole fitted model, one coefficient, or the prediction at the deleted case.

Combine residual size and leverage

Cook’s distance summarizes the change in all fitted values. Using the internally studentized residual ri, Di=ri2k+1hi1−hi. Count the intercept in k+1. Squaring the residual removes its sign; influence can arise from either direction.

With four coefficients, residual 2.5, and leverage 0.30, the first factor is 6.25/4=1.5625 and the leverage factor is 0.30/0.70≈0.429. Their product is about 0.67. Keeping the residual but lowering leverage to 0.05 gives about 0.08. Keeping high leverage but shrinking the residual can also make Cook’s distance small.

Inspect the distribution of influence

In the learner example, learner 10 has standardized residual −2.79 and leverage 0.772, giving Cook’s distance about 13.2. Learner 9 has the largest raw residual but Cook’s distance about 0.19. The raw gap misses how strongly learner 10 can move the line.

A common guide treats Cook’s distance above 1 as substantial. The more sensitive guide 4/n flags more cases, especially in large samples; some sources use 4 divided by residual degrees of freedom. Plot Cook’s distance by case index and look for observations standing apart from the rest. Crossing a guide does not establish that the data are wrong.

Focus on a coefficient

DFBETA is the full-model coefficient minus the coefficient after deletion. DFBETAS scales that difference with the coefficient’s standard error using the deleted-fit noise estimate: DFBETASij=bj−bj(i)SE(bj)s(i)/s. This is useful when one slope carries the research question.

A negative value means that the full-model coefficient is smaller than the deletion coefficient under this convention. Common guides are an absolute value above 2/n in large samples or above 1 in small samples. Using the original standard error alone misses the deleted-noise adjustment.

Focus on a fitted value

DFFITS measures the change in the case’s own fitted value in standard-error units. A common guide is ∣DFFITS∣>2(k+1)/n. Cook’s distance summarizes all fitted values, DFBETAS isolates a coefficient, and DFFITS isolates a case’s fitted value.

An influence plot places studentized residuals vertically against leverage horizontally; point size or contours show Cook’s distance. Far-right points with large positive or negative residuals deserve attention. R provides cooks.distance(model), dfbetas(model), dffits(model), and hatvalues(model). SPSS Save options provide corresponding case variables; jamovi offers Cook’s distance under Assumption Checks.

For a coefficient-specific example, learner 10 changes the study-hours slope from about 1.83 in the full fit to 3.52 after deletion. Using the unrounded coefficient difference, full-fit standard error, and deleted-noise adjustment gives DFBETAS near −28. The negative sign records a smaller coefficient in the full fit; its large magnitude also reflects how much the residual noise falls when that case is removed.

Key Takeaways

  • Cook’s distance combines scaled residual size and leverage.
  • Use k + 1 to include the intercept.
  • DFBETAS addresses one coefficient.
  • DFFITS addresses the deleted case’s fitted value.
  • Compare cases and investigate flags before deciding.

4.3 Make a defensible decision about unusual cases

A diagnostic flag starts an investigation. A sound decision explains why a case is unusual and whether the research conclusion depends on it. The same sequence applies whether the case strengthens or weakens an effect.

Verify the observation

Return to the original record. A value such as age 250 may be a transcription error for 25; a code such as 999 may mean missing. Correct a confirmed error from its record. If a measurement is invalid and cannot be recovered, mark it missing under the data-handling rule. Do not replace a value with one that merely fits better.

Next check population membership. If a study explicitly concerns adults aged 18–65, a 92-year-old falls outside that target. Exclusion follows the eligibility rule, not the influence statistic. Decide these rules before looking at the effect where possible.

Test the sensitivity

For a valid observation in the target population, keep it by default and fit the model both with and without it. Compare coefficient size, direction, uncertainty, and the substantive conclusion. A small movement across a p-value threshold can occur with little practical change, while a large slope change can matter even if both versions remain significant.

If the results agree, report that stability. If they differ, report both and identify the conclusion that depends on the case. Removing a high-leverage case also narrows the predictor range, which can change the population of situations to which the model usefully applies.

Ask whether the model explains the case

A surprising observation may expose a missing curve, a scale problem, or an omitted predictor. Revisit model form before calling the case an error. A point far from a straight line may fit a justified curved relationship.

Robust regression, such as Huber M-estimation, lowers the weights of large residuals and can reduce the pull of genuine outcome outliers. It changes the fitting procedure. Huber weights can still miss high-leverage observations that pull the line close enough to make their residuals small. Continue checking leverage and sensitivity.

Write the decision transparently

For example: “One age value was corrected from 250 to 25 after checking the record. A second flagged case was valid. Excluding it changed the slope from 0.42 to 0.39 without changing the conclusion, so it was retained.” This gives the reason, action, and effect of the action.

Deleting observations because they lower R squared or weaken a desired effect selects the answer after seeing the data. That distorts inference. A preregistered rule helps separate a data-quality decision from a result-driven choice, but diagnostic judgment and a report of sensitivity are still needed.

Key Takeaways

  • Verify errors against original records.
  • Apply population rules consistently.
  • Retain valid cases by default and compare fits.
  • Report conclusions that depend on a case.
5

Choose and apply remedies

A useful remedy addresses the pattern that prompted it and keeps the research question interpretable. You will choose transformations, read coefficients on a changed scale, and use robust uncertainty estimates for unequal variance. A complete worked workflow then brings design, plots, collinearity, influence, refitting, and reporting together so the final conclusions have visible support.

5.1 Transform and reinterpret the model

A transformation changes the scale on which a model describes the relationship. Choose it for the pattern in the data and a useful interpretation. Then read the new coefficients on that scale.

Choose the scale

A log outcome suits positive, right-skewed amounts or durations with spread increasing alongside their mean. It compresses large values and describes multiplicative differences. All logged values must be positive. A square root often helps counts whose variance grows with the mean. A reciprocal can have a direct meaning: one divided by time per task is tasks per unit time.

The power ladder moves from no change through square root and log to reciprocal. Box–Cox estimates a power for a positive outcome to improve residual shape and spread. An interpretable nearby power, such as log or square root, is often easier to explain. Adding a constant to permit logs of zero changes the analysis with an arbitrary choice and needs explicit justification.

Interpret a logged outcome

In a model for ln⁡Y, increasing a predictor by one unit multiplies the fitted outcome on the back-transformed scale by eb. The exact percentage change is 100(eb−1). A coefficient of 0.08 gives about 8.3% higher values per unit. A coefficient of −0.15 gives about 13.9% lower values. The shortcut 100b percent works only for small coefficients.

Exponentiating a fitted log value estimates the conditional median when log errors are symmetric. It does not directly give the conditional mean of a right-skewed outcome. The upper tail lifts that mean, so a mean prediction requires a suitable retransformation adjustment.

Interpret a logged predictor

In y^=b0+b1ln⁡x, a proportional change in x produces an additive change in the outcome. Increasing x by 10% changes the prediction by b1ln⁡(1.10); doubling it changes the prediction by b1ln⁡2. For a coefficient of 12, these are about 1.14 and 8.32 outcome units. If both variables are logged, the slope is an elasticity: approximately the percentage outcome change for a 1% predictor change.

Use a polynomial when it fits the question

An added square models a changing slope without changing the outcome scale. Center the predictor first. For y^=b0+b1z+b2z2, the turning point is z=−b1/(2b2). Add the original predictor mean to return from centered units. A turning point outside the observed range is extrapolation and should not be presented as an observed optimum.

After a transformation or added term, check mean form, spread, Q-Q pattern, VIFs, and influence again. A remedy can improve one feature and worsen another. R squared values for an outcome and its log describe variation on different scales, so their sizes cannot select the better model directly.

For a centered quadratic example, suppose the predictor mean is 30, the linear coefficient is 6, and the quadratic coefficient is −0.3. The centered turning point is −6/[2(−0.3)] = 10. On the original scale it is 40. The negative squared coefficient gives a maximum. If observed predictor values run only from 15 to 35, the model supplies no observed-range maximum: the predicted turn is beyond the data.

Key Takeaways

  • Logs require positive values.
  • A log-outcome slope gives 100(exp(b) − 1)% per unit.
  • A logged predictor models proportional input changes.
  • Exponentiating a fitted log value does not directly give a mean.
  • Check turning points on the original scale and within the data range.
  • Repeat all diagnostics after changing the model.

5.2 Use robust uncertainty estimates

When the mean model is suitable but residual spread changes, you can revise coefficient uncertainty without changing the least-squares fit. Heteroscedasticity-consistent standard errors do exactly this for independent cases.

Know what changes

Robust, sandwich, White, and Huber–White standard errors refer to heteroscedasticity-consistent covariance estimation in this setting. Contributions from individual squared residuals replace a single pooled error variance. Coefficients and fitted values stay identical. Standard errors, t statistics, p values, and confidence intervals can change.

Robust standard errors can be larger or smaller. The location of large residuals relative to the predictor values matters, not just how variable the residuals are overall. A large discrepancy from usual standard errors is a reason to revisit mean form and influence.

Choose an HC adjustment

HC0 uses squared residuals directly. HC1 multiplies them by n/(n−k−1). HC2 divides each by 1−hi. HC3 divides each by (1−hi)2, providing a stronger leverage adjustment. HC4 adapts more strongly for very high leverage. These adjustments affect the covariance calculation, not the fitted coefficients.

HC0 tends to underestimate uncertainty in small samples. Long and Ervin’s simulations recommended HC3, including for samples up to about 250; it performed well in examples as small as about 25. HC3 is the default of R’s sandwich::vcovHC().

Recalculate the table

For a slope 0.42 with usual standard error 0.10, t=0.42/0.10=4.20. With HC3 standard error 0.16, t=2.625. Using a critical value 1.98, the robust 95% interval is 0.42±1.98(0.16), or approximately [0.10, 0.74]. The original interval was about [0.22, 0.62]. The effect estimate is identical, but its precision is lower.

In R, use lmtest::coeftest(model, vcov = sandwich::vcovHC(model, type = "HC3")). SPSS UNIANOVA offers HC0–HC4 through its ROBUST option. Test several coefficients together using a robust Wald test with the robust covariance matrix.

Match the remaining problem

HC standard errors do not straighten a curved mean, remove influential observations, or account for correlated cases. Cluster-robust covariance estimation or a multilevel model addresses grouping. Robust regression is a different procedure: it changes the fit by weighting observations according to their residuals.

If the error variances are known or modeled well, weighted least squares weights observations by inverse variance and can estimate coefficients more precisely. With variances 4 and 16, the first case receives four times the weight of the second. Report the chosen variance method and the diagnostic reason, for example: “Residual spread increased with fitted values, so coefficient inference uses HC3 standard errors.”

Key Takeaways

  • HC estimation changes uncertainty, not coefficients.
  • HC3 makes a leverage adjustment to squared residuals.
  • Robust standard errors may rise or fall.
  • Use robust covariance for joint tests too.
  • HC errors do not repair a curve or dependent observations.

5.3 Check, revise, and report

Diagnostics work as a connected investigation. A problem in the mean form can create apparent problems elsewhere, so the sequence matters. Keep a record of the evidence and each decision as you revise the model.

Follow a useful order

Start with the design: identify independent units, groups, and repeated observations. Fit the proposed mean model. Inspect residuals against fitted values and each predictor, using component-plus-residual plots where useful. Look at spread, then the Q-Q plot. Check VIFs and unusual cases with residuals, leverage, and influence.

Correct the mean form first. A missing curve can create an apparent funnel, skewed residuals, and apparent outliers. After choosing a remedy, refit and repeat the checks. The final diagnostic evidence must describe the final model, not only the first attempt.

Work through a complete case

Task time in seconds is predicted from age, vocabulary score, and years of education for 180 adults. Residual spread increases with fitted time, and the Q-Q plot suggests right skew. Time is positive, so a log outcome is a reasonable candidate. After refitting, the residual band is even and the Q-Q points follow the line.

VIFs range from 1.2 to 2.8. The largest Cook’s distance is 0.31: below 1 but above the more sensitive 4/n guide, about 0.022. This case still merits inspection. Its data are valid and deleting it changes no coefficient by more than 5%, so it is retained. Neither cutoff alone supplies that decision.

Find the checks in software

For an R lm fit, plot(model) shows residuals versus fitted, normal Q-Q, scale-location, and residuals versus leverage with Cook’s contours. Add predictor-specific plots and VIFs as needed. SPSS Linear Regression offers ZRESID against ZPRED and a normal probability plot through Plots, and case diagnostics through Save. Jamovi groups Q-Q, residual plots, collinearity statistics, and Cook’s distance under Assumption Checks.

Read the residual and leverage definitions in the output: similarly named columns may use different scaling. No software panel determines whether the sampling design made cases independent.

Write evidence and decisions

A useful report names the check, its finding, the remedy, and sensitivity. For example: “Residual plots showed increasing spread, so time was log-transformed. Final residual plots showed no clear curve or changing spread, and the Q-Q plot was approximately linear. VIFs ranged from 1.2 to 2.8. One valid case with Cook’s distance 0.31 was retained because its removal did not change the conclusions.”

Use italic statistical symbols such as p, t, and F. Report exact p values to two or three decimals, using p < .001 for smaller values. Omit a leading zero for p values and correlations, which cannot exceed 1; retain it for Cook’s distance and other statistics that can, such as 0.31.

Sample size changes how evidence is read. Small samples give noisy plots and fragile case-deletion results. Large samples reduce sensitivity of coefficient tests to moderate non-normality, but do not make the usual covariance formula consistent under heteroscedasticity. Choose a remedy for the diagnostic problem and report the models that informed the final choice.

When documenting software output, keep the point estimate beside the uncertainty method. A robust coefficient table may look like the usual table but reflect a different covariance estimate. State HC3 explicitly when it was used. For a transformed outcome, name the transformation before interpreting a slope or prediction, so the reader knows whether the result describes seconds, percentages, or a back-transformed median.

Key Takeaways

  • Check design before interpreting fitted-model diagnostics.
  • Repair mean form before treating other symptoms.
  • Recheck the final model after any remedy.
  • Report findings, decisions, and sensitivity.
  • Large samples do not repair unequal-variance standard errors.

Regression Assumptions and Diagnostics examples

5 Walkthroughs

1

Connect assumptions to residual evidence

10 steps
Identify what each assumption protects, then compare raw and scaled residuals.
  1. 1
    IntroductionStart with the result you need

    A regression has two jobs: describe the mean relationship and express how uncertain its estimates are. A model can do one job well and the other poorly. You will connect LINE to these jobs, then calculate residuals that reveal cases hidden by a raw prediction gap.

  2. 2
    ExplanationRead LINE as four questions

    Does the mean follow the chosen model terms? Are different cases’ errors independent? Are errors approximately normal? Does their variance stay constant? These are linearity, independence, normality, and equal variance. They concern the errors around the conditional mean; a skewed predictor alone answers none of them.

  3. 3
    ExampleA curved graph can belong to linear regression

    The model

    y^=b0+b1x+b2x2

    includes a curve through its squared predictor. Each coefficient still multiplies a known term, so it is linear in its coefficients. This lets you repair a curved mean without leaving the linear-regression framework. The coefficient b1 alone is no longer one constant slope across the predictor range.

  4. 4
    ChallengeChoose which part needs repair

    A model’s residual center bends across fitted values, while the residual band has even width. An analyst proposes changing only the standard errors. Is that enough?

    ---reveal---

    No. The systematic center pattern shows a mean-form problem. Changing standard errors leaves coefficients and predictions unchanged. Investigate a suitable curved term or transformation, then refit.

  5. 5
    ExampleGive the raw residual its sign

    A model predicts a task time of 32 seconds and the person takes 36 seconds. Calculate observed minus fitted:

    e=36−32=4

    seconds. The positive sign says the model underpredicts. If the observed time had been 28 seconds, the residual would be −4 seconds and the model would overpredict. A residual uses the fitted mean, while the true population error is unknown.

  6. 6
    ExplanationAdjust for the case’s pull

    A high-leverage case partly pulls its own prediction toward its outcome. Its raw residual therefore has less variance. Internal studentization uses r=e/[s1−h]. For residual 6, noise estimate 5, and leverage 0.36, the denominator is 50.64=4. The scaled residual is 1.5, not the 1.2 obtained by dividing only by 5.

  7. 7
    Key InsightLet a case reveal its own noise inflation

    An unusual case may inflate the model’s residual standard error and make itself look less exceptional. An externally studentized residual uses the noise estimate after the case is removed. In the study-hours example, deleting one discrepant learner drops that estimate from 5.40 to 0.92, exposing a much larger standardized discrepancy.

  8. 8
    ChallengeCompare a gap with its scale

    Two cases have residual 4 and full-model noise estimate 4. Case A has leverage 0.75 and case B has leverage 0.36. What are their internally studentized residuals?

    ---reveal---

    A is 4/[4√0.25] = 2. B is 4/[4√0.64] = 1.25. The raw gaps match, but A’s gap is larger relative to its residual variability. Scaling accounts for the stronger pull of A on its fitted value.

  9. 9
    ChallengeUse the right normality evidence

    A skewed outcome has residuals close to a normal Q-Q line after a curved mean is fitted. The largest raw residual is not the largest studentized residual. Which evidence addresses normality, and which residual helps compare unusual cases?

    ---reveal---

    The residual Q-Q plot addresses normality around the fitted mean. A leverage-adjusted studentized residual puts case discrepancies on a more comparable scale than the raw gaps.

  10. 10
    RecapKeep the target of each check clear

    Mean form governs the predictions; the variance and dependence assumptions govern usual uncertainty estimates. Residuals are observed minus fitted. Internal scaling accounts for leverage, and deleted scaling also removes the case from the noise estimate. Read a residual column’s definition before applying a screening guide.

2

Read four kinds of diagnostic evidence

15 steps
Distinguish mean shape, spread, distribution shape, and dependence.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionSeparate the questions in the plots
  2. 2
    ExampleFollow a U across the fitted range
  3. 3
    ConnectionLocate the curve in multiple regression
  4. 4
    ChallengeChoose a plot for the suspected effect
  5. 5
    ExplanationRead width after center
  6. 6
    ExampleCalculate a variance-test statistic
  7. 7
    ChallengeProtect the right result
  8. 8
    ExplanationRead the Q-Q axes
  9. 9
    TipDo not turn one test into a verdict
  10. 10
    ChallengeInterpret two outward tails
  11. 11
    ExplanationAsk who shares conditions
  12. 12
    ExampleInterpret ordered residual differences
  13. 13
    ChallengeDecide what a shuffled order can show
  14. 14
    ChallengeChoose the first revision
  15. 15
    RecapUse each check for its own evidence
3

Understand and respond to predictor overlap

11 steps
Calculate VIF and choose a response that fits the research question.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionSeparate a useful prediction from separate effects
  2. 2
    ExplanationFind what remains of a predictor
  3. 3
    ExampleCalculate two different multipliers
  4. 4
    TipCheck more than pairs
  5. 5
    ChallengeRead an auxiliary fit
  6. 6
    ExampleRe-express a complete quadratic
  7. 7
    ConnectionChoose data or a combined measure
  8. 8
    ChallengeRespond to a prediction goal
  9. 9
    ExampleTest a combined contribution
  10. 10
    ChallengePreserve meaning when reducing overlap
  11. 11
    RecapMake the remedy answer the question
4

Investigate a case that stands out

14 steps
Combine leverage, residuals, influence, and a defensible case decision.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionAsk three different case questions
  2. 2
    ExplanationLocate the unusual feature
  3. 3
    ExampleCompare leverage with its average
  4. 4
    Key InsightGood leverage can strengthen a fit
  5. 5
    ChallengeTranslate centered leverage
  6. 6
    ExplanationCombine discrepancy with leverage
  7. 7
    ExampleWork Cook’s distance in stages
  8. 8
    ConnectionChoose the statistic for the target
  9. 9
    ChallengeRank cases using both ingredients
  10. 10
    ExplanationVerify before choosing
  11. 11
    TipKeep two robust methods distinct
  12. 12
    ChallengeReport an unstable conclusion
  13. 13
    ChallengeGo beyond a single deletion
  14. 14
    RecapTurn flags into an explained decision
5

Choose a remedy and recheck the result

13 steps
Transform a model, revise uncertainty, and write a transparent diagnostic report.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionChoose the change for the pattern
  2. 2
    ExplanationChoose an interpretable scale
  3. 3
    ExampleRead a log-outcome coefficient
  4. 4
    ConnectionKeep the prediction target clear
  5. 5
    ChallengeReturn a turning point to its age scale
  6. 6
    ExplanationRevise uncertainty without changing the slope
  7. 7
    Key InsightUnderstand the leverage adjustment
  8. 8
    ExampleRecalculate a robust interval
  9. 9
    ChallengeDecide whether HC3 addresses the design
  10. 10
    ExampleFollow a revision through every check
  11. 11
    ExampleResolve the case and write the evidence
  12. 12
    ChallengeChoose the first step in a mixed pattern
  13. 13
    RecapReport the final model’s evidence

Regression Assumptions and Diagnostics practice questions

30 Practice Questions in 3 sets

Set 1: Read the diagnostic evidence10 Practice Questions

Question 1 of 10

A researcher finds strongly right-skewed practice hours. Which check addresses the regression normality assumption?
  1. Test the practice-hour distribution for normality.
  2. Inspect the fitted model’s residual distribution.
  3. Test every included predictor for normality.
  4. Inspect the pooled outcome distribution alone.
Show answerHide answer
Answer: B
Normality concerns errors around the conditional mean, so residuals from the fitted model provide the relevant evidence. Skewed practice hours are allowed; testing the predictor’s distribution answers a different question and can prompt an unnecessary transformation.

Question 2 of 10

A delivery model predicts 38 minutes for a trip that takes 33 minutes. What is the raw residual?
  1. 5 minutes
  2. −33 minutes
  3. 38 minutes
  4. −5 minutes
Show answerHide answer
Answer: D
The residual is observed minus fitted, so 33 − 38 gives −5 minutes. A negative residual means the model overpredicts the trip time; +5 reverses the subtraction and would imply underprediction.

Question 3 of 10

A residual plot has positive averages at small and large fitted values and negative averages in the middle. Which revision most directly addresses the pattern?
  1. Investigate a curved mean relationship.
  2. Replace ordinary errors with HC3 errors.
  3. Use a more sensitive normality test.
  4. Remove cases with negative residuals.
Show answerHide answer
Answer: A
The residual center bends through the fitted range, showing systematic mean errors. A suitable nonlinear term or transformation can address that form; HC3 changes coefficient uncertainty but leaves the same curved residual pattern and mean predictions.

Question 4 of 10

Residuals stay centered near zero but their typical width increases with fitted values. What is the main signal?
  1. A missing intercept
  2. Perfect predictor overlap
  3. Unequal error variance
  4. Negative serial correlation
Show answerHide answer
Answer: C
A widening band with a stable center suggests changing error variance. A missing mean term is more directly suggested by a systematic shift in the center; width and center answer different diagnostic questions.

Question 5 of 10

In a Q-Q plot, normal quantiles are horizontal and residuals vertical. The left tail is below the line and the right tail above it. What does this suggest?
  1. Lighter tails than normal
  2. Heavier tails than normal
  3. A constant residual variance
  4. A purely right-skewed pattern
Show answerHide answer
Answer: B
Both tails extend farther than the normal reference, suggesting heavy tails. A right-skewed distribution has an asymmetric broad bend; the paired outward tail departures here do not identify only right skew or establish anything about variance across predictors.

Question 6 of 10

A clinic study has one row per patient, with several patients per clinic. Rows are randomly ordered and Durbin–Watson is 2.01. What should the analyst do?
  1. Investigate shared clinic effects in the design.
  2. Treat the statistic as evidence of independent cases.
  3. Use ordinary HC3 errors to remove clinic dependence.
  4. Infer negative correlation among clinic patients.
Show answerHide answer
Answer: A
Durbin–Watson compares neighboring rows, which have no clinic meaning after random ordering. Patients can still share clinic influences, so examine the grouping and use a method that represents it; ordinary HC3 handles unequal variance across independent cases.

Question 7 of 10

Other predictors explain 87.5% of a predictor’s variation. What are its tolerance and VIF?
  1. Tolerance 0.875; VIF 1.14
  2. Tolerance 0.125; VIF 2.83
  3. Tolerance 8; VIF 0.125
  4. Tolerance 0.125; VIF 8
Show answerHide answer
Answer: D
Tolerance is the unexplained fraction, 1 − 0.875 = 0.125, and VIF is its reciprocal, 8. The value 2.83 is approximately the square root of VIF and describes the corresponding standard-error multiplier, not the variance inflation factor.

Question 8 of 10

A participant has unusual predictor values but an outcome close to its prediction. Which description follows?
  1. Low leverage with a large residual
  2. High influence guaranteed by position
  3. High leverage with a small residual
  4. An outcome outlier guaranteed by position
Show answerHide answer
Answer: C
Unusual predictor values define high leverage, while closeness to the fitted outcome gives a small residual. High leverage alone does not establish strong influence: a case following the trend may change the fit little and improve precision.

Question 9 of 10

In a multiple regression, a component-plus-residual plot for practice time has a smooth bend away from its straight reference line. What does this most directly suggest?
  1. Practice time’s adjusted mean contribution needs a curved form.
  2. Practice time is perfectly explained by the other predictors.
  3. The raw outcome must be transformed to a normal distribution.
  4. The cases were measured in a meaningful serial order.
Show answerHide answer
Answer: A
The partial residual plot examines the predictor’s contribution after adjustment, so a bend suggests that its mean effect needs a nonlinear form. It does not establish perfect collinearity or require a normal raw outcome; those claims concern different properties of the data.

Question 10 of 10

A 60-case model with two predictors and an intercept has a U-shaped residual center. A valid case has internally studentized residual 2 and leverage 0.20. Which Cook’s distance and action are best supported?
  1. D ≈ 0.50; delete the case because its influence crosses a guide.
  2. D ≈ 0.33; investigate the curve, refit, and reassess the case.
  3. D ≈ 0.33; adopt HC3 and keep the same mean relationship.
  4. D ≈ 1.33; use a normality test before revising the mean.
Show answerHide answer
Answer: B
Cook’s distance is (4/3)(0.20/0.80) ≈ 0.33, above the 4/60 screening guide but not a deletion instruction. The U-shaped center calls for a mean-form investigation and refitting before reassessing influence; HC3 alone leaves the curve unchanged.
Set 2: Calculate and choose a response10 Practice Questions

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

Question 1 of 10

A case has residual −8, residual standard error 5, and leverage 0.36. What is its internally studentized residual?
  1. −1.60
  2. −2.50
  3. −2.00
  4. −3.20
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

A studentized Breusch–Pagan auxiliary model has R squared 0.06 for 200 cases and three nonconstant predictors. Which reference calculation is correct?
  1. LM = 12, compared with chi-square on 3 df
  2. LM = 0.30, compared with chi-square on 3 df
  3. LM = 12, compared with chi-square on 196 df
  4. LM = 3, compared with chi-square on 12 df
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

A predictor has VIF 6.25. What is the corresponding standard-error inflation factor?
  1. 6.25
  2. 0.16
  3. 3.125
  4. 2.5
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

A complete age-plus-age-squared model is re-expressed using centered age and its square. What stays the same?
  1. The intercept and the linear coefficient
  2. Fitted values and the quadratic coefficient
  3. All VIFs and the predictor correlations
  4. The meaning of zero and the linear coefficient
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

An intercept model uses 80 cases and three predictors. A case’s hat value is 0.12. How does it compare with twice average leverage?
  1. It falls below the guide of 0.15.
  2. It equals the guide of 0.12.
  3. It exceeds the guide of 0.10.
  4. It exceeds the guide of 0.075.
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

A model has two predictors plus an intercept. A case has internally studentized residual 2 and leverage 0.25. What is Cook’s distance?
  1. About 0.67
  2. About 0.33
  3. About 1.33
  4. About 0.44
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

A flagged case has age 277 in the analysis file. The original record clearly says 27. What is the appropriate first action?
  1. Correct the recorded age to 27.
  2. Delete the high-influence case.
  3. Replace the age with the mean age.
  4. Keep the entered age of 277.
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

A log-outcome model has a slope of 0.12 per extra training session. What is the exact percentage change, rounded to one decimal?
  1. About 12.0% higher
  2. About 12.7% higher
  3. About 11.3% higher
  4. About 112.7% higher
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

Each person supplies three measurements. A fitted slope is 0.60, with ordinary SE 0.15 and ordinary HC3 SE 0.25. Using critical value 2, which statement correctly reads the HC3 table and its limitation?
  1. t = 4.0; CI [0.30, 0.90]; account for repeated-person errors.
  2. t = 2.4; CI [0.10, 1.10]; no further dependence adjustment is needed.
  3. t = 4.0; CI [0.10, 1.10]; no further dependence adjustment is needed.
  4. t = 2.4; CI [0.10, 1.10]; account for repeated-person errors.
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

After logging positive task times, the residual band becomes even but shows a U shape. VIFs are low. What is the best next step?
  1. Accept the model because the funnel disappeared.
  2. Use HC3 to remove the U-shaped residual center.
  3. Investigate the remaining mean curvature and recheck the revised fit.
  4. Delete predictors until the VIFs are exactly 1.
Show answerHide answer

Save this lesson to see this answer.

Set 3: Evaluate a revised analysis10 Practice Questions

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

Question 1 of 10

A centered quadratic model uses z = age − 40 and fitted y = 20 + 4z − 0.2z². Observed ages range from 25 to 55. Where is the fitted maximum?
  1. At age 10, outside the observed range
  2. At age 30, inside the observed range
  3. At age 60, outside the observed range
  4. At age 50, inside the observed range
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

Known error variances for two observations are 9 and 36. What relative weights does inverse-variance weighted least squares assign?
  1. The second receives four times the first’s weight.
  2. The first receives four times the second’s weight.
  3. The first receives twice the second’s weight.
  4. The two receive equal weight because both are valid.
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

A researcher includes both a predictor and its square in an additive regression. Is the model still linear in its coefficients, and why?
  1. No; squaring a predictor also squares its fitted coefficient.
  2. No; any curved graph requires nonlinear coefficient estimation.
  3. Yes; every coefficient must represent a constant slope in the raw predictor.
  4. Yes; each coefficient multiplies a known predictor term linearly.
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

A mean is estimated from 240 observations in equal clusters of 10, with intraclass correlation 0.20. What is the approximate equivalent independent sample size?
  1. About 120
  2. About 86
  3. About 48
  4. About 240
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

No pair of predictors has absolute correlation above 0.65, but one predictor has auxiliary R squared 0.96 when regressed on the rest. What follows?
  1. Its VIF is 5; joint overlap can be severe despite modest pairs.
  2. Its VIF is 0.04; joint overlap can be severe despite modest pairs.
  3. Its VIF is 25; joint overlap can be severe despite modest pairs.
  4. Its VIF is 25; its coefficient must be biased toward zero.
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

A 100-case model has four predictors and R squared 0.40. Removing two overlapping predictors gives R squared 0.28. Which joint-test result is correct under usual assumptions?
  1. F = 9.5 with 2 and 95 df
  2. F = 19.0 with 1 and 95 df
  3. F = 9.5 with 2 and 97 df
  4. F = 4.75 with 4 and 95 df
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

For 50 cases, SPSS saves centered leverage 0.11. What hat value should be compared with a hat-value screening guide?
  1. 0.11
  2. 0.13
  3. 0.09
  4. 0.22
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

A three-predictor model has two cases: P has internally studentized residual 3 and leverage 0.02; Q has residual 1.5 and leverage 0.50. Which Cook’s-distance comparison is correct?
  1. P ≈ 0.046; Q ≈ 0.563; P is more influential.
  2. P ≈ 2.25; Q ≈ 0.563; P is more influential.
  3. P ≈ 0.046; Q ≈ 0.563; Q is more influential.
  4. P ≈ 0.061; Q ≈ 0.750; Q is more influential.
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

An eligible, verified case changes a slope from 0.45 to −0.08 when removed. The researcher proposes reporting only the deletion fit because its residual plot looks cleaner. What is the best response?
  1. Report both fits and explain the conclusion’s dependence on the case.
  2. Report only the deletion fit because its diagnostics look cleaner.
  3. Report only the full fit because verified cases prevent sensitivity concerns.
  4. Report only whichever fit has the smaller coefficient p value.
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

A study with 6000 independent cases has a correctly specified mean, a clear funnel, and a nearly straight Q-Q plot. Which report is justified?
  1. Use suitable unequal-variance inference despite the large sample.
  2. Use ordinary standard errors because the sample is large.
  3. Transform every predictor to make its distribution normal.
  4. Ignore the funnel because the Q-Q plot is nearly straight.
Show answerHide answer

Save this lesson to see this answer.

Stuck on your own question? Homework Help

Key Terms

61 Key Terms, each with its definition

A

Added-variable plot
An added-variable plot removes other predictors from both the outcome and one predictor, displaying the partial coefficient as its slope.
A single isolated point may drive the slope after age and education have been removed from both axes.
APA statistical reporting
APA statistical reporting uses consistent symbols and precision, including exact p values and leading zeros for statistics that can exceed 1.
Write Cook’s distance as 0.31, while a p value can be written without a leading zero as .024.
Attenuation
Attenuation is a pull toward zero in a simple-regression slope caused by classical random measurement error in its predictor.
Noisy reports of practice time can weaken the estimated relation between practice and task speed.
Auxiliary regression
An auxiliary regression is a supporting model fitted to calculate a diagnostic statistic for the main regression.
Regressing squared residuals on the predictors supplies the R squared used in a studentized test for constant variance.

B

Back-transformation
A back-transformation returns a fitted result to its original scale, while requiring care about which population quantity it estimates.
Exponentiating a fitted log outcome gives a median under symmetric log errors, not the arithmetic mean.
Bootstrap confidence interval
A bootstrap confidence interval uses estimates from repeated resamples of the data to describe sampling uncertainty empirically.
For independent cases, resample whole cases and refit the regression to obtain a coefficient distribution.
Box–Cox transformation
A Box–Cox transformation uses a power parameter for a positive outcome to improve residual shape and stabilize residual spread.
A fitted power near zero suggests that an interpretable log transformation may work well.
Breusch–Pagan test
The Breusch–Pagan test checks constant variance by assessing how squared regression residuals relate to chosen variance predictors.
The studentized version compares sample size times auxiliary R squared with a chi-square reference.

C

Centering
Centering subtracts a predictor’s mean, shifting its zero point and often reducing overlap with polynomial terms formed from it.
In a centered age model, zero represents the sample’s mean age, not an age of zero years.
Clustering
Clustering occurs when observations belong to groups whose shared conditions can make their regression errors related.
Students from the same class may share an unmeasured influence that a pooled residual plot hides.
Component-plus-residual plot
A component-plus-residual plot adds a predictor’s fitted component to the residuals to examine its adjusted relationship with the outcome.
A smooth bend away from the straight reference line suggests adding a nonlinear term for practice time.
Condition index
A condition index summarizes near dependence in a predictor-matrix dimension and is read together with coefficient variance proportions.
An index above 30 with large variance proportions for several coefficients signals serious overlap.
Conditional mean
A conditional mean is the population average outcome for a specified combination of predictor values.
The model estimates average task time for adults with the same age and practice experience.
Cook’s distance
Cook’s distance summarizes the change in all fitted values when one case is removed, combining residual discrepancy and leverage.
A case well above the rest in a Cook’s distance index plot deserves a data check and a sensitivity analysis.

D

Design effect
A design effect is a sampling variance relative to the variance under independent sampling; clustering often raises it for a mean.
With equal groups of 12 and correlation 0.10, the approximate design effect for a mean is 2.1.
DFBETAS
DFBETAS is a coefficient-specific standardized case-deletion change using a standard error adjusted to the deleted-fit noise estimate.
A large absolute DFBETAS for the age coefficient shows that one case strongly shifts that particular slope.
DFFITS
DFFITS is the standardized change in the fitted value at a case when that case is excluded from the model fit.
DFFITS focuses on the deleted case’s prediction, while Cook’s distance summarizes changes across cases.
Diagnostic report
A diagnostic report states the checks used, their findings, the resulting decisions, and the sensitivity of the conclusions.
A report on a model that was log transformed names the transformation and describes residual plots from the model after the change.
Diagnostic workflow
A diagnostic workflow links design checks, residual evidence, model revision, and rechecking so the final analysis has explicit support.
Fix a missing curve before deciding whether a funnel or skew still needs its own remedy.
Durbin–Watson statistic
The Durbin–Watson statistic compares successive residual differences with total residual variation to assess lag-one correlation.
A value well below 2 in collection order suggests neighboring residuals tend to have similar signs.

E

Elasticity
An elasticity is the proportional outcome response to a proportional predictor change, represented by a slope in a log-log model.
A log-log slope of 0.6 means about 0.6% higher outcome for a 1% increase in the predictor.
Error
An error is an observation’s deviation from the true population mean at its predictor values; that mean is unknown.
A task time can differ from its population mean even when the model’s mean form is correct.
Externally studentized residual
An externally studentized residual scales a residual using the noise estimate from a fit that excludes the case being checked.
Deleting a discrepant case may sharply reduce the noise estimate and reveal how unusual its outcome is.

H

Hat value
A hat value is the diagonal element of the regression hat matrix that gives a case’s leverage in the fitted model.
In an intercept model with 50 cases and four coefficients, the average hat value is 0.08.
HC3
HC3 is a heteroscedasticity-consistent covariance adjustment that divides each squared residual contribution by squared one-minus-leverage.
A high-leverage case receives a stronger residual correction under HC3 than under HC2.
Heavy tails
Heavy tails are tails with more extreme values than a reference distribution, which can make least-squares estimates less precise.
With normal quantiles horizontally, the left residual tail falls below the line and the right tail above it.
Heteroscedasticity
Heteroscedasticity is error variance that changes across predictor values, making ordinary constant-variance uncertainty estimates unreliable.
Residuals spreading out at higher predicted spending suggest heteroscedasticity despite a flat mean trend.
Homoscedasticity
Homoscedasticity is constant error variance across predictor values, supporting the usual pooled-variance standard errors.
An even-width residual band supports using a common error-variance estimate throughout the fitted range.

I

Influence
Influence is the extent to which removing a case changes fitted coefficients or predictions, assessed with case-deletion comparisons.
The case with the largest raw residual need not be the one whose deletion changes the slope most.
Internally studentized residual
An internally studentized residual divides a raw residual by its estimated standard deviation, including a leverage correction.
A case with high leverage can have a modest raw residual but a large internally studentized residual.
Intraclass correlation
An intraclass correlation describes similarity within groups; in a random-intercept variance model it is the between-group variance share.
A class intraclass correlation of 0.10 reduces the independent information supplied by students in that class.

J

Joint test
A joint test evaluates a group of coefficients together, allowing a combined contribution to be detected despite imprecise separate slopes.
Two overlapping skill measures can improve fit together even when neither individual test is significant.

L

Leverage
Leverage measures how unusual a case’s predictor position is and how strongly its own outcome contributes to its fitted value.
A participant far from the center of the predictor cloud can pull the fitted relationship toward that case.
Loess curve
A loess curve is a smooth local trend fitted through points to show broad patterns without requiring one straight line.
A loess curve bending across zero makes a subtle residual U easier to see in a noisy cloud.
Log transformation
A log transformation expresses positive values on a scale of proportional change and compresses large values more than small ones.
Logging positive task times can reduce both right skew and the widening spread at longer predicted times.

M

Mahalanobis distance
Mahalanobis distance measures distance from the predictor center while accounting for the predictors’ scales and correlations.
A combination of ordinary individual scores can still be far from the joint predictor cloud.
Masking
Masking occurs when several unusual observations support the same distortion, hiding their impact in one-case deletion diagnostics.
Removing one of two nearby extreme predictor cases can leave the other holding the distorted slope.
Multicollinearity
Multicollinearity is linear overlap among predictors that reduces the information available to estimate their separate coefficients.
Two related questionnaires can produce wide slope intervals even when their joint prediction is useful.

N

Normal Q-Q plot
A normal Q-Q plot compares ordered observed values with normal quantiles; an approximately straight pattern supports normality.
Check the axis labels before deciding whether the tails of a residual Q-Q plot bend up or down.

O

Omitted-variable bias
Omitted-variable bias occurs when an excluded influence on the outcome is related to retained predictors and distorts their estimated effects.
Deleting an important predictor to reduce VIF can shift its contribution into the coefficients that remain.
Outcome outlier
An outcome outlier has an observed outcome far from its prediction relative to the estimated residual variability at that case.
A high score is not an outlier if the person’s predictor values make that score unsurprising.

P

P-P plot
A P-P plot compares observed and theoretical cumulative probabilities and emphasizes distributional agreement near the center.
SPSS’s regression normal probability plot is a P-P display, which is less tail-focused than a Q-Q plot.
Perfect multicollinearity
Perfect multicollinearity is exact linear dependence among model terms, preventing unique estimates of all their coefficients.
Total time cannot enter with both exact component times unless a redundant term is removed.
Preregistration
Preregistration records planned questions and analytical decisions before results are known, helping limit result-driven choices.
An age eligibility rule recorded before fitting the model gives a consistent reason for excluding a case.

R

Refitting
Refitting estimates a revised regression after a change to its terms, scale, data, or weighting, requiring fresh diagnostic checks.
After logging time, inspect the new residual plots instead of relying on the plots from the original fit.
Residual
A residual is the observed outcome minus its fitted value, estimating a deviation from the population regression mean.
An observed score of 68 and fitted score of 72 give a residual of −4: the model overpredicts.
Residual standard error
The residual standard error estimates the common error standard deviation from the residual sum of squares and residual degrees of freedom.
A residual standard error of 3 seconds describes the typical noise scale in a task-time model.
Residuals-versus-fitted plot
A residuals-versus-fitted plot displays prediction errors against fitted outcomes to reveal curves, changing spread, and unusual cases.
A U-shaped center line shows that the model underpredicts at the low and high ends of its predictions.
Ridge regression
Ridge regression shrinks coefficients with a penalty, trading some bias for reduced variance when predictors overlap strongly.
A prediction model may use ridge regression when highly correlated predictors destabilize ordinary slopes.
Robust regression
Robust regression changes the fitting procedure to limit the effect of unusual observations, often by downweighting large residuals.
Huber weighting can reduce outcome-outlier effects but still miss a high-leverage case with a small residual.
Robust standard error
A heteroscedasticity-consistent robust standard error estimates coefficient uncertainty while allowing unequal error variance across independent cases.
A coefficient of 0.42 stays 0.42 when HC3 replaces the ordinary standard error, but its confidence interval changes.
Robust Wald test
A robust Wald test assesses several coefficient restrictions using a covariance estimate suited to the error-variance structure.
Use a robust joint test when comparing several slopes after choosing HC coefficient standard errors.

S

Scale-location plot
A scale-location plot shows the square root of absolute standardized residuals against fitted values to assess changes in spread.
A rising smooth line indicates that residual magnitudes tend to increase with predicted task time.
Sensitivity analysis
A sensitivity analysis checks how an analytical conclusion changes under a reasonable alternative decision, such as omitting a valid case.
Compare slopes and intervals with and without an influential observation, and report any change in conclusions.
Shapiro–Wilk test
The Shapiro–Wilk test assesses departure from a normal distribution; its sensitivity depends strongly on sample size.
A very large sample can yield a small normality-test p value even for a minor residual departure.
Structural collinearity
Structural collinearity is overlap created by constructing related model terms, such as a predictor and its square.
Centering practice time before squaring it often reduces the VIFs of the polynomial terms.

T

Tolerance
Tolerance is the proportion of a predictor’s variation left unexplained by the other predictors, equal to the reciprocal of its VIF.
Tolerance 0.20 means that the other predictors explain 80% of this predictor’s sample variation.
Turning point
A turning point is where a quadratic curve changes direction, found from its linear and squared-term coefficients.
When age was centered before squaring, add its mean to the calculated turning point before comparing it with observed ages.

V

Variance inflation factor
A variance inflation factor measures coefficient-variance inflation from predictor overlap using one divided by one minus auxiliary R squared.
A VIF of 4 corresponds to a standard-error multiplier of 2 in the matching no-overlap comparison.

W

Weighted least squares
Weighted least squares fits a model with observations weighted by their precision, using inverse error variances when these are known.
An observation with error variance 4 receives four times the weight of one with error variance 16.
White test
The White test checks unequal variance using an auxiliary regression that includes predictor squares and cross-products.
Its extra terms detect more variance patterns but use more degrees of freedom than a simpler test.

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