Displaying 1 result from an estimated 1 matches for "apfa".
Did you mean:
alfa
2007 Feb 10
2
error using user-defined link function with mixed models (LMER)
...,
linkinv=logexp(ExposureDays)$linkinv, variance=variance,
dev.resids=dev.resids, aic=aic,
mu.eta=logexp(ExposureDays)$mu.eta, initialize=initialize,
validmu=validmu, valideta=logexp$valideta), class = "family")
}
Now, here's how it works in a GLM:
> apfa.glm.1<-glm(Success~MeanAge+I(MeanAge^2), family=logexposure(link="logexp", ExposureDays=apfa4$Days), data=apfa4)
> summary(apfa.glm.1)
Call:
glm(formula = Success ~ MeanAge + I(MeanAge^2), family =
logexposure(link = "logexp",
ExposureDays = apfa4$Days), data = apfa4)...