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
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
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 <-
3 matches
Mail list logo