mcmcsamp() with gamma response and log link function in lmer
Ruth Kelly <ruthkelly123 at ...> writes:
Is it possible to use mcmcsamp() in lme4 after fitting a model with a gamma response variable and a log link function?
I don't think so.
Is there another package I could use to run the mcmc for this?
You can try running glmmadmb() from the glmmADMB package with mcmc=TRUE ... best_fm_bio <- glmmadmb(Bio ~ P_pca +(1|Site), family = "Gamma", link = "log", mcmc=TRUE) this hasn't been very thoroughly tested or documented, so do e-mail me if you run into trouble. Ben Bolker