R数据分析:二分类因变量的混合效应,多水平logistics模型介绍
Mixed Effects Logistic Regression is sometimes also called Repeated Measures Logistic Regression, Multilevel Logistic Regression and Multilevel Binary Logistic Regression .
模型介绍
模型设定
实例解析
m_ri <- glmer(remission ~ CancerStage * Experience +
(1 | DID), data = d, family = binomial, control = glmerControl(optimizer = "bobyqa"))
plot_model(m_ri, type = "int")
m2 <- glm(remission ~ CancerStage * Experience, data = d, family = binomial)
anova(m_ri, m2)
小结
赞 (0)