Is there a way of getting “marginal effects” from a `glmer` object

后端 未结 4 1475
孤独总比滥情好
孤独总比滥情好 2020-12-28 15:59

I am estimating random effects logit model using glmer and I would like to report Marginal Effects for the independent variables. For glm models, p

4条回答
  •  温柔的废话
    2020-12-28 16:50

    This is a much less technical answer, but perhaps provides a useful resource. I am a fan of the sjPlot package which provides plots of marginal effects of glmer objects, like so:

    library(sjPlot)
    sjp.glmer(cfelr, type = "eff")
    

    The package provides a lot of options for exploring a glmer model's fixed and random effects as well. https://github.com/strengejacke/sjPlot

提交回复
热议问题