Le jeudi 30 juillet 2009 à 16:41 -0600, Mark Na a écrit :
> Dear R-helpers,
> 
> I have a linear model with a year effect (year is coded as a factor), i.e.
> the parameter estimates for each level of my year variable have significant
> P values (see some output below) and I am interested in testing:
> 
> a) the overall effect of year;
> b) the significance of each year vis-a-vis every other year (the model
> output only tests each year against the baseline year).

install.packges("multcomp")
help.start()

and use the vignettes ! They're good (and are a good complement to
somewhat incomplete  help pages : what in h*ll are valid arguments to
mcp() beyond "Tukey" ??? Curently, you'll have to dig in the source to
learn that...).

HTH

                                        Emmanuel Charpentier

______________________________________________
R-help@r-project.org mailing list
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