easystats / parameters

:bar_chart: Computation and processing of models' parameters
https://easystats.github.io/parameters/
GNU General Public License v3.0
415 stars 37 forks source link

Analog to `coef()` for mixed effects models #484

Open bwiernik opened 3 years ago

bwiernik commented 3 years ago

It would be nice to have an analog to coef() for mixed effects models. This returns fixef() + ranef() for each random parameter. Modeling packages vary in whether SEs and intervals are provided for these results (e.g., brms does, glmmTMB hopes to, lme4 won't).

strengejacke commented 3 years ago

We could return those probably using the effects and component arguments, what would you suggest?

bwiernik commented 3 years ago

I think effects = "group_specific" would be good.

DominiqueMakowski commented 3 years ago

"group_level" ?

bwiernik commented 3 years ago

"Level" usually means the specific levels of the group factor though, and there's some confusion with the group_level argument. See also this response https://twitter.com/smartin2018/status/1390738366056960003?s=21