Why some people test regression-like model assumptions on their raw data and other people test them on the residual? I am a Phd Student in experimental psychology and I try hard to improve my skills and knowledge about how to analyze my data.
Until my 5th year in Psychology, I thought that the regression-like models (e.g., ANOVA) assume the following things:


*

*normality of the data

*variance homogeneity for the data
and so on


My undergraduate courses lead me to believe that the assumptions were about the data. However in my 5th year, some of my instructors underlined the fact that the assumptions are about the error (estimated by the residuals) and not the raw data.
Recently I was talking about the assumptions question with some of my colleagues who also admited that they discovered the importance of checking the assumptions on the residual only in their last years of university.
If I understand well, the regression-like models make assumptions on the error. Thus it makes sense to check the assumptions on the residuals. If so, why some people check the assumptions on the raw data? Is it because such checking procedure approximate what we would obtain by checking the residual?
I would be very intersting in a disccussion about this issue with some people who have more accurate knowledge than my colleagues and I. I thank you in advance for your answers.
 A: I find the differentiation between the residuals and the raw data unhelpful since both refer more to your actual sample and not the underlying population distribution. It's better to think of as some requirement being "in-group requirements" and others "between group assumptions".
For example, variance homonenity is a "between-group assumption" since it say that the within group variance is the same for all groups.
Normality is a "within group" assumption which requires that within each group y is distributed normally. 
Note that having normality over your entire raw y usually means you have no effect - look at the distribution of gender without differentiating between females and males. It will not be normally distributed, because of the strong gender effect. But within each gender it holds quite well.  
A: Basically, you are on the right track. You will find a discussion about the aspect of normality in Normality of dependent variable = normality of residuals?
Some assumptions of the classic linear model are indeed about errors (using residuals as realizations of them):


*

*Are they uncorrelated? (Relevant for inference and optimality of the OLS-estimators)

*Do they have equal variance? (Relevant for inference and optimality of the OLS-estimators)

*Are they centered around 0? (Key assumption to get unbiased estimators and predictions)

*If the sample is very small: are they normal or at least symmetrically distributed? (Relevant for inference)


Other conditions are about "raw data": 


*

*Are there no gross outliers in regressors? (High leverage observations can destroy the whole model)

*No perfect multicollinearity? (Would cause computational problems, at least in some software packages)


Now, your undergrad teacher might be correct as well:


*

*Maybe you were focusing on univariate tests like the one-sample t-test. There, the assumptions are about the raw data.

*If the $R^2$ is quite low and the response variable looks everything but normal, then the same will most likely also be true for the residuals.

*How would you check homoscedasticity etc. based on raw data? Maybe you misunderstood him or her.

