# What violates the assumptions of regression analysis? [duplicate]

I have been asked what violates the assumptions of regression analysis, but I don't know how to answer! They said it was either "The error term does not have the normal distribution", "The error term is uncorrelated with an explanatory variable", "The error term has a constant variance", or "The error term has a zero mean". I don't know... can you also explain the answer so I can understand it better?

Thanks!

Your question is a little broad so I will try to write briefly some of the assumptions statisticians make about the variables used in the analysis. If you need explanation of a particular assumptions, look up CV, and if useful thread not found, post a new question. Consider the regression equation $\hat y = \beta_0 + \beta_1x_1 + \beta_2x_2 + ... + \beta_px_p + \epsilon_i$ and below are the common OLS regression assumptions:
• Normality: the variables as well as the unexplained error term, $\epsilon$, are normally distributed (bell shaped). It should be clear from histograms of variables and of error terms (residuals) whether normality assumption holds. A normal probability plot or normal quantile plot of the residuals can be used to check if the distribution of $\epsilon$ is normal. More about normality.
• Statistical independence of the errors: the error terms, $\epsilon,$ are not correlated with independent variables. Also, there is no correlation between consecutive errors themselves in the case of time series data.
• Error term has zero-mean: the mean of errors is $0$, i.e., $E[\epsilon] =0$
This question is not precise but I think the answer you are looking for is the zero conditional mean assumption that says that E(error | X) = 0. Note: you need strict exogeneity to show that OLS is unbiased (a small sample property) but for consistency (a large sample property) the weaker assumptions of zero mean of the error term and errors being uncorrelated with each regressor are sufficient. Obviously this is not the only assumption: for instance, you also need the full rank assumption for consistency but since you question is very generic, I am unable to provide a complete answer. You might find it useful to refer to an introductory econometrics textbook like Wooldridge, J. (2015). Introductory econometrics: A modern approach. Nelson Education.