Re: [R] Is this *always* the intended R^2 value for no intercept in lm?

2022-11-06 Thread David Winsemius
To Thierry; When you omit an intercept you require that the line in multivariate space that represents the ‘predictions’ go through the (0,0,0,…) I.e. the origin. It’s a fairly restrictive requirement. There IS an intercept, even though it’s not explicitly seen in the model. If it’s not

Re: [R] Is this *always* the intended R^2 value for no intercept in lm?

2022-11-05 Thread Bert Gunter
FAQ 7.41 and https://stackoverflow.com/questions/57415793/r-squared-in-lm-for-zero-intercept-model (among numerous others that could no doubt be found with a bit of searching). In short, the "null models" against which you are comparing the fitted model are different with and without an

[R] Is this *always* the intended R^2 value for no intercept in lm?

2022-11-05 Thread Thierry Zell
I am puzzled by the computation of R^2 with intercept omitted that is already illustrated by the following example taken from help("lm") ## Annette Dobson (1990) "An Introduction to Generalized Linear Models". ## Page 9: Plant Weight Data. ctl <-