Skip to content

lmer, estimation of p-values and mcmcsamp

3 messages · Maureen Ryan, Mark Difford, levyofi

#
Hi Maureen,

There is a specialist mailing list for mixed-models, where you are likely to
get a well-informed answer to this, quite possibly from Prof. Bates himself
(the author of lmer).

https://stat.ethz.ch/mailman/listinfo/r-sig-mixed-models

Regards, Mark.

PS: R Hompage -> Mailing Lists for other specialist list.
Maureen Ryan wrote:

  
    
#
For getting the p-values from a lmer object you need to use the pvals.fnc()
function. do the following:

library(lme4)
library(languageR)
lnmass <- lmer(log.mass ~ treatment + (1|block), data=exp1)
pvals.fnc(lnmass, nsim=10000)

See the documentation for futher details.

Best regards,
Ofir.
Maureen Ryan wrote: