Possible Duplicate:
R-squared: X “explains” the percentage of variation of the Y values. Does axis order matter?
Excuse me about the strange question but I have a doubt regarding the linear regression. Take a look at the code below:
x = rnorm(100)
y = rnorm(100)
mod1 = lm(x~y+0)
mod2 = lm(y~x+0)
As You can see I change the regressand and the regressors on those two linear models. My question regarding the residuals of those two models, why they should be different if I use the same variables?