CI method name for lmer models? #647
-
Hi, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
The best approach to use for your models is These intervals are generated using the same method used to fit the model initially--by picking a value for the parameter and computing the likelihood. For the intervals, the parameter is moved away from the maximum likelihood estimate until the model fit worsens to a significant degree. Those values above and below are the confidence interval. The default method uses normal distribution Wald intervals if the model has a z statistic (GLMMs) and t distribution Wald intervals with residual degrees of freedom if the model has a t statistic (LMMs). These are an approximation (similar to what glmmTMB reports by default). Depending on the structure of your model, they may tend to give overly narrow/optimistic intervals. There are several other methods for approximately degrees of freedom for mixed models that might apply depending on the nature of your model, such as Satterthwaite, Kenward-Roger, between-within, and m-l-1. Each of these makes important strong assumptions about the nature of your model. Personally, I don't care for any of these df approximations and suggest strongly just using profile likelihood to compute CIs. For additional discussion, see https://bbolker.github.io/mixedmodels-misc/glmmFAQ.html#what-are-the-p-values-listed-by-summaryglmerfit-etc.-are-they-reliable For random effects SDs and correlations, intervals will be reported if you use profile or boot methods. For the default Wald method, intervals will be reported if you have the {merDeriv} package installed and set |
Beta Was this translation helpful? Give feedback.
-
I think @burdonmark refers to the results from Lines 231 to 250 in 94b0502 Your comment here was the reason for me to open this PR: #648 The goal should be to be more precise. @bwiernik has implemented and documented this for model parameters, see https://easystats.github.io/parameters/reference/model_parameters.html#confidence-intervals-and-approximation-of-degrees-of-freedom There will be less options for predictions, but once the PR is finished, we can update the docs and add some more options for predictions as well (maybe having options residual, wald, normal for classical freq. regression, and additonally satterthwaite and kenward-roger for linear mixed models). |
Beta Was this translation helpful? Give feedback.
The best approach to use for your models is
ci_method = "profile"
and to refer to them in your paper as "profile-likelihood confidence intervals".These intervals are generated using the same method used to fit the model initially--by picking a value for the parameter and computing the likelihood. For the intervals, the parameter is moved away from the maximum likelihood estimate until the model fit worsens to a significant degree. Those values above and below are the confidence interval.
The default method uses normal distribution Wald intervals if the model has a z statistic (GLMMs) and t distribution Wald intervals with residual degrees of freedom if the model has a t statistic (LMMs).…