Displaying 1 result from an estimated 1 matches for "trsex".
Did you mean:
trex
2006 Mar 01
1
Drop1 and weights
Hi,
If I used drop1 in a weighted lm fit, it seems to ignore the weights
in the AIC calculation of the dropped terms, see the example below.
Can this be right?
Yan
--------------------
library(car)
> unweighted.model <- lm(trSex ~ (river+length +depth)^2-
length:depth, dno2)
> Anova(unweighted.model)
Anova Table (Type II tests)
Response: trSex
Sum Sq Df F value Pr(>F)
river 0.1544 1 3.3151 0.07100 .
length 0.1087 1 2.3334 0.12911
depth 0.1917 1 4.1145 0.04461 *
river:le...