Displaying 1 result from an estimated 1 matches for "modeltemp".
2013 Jul 06
1
(lme4) p-values for single terms in mixed models involved in sig interactions
...e single term removed.
This is an example of what the model would look like:
library(lme4)
minadequatemodel<-lmer(sq_rate~(day+temp+brood_size+weight+weight:brood_size+(1|ident),data=prov,REML=FALSE)
##to get p values for e.g. temp
pvalmodtemp<-update(minadequatemodel,~.+temp)
anova(modelfin,modeltemp)
###but what's the correct way to get p value for brood_size or weight?
Your help would be greatly appreciated...thanks!