Dear Pamela,

It's very hard to tell from your message what you did, but I'm guessing that 
you passed the object produced by Anova() to drop1(). If this is in fact what 
you did, it makes no sense, because Anova() doesn't produce a linear-model 
object but rather takes such an object as its argument.

I hope this helps,
 John

--------------------------------------
John Fox, Professor
McMaster University
Hamilton, Ontario, Canada
Web: socserv.mcmaster.ca/jfox



> -----Original Message-----
> From: R-help [mailto:[email protected]] On Behalf Of Pamela
> Wong
> Sent: Saturday, July 16, 2016 1:12 AM
> To: [email protected]
> Subject: [R] Troubleshooting Type III SS and drop1()
> 
> Hi there
> 
> I am trying to compute Type III SS plus model selection and find that an
> error pops up when I'm trying to use the drop1() function with a model
> output using Anova(). I am looking at effects of four factors and their
> interactions (with unbalanced sample sizes across some factor groups),
> on a continuous variable.
> 
> I get an error that reads: "Error in terms.default(object) : no terms
> component not attribute". I also can't compute an AIC for the model
> outputs.
> 
> I am wondering if there is something I need to do to my data or if there
> is some limitation to the analysis I am trying to do.
> ______________________________________________
> [email protected] mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-
> guide.html
> and provide commented, minimal, self-contained, reproducible code.

______________________________________________
[email protected] mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to