On Mon, 3 Nov 2003, Simon Wotherspoon wrote:
I would consider the calculation of r-squared in the following to be a
bug, but then, I've been wrong before. It seems that R looks to see if the
model contains an intercept term, and if it does not, computes r-squared in
a way I don't
On 3 Nov 2003 at 17:53, Simon Wotherspoon wrote:
If you are really interested, you could write your own function
to calculate r-squared, deciding from the model matrix if the range
space of the model matrix contains a constant vector.
If model is the model matrix with n rows, one way is to
Hi,
I would consider the calculation of r-squared in the following to be a
bug, but then, I've been wrong before. It seems that R looks to see if the
model contains an intercept term, and if it does not, computes r-squared in
a way I don't understand. To my mind, the following are two