Displaying 1 result from an estimated 1 matches for "epilepticbc".
Did you mean:
epileptic
2009 Feb 15
1
GLMM, ML, PQL, lmer
...ffects, one subject specific, and one observation specific. Thus if we
count random effects, there are more parameters than observations. When I
try to run the following code, I get an error saying: "Error in
mer_finalize(ans) : q = 295 > n = 236".
require (lme4)
require (glmmAK)
data(epilepticBC)
dat = epilepticBC
dat$rand=1:nrow(dat)
dat$V4=dat$visit==4
formula1 = Seizure ~ Base + Trt + I(Trt*Base) + Age + V4
fit=lmer (update (formula1, .~. + (1|id) + (1|rand)), family=poisson,
data=dat, nAGQ=1)
Is it true that there is no way to fit such a model in an ML analysis? In
other words, is the...