parameters icon indicating copy to clipboard operation
parameters copied to clipboard

Analog to `coef()` for mixed effects models

Open bwiernik opened this issue 3 years ago • 4 comments

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).

bwiernik avatar May 07 '21 15:05 bwiernik

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

strengejacke avatar May 07 '21 17:05 strengejacke

I think effects = "group_specific" would be good.

bwiernik avatar May 07 '21 20:05 bwiernik

"group_level" ?

DominiqueMakowski avatar May 08 '21 00:05 DominiqueMakowski

"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

bwiernik avatar May 08 '21 01:05 bwiernik