Hi All,

I'm fitting an intercept ANOVA model using R. I'm using following contrast
statement, so my first level is considered as base level.

options(contrasts = c("contr.treatment", "contr.treatment"))
My data has two factors are "Month" and "WeekDay". Due to default alphabetic
ordering, the Month(April) and WeekDay(Friday) are considered as base levels
and hence their coefficient is not shown in the ouput. Other month
coefficient's are printed after subtracting April's coefficient from them;
similarly this holds for weeks' coefficients.

My Question is: How to get back the original month coefficients (including
April's coef.). So that I can find seasonal effects (for e.g. I'll average
Feb, Mar, Apr to get an estimate for "SPRING" season). Any suggestions on
how can I do this?

Thanks,
Xin

        [[alternative HTML version deleted]]

______________________________________________
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