[R-sig-ME] confint.merMod, bootstrap and weights
Ben Bolker
bbolker at gmail.com
Sun Mar 13 20:31:20 CET 2016
The simulation function (sfun()) that's at the core of the parametric
bootstrap algorithm is ignoring your specified prior weights. Poisson
models with weights are somewhat unusual; what are the weights in your
model supposed to signify? If you were simulating the data, how would
you incorporate the weights in the simulation procedure?
Ben Bolker
On 16-03-13 02:30 PM, Denis Haine wrote:
> Hello,
>
> I ran a model as
>
> glmer(y ~ x, family = poisson, data, weights = w)
>
> and then tried to get confidence intervals with the following:
>
> confint(model, method = "boot", parallel = "multicore", ncpus = 4)
>
> However I'm getting the following warning message that I'm not receiving
> when using method "Wald" instead of "boot":
>
> Warning message:
> In sfun(object, nsim = 1, ftd = rep_len(musim, n * nsim), wts = weights) :
> ignoring prior weights
>
> What's the meaning of this message?
>
> Thanks for your help,
>
> Denis
>
> [[alternative HTML version deleted]]
>
> _______________________________________________
> R-sig-mixed-models at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-mixed-models
>
More information about the R-sig-mixed-models
mailing list