Does linear regression require normally distributed predictors or outcome? Explain why or why not.

Quick Overview

Asks whether linear regression needs normally distributed predictors or a normally distributed outcome, and why. Tests the difference between the marginal outcome and the error distribution, what OLS needs for unbiased coefficients versus exact inference, and how to check residuals.

Does linear regression require normally distributed predictors or outcome? Explain why or why not.

Role: Data Scientist

Category: Machine Learning

Difficulty: easy

Interview Round: Other

Does linear regression require the predictor variables or the outcome variable to be normally distributed? Explain why or why not. ```hint Attach each assumption to a term Write the model as $Y = X\beta + \varepsilon$ and ask which of the three pieces ($X$, $Y$ or $\varepsilon$) a normality assumption would apply to. ``` ### What a Strong Answer Covers - Whether the predictors need any distribution, and why - The difference between the marginal distribution of $Y$ and the conditional distribution of the errors - What normal errors are needed for, and what still holds without them - How to check the assumption in practice ### Follow-up Questions - If the errors are heavily skewed, which conclusions from an OLS fit still hold and which do not? - Why do prediction intervals depend on error normality even when the sample is large? - When would you log-transform the outcome, and what does that change about the model? - A residual Q-Q plot looks close to a straight line, but a Shapiro-Wilk test on 200,000 residuals rejects normality. How do you read that?

Overview: Asks whether linear regression needs normally distributed predictors or a normally distributed outcome, and why. Tests the difference between the marginal outcome and the error distribution, what OLS needs for unbiased coefficients versus exact inference, and how to check residuals.

Nov 24, 2026
easyData ScientistOtherMachine Learning
0
0

Does linear regression require the predictor variables or the outcome variable to be normally distributed? Explain why or why not.

What a Strong Answer Covers Guidance

  • Whether the predictors need any distribution, and why
  • The difference between the marginal distribution of YY and the conditional distribution of the errors
  • What normal errors are needed for, and what still holds without them
  • How to check the assumption in practice

Follow-up Questions Guidance

  • If the errors are heavily skewed, which conclusions from an OLS fit still hold and which do not?
  • Why do prediction intervals depend on error normality even when the sample is large?
  • When would you log-transform the outcome, and what does that change about the model?
  • A residual Q-Q plot looks close to a straight line, but a Shapiro-Wilk test on 200,000 residuals rejects normality. How do you read that?