1. Home
  2. Explore
  3. Statistics
  4. Regression Diagnostics

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Regression Diagnostics

  • 47Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Residuals and Heteroskedasticity
  • spaceFlip card
  • KI knew it
  • DI didn't know it
  • ←Previous card
  • →Next card

What is a regression residual for an observation?

Tap to flipClick to flipspace

The residual is the actual dependent-variable value minus its predicted value: ei=yi−y^ie_i = y_i - \hat{y}_iei​=yi​−y^​i​.

Or swipe the card

47 cards

  1. What is a regression residual for an observation?

    The residual is the actual dependent-variable value minus its predicted value: ei=yi−y^ie_i = y_i - \hat{y}_iei​=yi​−y^​i​.

  2. What is the average of the residuals in an ordinary least squares regression with an intercept?

    It is zero.

  3. What does the regression assumption of random errors mean?

    Any prediction error is assumed to arise from chance events rather than a systematic pattern in particular observations.

  4. Why can a regression model have a zero average residual yet still be unreliable?

    Residuals can average to zero while still displaying systematic patterns, such as having different variances across predictor values.

  5. What is homoskedasticity?

    The assumption that the error variance is the same across all values of the independent variables.

  6. What is heteroskedasticity?

    A violation of homoskedasticity in which the error variance differs across values of an independent variable.

  7. How can a plot of squared residuals against an independent variable reveal heteroskedasticity?

    A changing spread or systematic pattern in squared residuals across predictor values suggests heteroskedasticity.

  8. What pattern in residuals would indicate homoskedasticity across predictor values?

    The residuals have a similar spread at each predictor value, even though individual residuals differ.

  9. In the savings-and-income example, what did heteroskedasticity look like?

    Savings was predicted more accurately at low income, where errors were tightly clustered, and less accurately at high income, where errors were more spread out.

  10. What problems can heteroskedasticity cause for regression estimates?

    Estimates become less precise and less efficient, making statistically significant results less likely; the model's R2R^2R2 may also be reduced.

  11. What is one way to address heteroskedasticity caused by omitted relevant predictors?

    Add relevant independent variables that improve the model's predictions.

  12. Why might a nonlinear predictor effect produce heteroskedasticity in a linear model?

    If the model assumes a constant effect when the true effect changes across predictor values, its prediction errors may follow a systematic pattern.

  13. What is the basic diagnostic procedure for checking heteroskedasticity using a residual plot?

    Fit the regression, obtain predicted values, calculate residuals, square them, plot squared residuals against an independent variable, and inspect the plot for a changing spread or pattern.

  14. What does the linear-in-the-parameters assumption say about a predictor's effect?

    The predictor's coefficient—and thus its effect in the model—is constant across values of that predictor.

  15. What is a positive logged effect of an independent variable?

    The effect is positive but diminishes as the independent variable increases: a small increase at low values has a larger impact than the same increase at high values.

  16. How can a regression model represent a logged effect of an independent variable?

    Take the natural logarithm of the independent variable and use that logged variable as the predictor.

  17. How should the coefficient of a logged independent variable be interpreted in this lecture's approach?

    A 1%1\%1% increase in the independent variable is associated with a change of 0.01b^0.01\hat{b}0.01b^ units in the dependent variable.

  18. Why might logging an independent variable remove a pattern from the residuals?

    If the predictor truly has a logged rather than constant effect, modeling its logarithm can represent the relationship more appropriately and make residuals more random.

  19. What is an interactive effect?

    An effect in which the relationship between one independent variable and the dependent variable depends on the value of another independent variable.

  20. How is an interaction term constructed for two independent variables?

    Multiply the two independent variables: X1X2X_1X_2X1​X2​.

  21. What is the general regression equation for two predictors with an interaction?

    Y^=b^1X1+b^2X2+b^3(X1X2)+a^\hat{Y} = \hat{b}_1X_1 + \hat{b}_2X_2 + \hat{b}_3(X_1X_2) + \hat{a}Y^=b^1​X1​+b^2​X2​+b^3​(X1​X2​)+a^.

  22. In a model with X1X_1X1​, X2X_2X2​, and their interaction, what does b^1\hat{b}_1b^1​ represent?

    The effect of X1X_1X1​ when X2=0X_2=0X2​=0.

  23. In a model with X1X_1X1​, X2X_2X2​, and their interaction, what does b^2\hat{b}_2b^2​ represent?

    The effect of X2X_2X2​ when X1=0X_1=0X1​=0.

  24. How should you interpret a significant b^1\hat{b}_1b^1​ in a model with an interaction between X1X_1X1​ and X2X_2X2​?

    X1X_1X1​ has a statistically significant effect on YYY when X2=0X_2=0X2​=0.

  25. How should you interpret an insignificant b^1\hat{b}_1b^1​ in a model with an interaction between X1X_1X1​ and X2X_2X2​?

    There is no evidence that X1X_1X1​ has a statistically significant effect on YYY when X2=0X_2=0X2​=0.

  26. Why can the significance of a main-effect coefficient in an interaction model be insufficient for evaluating the predictor's effect at other values?

    The main-effect coefficient tests the predictor's effect only when the other interacting variable equals zero.

  27. How can zero-centering help test an interaction effect at a particular value of a variable?

    Recode the variable so the value of interest becomes zero, create the interaction using the recoded variable, and refit the model.

  28. In the education-and-gender income example, what did the original education coefficient test?

    It tested education's effect on income for men, because gender was coded 000 for men and 111 for women.

  29. In the education-and-gender example, what was the estimated effect of education on women's income?

    The estimated education effect for women was 330330330 income units per additional unit of education.

  30. How did the lecture make the education effect for women directly testable in the interaction model?

    It reversed the gender coding so women were coded 000, created a new education-by-recoded-gender interaction, and refit the regression.

  31. In the education-and-gender example, how can you test gender's effect on income at a particular education level?

    Subtract that education level from education so it becomes zero, create a new interaction with gender, and refit the model.

  32. What did the recentered interaction model indicate about gender and income at high education levels in the example?

    At the specified high education level, women earned an estimated 252025202520 more than men, and the gender effect was significant at the 0.0010.0010.001 level.

  33. What is autocorrelation in a time-series regression?

    Autocorrelation occurs when regression errors are correlated across time rather than behaving randomly over time.

  34. What kind of data structure makes autocorrelation a concern in the lecture?

    Time-series data, in which a subject or unit is observed repeatedly across multiple time periods.

  35. How can a plot of regression errors against time reveal autocorrelation?

    A sustained pattern in the errors over time, such as runs of positive errors followed by negative errors, suggests autocorrelation.

  36. What pattern in the Japan defense-spending example indicated autocorrelation?

    Errors were positive before 1960, negative from 1960 to 1980, and positive again after 1980.

  37. How can a time-count variable be constructed to address autocorrelation?

    Create a variable that begins at 000 in the first time period and increases by 111 in each subsequent period.

  38. How can adding a time-count variable help address autocorrelation?

    It accounts for a time trend in the dependent variable that the original model omitted, which can make the residual pattern more random.

  39. How is the coefficient of a time-count variable interpreted?

    Holding other predictors constant, it is the estimated change in the dependent variable for each one-unit increase in time.

  40. What is a lagged dependent variable?

    It is the dependent variable's value from one time period earlier, included as a predictor for the current time period.

  41. What relationship does a lagged dependent variable allow a time-series model to assess?

    Whether the dependent variable's value in one period influences its value in the next period.

  42. How is the coefficient of a lagged dependent variable interpreted?

    Holding other predictors constant, it is the estimated change in the current dependent variable for a one-unit increase in its value in the previous period.

  43. What is multicollinearity?

    A condition in which independent variables in a regression model are correlated with one another.

  44. Why can multicollinearity make it harder to identify which predictor influences the dependent variable?

    Highly similar predictors overlap in the information they provide, making it difficult to distinguish their separate contributions.

  45. What is one consequence of multicollinearity for statistical significance?

    It makes significant results less likely.

  46. How can you screen for multicollinearity?

    Run a correlation analysis among the independent variables and check whether any pairs are highly correlated.

  47. What are two simple ways to address highly correlated independent variables?

    Leave one of the highly correlated variables out of the model, or run separate models that include one or the other.

Card 1 of 47
Card 1 of 47

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent