[R] dropterm() in MASS
Patrick Connolly
P.Connolly at hortresearch.co.nz
Mon Apr 29 01:51:50 CEST 2002
To compare two different models, I've compared the result of using
dropterm() on both.
Single term deletions
Model:
growth ~ days + I(days^0.5)
Df Sum of Sq RSS AIC
<none> 2.8750 -0.2290
days 1 4.8594 7.7344 4.6984
I(days^0.5) 1 0.0234 2.8984 -2.1722
AND
Single term deletions
Model:
growth ~ days + I(days^2)
Df Sum of Sq RSS AIC
<none> 2.8750 -0.2290
days 1 5.8338 8.7088 5.5290
I(days^2) 1 0.0234 2.8984 -2.1722
I understood that the AIC column was the change in AIC when that term
was dropped from the model.
QUESTION:
Why would (should) the effect of dropping quite different terms be
exactly the same? It's consistent with all the data of this type I've
tried it on.
best
--
*************************************************************
___ Patrick Connolly
{~._.~} HortResearch Great minds discuss ideas;
_( Y )_ Mt Albert Average minds discuss events;
(:_~*~_:) Auckland Small minds discuss people.
(_)-(_) New Zealand .... Anon
Ph: +64-9 815 4200 x 7188
*************************************************************
______________________________________________________
The contents of this e-mail are privileged and/or confidential to the
named recipient and are not to be used by any other person and/or
organisation. If you have received this e-mail in error, please notify
the sender and delete all material pertaining to this e-mail.
______________________________________________________
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list