Displaying 4 results from an estimated 4 matches for "impchiefsrm".
2008 Oct 16
1
lmer for two models followed by anova to compare the two models
Dear Colleagues,
I run this model:
mod1 <- lmer(x~category+subcomp+category*subcomp+(1|id),data=impchiefsrm)
obtain this summary result:
Linear mixed-effects model fit by REML
Formula: x ~ category + subcomp + category * subcomp + (1 | id)
Data: impchiefsrm
AIC BIC logLik MLdeviance REMLdeviance
4102 4670 -1954 3665 3908
Random effects:
Groups Name Variance Std.Dev.
id...
2008 Dec 22
0
post hoc comparisons on interaction means following lme
...agues,
I have scoured the help files and been unable to find an answer to my
question. Please forgive me if I have missed something obvious.
I have run the following two models, where "category" has 3 levels and
"comp" has 8 levels:
mod1 <- lmer(x~category+comp+(1|id),data=impchiefsrm)
mod2 <- lmer(x~category+comp+category*comp+(1|id),data=impchiefsrm)
followed by:
anova(mod1,mod2)
The anova shows that the interaction term specified in the second model is
significant when added to the main effects model.
Now I'd like to run post hoc comparisons using glht to discern w...
2008 Dec 23
0
Tukey on interaction means after lmer
Dear Colleagues,
I fit this model:
mod1 <- lmer(x~category*comp+(1|id),data=impchiefsrm)
where category has 4 levels and comp has 8 levels.
These work:
glht(mod1, linfct=mcp(category="Tukey")
glht(mod1, linfct=mcp(comp="Tukey")
What I'd like is (conceptually):
glht(mod1, linfct=mcp(category:comp="Tukey")
but it gives a syntax error.
Any help is...
2008 Dec 29
0
Serial Correlation Test for Short Time Series
...agues,
I have scoured the help files and been unable to find an answer to my
question. Please forgive me if I have missed something obvious.
I have run the following two models, where "category" has 3 levels and
"comp" has 8 levels:
mod1 <- lmer(x~category+comp+(1|id),data=impchiefsrm)
mod2 <- lmer(x~category+comp+category*comp+(1|id),data=impchiefsrm)
followed by:
anova(mod1,mod2)
The anova shows that the interaction term specified in the second model is
significant when added to the main effects model.
Now I'd like to run post hoc comparisons using glht to discern w...