Regression interview question

StatisticsRegressionLinear Modelsbasic

Which set of conditions is the standard list of assumptions behind classical linear regression inference?

  1. ALinearity, independent errors, constant error variance, and normally distributed predictor variables.
  2. BLinearity, independent errors, constant error variance, and normally distributed error terms.
  3. CLinearity, independent errors, a sample of at least 30 rows, and predictors standardized to unit variance.
  4. DLinearity, independent errors, error variance that grows with x, and normally distributed error terms.
Show the answer and explanation

Correct answer: B, Linearity, independent errors, constant error variance, and normally distributed error terms.

Explanation Regression

The classical assumptions are often remembered as LINE:

  • Linearity: the mean of y is a linear function of the coefficients.
  • Independence of the errors.
  • Normality of the errors.
  • Equal variance of the errors (homoscedasticity).

Why the other lists are wrong:

  • Predictors do not need to be normally distributed; x can be skewed, binary or categorical. Normality is about the errors.
  • There is no "30 rows" requirement, and standardizing predictors changes the scale of coefficients, not the validity of the model.
  • Error variance that grows with x is heteroscedasticity, a violation of the equal-variance assumption, not one of the assumptions.

Normality mainly matters for exact t- and F-tests in small samples; linearity matters for unbiased coefficients, and independence and equal variance for valid standard errors.

Interview tip: list LINE, then say how you check each: residual-vs-fitted plot, Durbin–Watson or study design, Q-Q plot, and scale-location plot.

Practice it as a quiz

Answer this and the other free questions with instant grading, streaks and weak-topic tracking, or unlock all 4,000 questions.

More Statistics questions

  1. In information theory, what does the Shannon entropy H(X) of a discrete random variable measure?
  2. What is the difference between descriptive and inferential statistics?
  3. To stress-test a ratio metric, a data scientist simulates 10,000 draws of the ratio of two independent standard normal noise terms (a standard Cauchy…
  4. before and after hold the weekly spend of the same 40 customers before and after a loyalty-tier change, in the same customer order. What does this ttest_ind…
  5. A pricing team fits the demand model below on weekly store data. How should the coefficient on ln(price) be interpreted?