Skip to content

prediction intervals for GLMMs #131

@bbolker

Description

@bbolker

I may be completely missing something, but I'm puzzled at the way that predictInterval handles prediction intervals for GLMMs (let's assume logit/probit binomial models, include.resid.var is TRUE [which is what I would normally mean by "prediction intervals" in contrast to "confidence intervals"] and which = "fixed" for now). As far as I can tell, predictInterval sets sigmahat to 1 (this makes some sense since the dispersion parameter of a binomial is fixed to 1), then adds a Gaussian deviate with that standard deviation to the simulated predicted values (which already include the uncertainty due to sampling variance of the fixed-effect parameters).

I can't understand how that makes sense.

  • If we wanted to generate prediction intervals based on a Gaussian approximation, we should be setting the standard deviation to something like sqrt(N*p*(1-p)), not 1
  • If we wanted to generate prediction intervals based on the assumed conditional distribution, we should be somehow using quantiles of the conditional distribution ...

I apologize if I'm completely misunderstanding/missing something. If I'm not, is there any chance you could point me to a reference?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions