Skip to content

gamm4 model fit error

1 message · Ben Bolker

#
On 14-07-13 01:37 PM, Nick Lange wrote:
I'm not surprised that you don't get p-values: there is even an R FAQ
on this subject

http://cran.r-project.org/doc/FAQ/R-FAQ.html#Why-are-p_002dvalues-not-displayed-when-using-lmer_0028_0029_003f

(which simply refers to

https://stat.ethz.ch/pipermail/r-help/2006-May/094765.html

 -- you may also want to look at http://glmm.wikidot.com/faq)
I'm not surprised she doesn't get the warning messages (those were
introduced in 1.1-6), but I *am* surprised if she gets p-values.  Since
you have large degrees of freedom, you could just compute two-tailed
p-values as:

cc  <- coef(summary(fit$mer))
2*pnorm(abs(cc[,"t value"]),lower.tail=FALSE)

or

2*pnorm(-abs(cc["t value"]))