Displaying 1 result from an estimated 1 matches for "clusterlevels".
2007 Apr 18
0
Specifying ANCOVA models in R
...fect with 2 levels, and a bunch of 7 continuous predictors. I
believe the correct model specification is an ANCOVA design(?)
I can fit this model in MINITAB using, say:
glm response = cluster;
covariate predictor1 predictor2 ... predictor7.
In R, if I specify the model using
cluster<-ordered(clusterlevels=c("Low","High"))
Model<-lm(predictor~response1+response2+ ... response7+cluster)
I can replicate the results from MINITAB, getting identical P and t values
when I do summary(lm(Model)), but the F values are all different (huge) when
I do summary(aov(Model)) for all correlate...