Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
marginal predictions on response scale #370
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
mebrooks commentedMar 16, 2016
Currently, it seems that
predict.merModdoes not give predictions on the response scale averaged over possible realizations of the random effects, i.e. marginalized with respect to the random effects. I expected that a new level of the random effect would be given a marginalized prediction. It would also be very useful in general. Maybe this could be clearer in the documentation, since I think many people don't realize it.MCMCglmm uses a couple of approximations to do this for log or logit links (described in course notes page 46-47 from 20 June 2015).
@bbolker's initial thoughts were
This is related to #37 and #281 and was discussed in this thread https://stat.ethz.ch/pipermail/r-sig-mixed-models/2016q1/024543.html