How to get coefficients and their confidence intervals in mixed effects models?

前端 未结 6 944
無奈伤痛
無奈伤痛 2020-12-04 10:52

In lm and glm models, I use functions coef and confint to achieve the goal:

m = lm(resp ~ 0 + var1 + var1         


        
6条回答
  •  忘掉有多难
    2020-12-04 11:22

    I suggest that you use good old lme (in package nlme). It has confint, and if you need confint of contrasts, there is a series of choices (estimable in gmodels, contrast in contrasts, glht in multcomp).

    Why p-values and confint are absent in lmer: see http://finzi.psych.upenn.edu/R/Rhelp02a/archive/76742.html .

提交回复
热议问题