t is that there
> is no intercept term in the model.
>
> On Wed, 17 Jan 2007, endeitz wrote:
>
>>
>> I am curious as to the "lm" calculation of R2 (multiple coefficient of
>> determination, I assume) when intercept is zero. I have 18 data points,
>>
I am curious as to the "lm" calculation of R2 (multiple coefficient of
determination, I assume) when intercept is zero. I have 18 data points, two
independent variables:
First, a model with an intercept:
> mod0=lm(Div~Rain+Evap,data=test)
> summary(mod0)$r.squared
[1] 0.6257541
> cor(predict(mo