全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 HLM专版
4022 7
2014-04-16

I have a model with occurrence of a disease represented by a binary dependent variable (DV) and 8 independent variables (IVs) at different levels. I need to create a multi-level model, in which the treatment is placed in the lower order and the demographics are in the higher order.

However, I am not familiar with the multilevel model for logistic regression. Please give me some names of necessary multilevel analyses for doing a multilevel binary logistic regression (and any hints you think are useful). I wonder if GEE (generalized estimating equation) is the answer, because I have correlations between the IVs? What about "conditional (fixed-effects) binary logistic regression" again for the paired data among my IVs? Or else?


二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

全部回复
2014-4-16 05:06:09
R allows what are called generalized linear mixed effects models. In these, the response variable is allowed to be from a few different families, including binomial (which, if coded as 0 and 1, gives logistic regression).

The function used to be called glmer(). I'm pretty sure that now more recent versions of the regular mixed effects models function lmer() allows you to specify a family (e.g. 'binomial') and a link function (e.g. 'logit'). lmer() allows the specification of random effects and nesting. You can find more info on Doug Bates' slides, in particular the very last one, here . He wrote lmer(), so I believe him when he says it works.

Keep in mind that you need numerous (more than 6 or so) different 'subjects' to be able to estimate random effects efficiently.
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2014-4-16 05:06:38
Many thanks. Yes what I was looking for was genelarized lieanr mixed effect models and I saw later in SPSS 19 and above they are available too. I guess I would try R's version since SPSS is not at all handy in this case.
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2014-4-16 05:07:17
Is this question related to your question here? Do you want to assess the effect of treatment on disease, with matched (paired) individuals?

Anyway, the difference between conditional logistic regression and GEE is the interpretation. If you want to get subject specific estimate, you can use conditional logistic regression (e.g. clogit in R), otherwise for population average estimate, you can use GEE (e.g. R package gee). Note that the reason to use multilevel models is the correlation within paired data.
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2014-4-16 05:07:57
Many thanks for the clarifications of the differences and for the relevant R packages. I think I would go with a mixed-model GLZ instead of GEE and conditional logistic regression since I have both paired and unpaired IVs among my variables. And yes that is it (the link you provided) with a little difference. In that thread, I had not mentioned that I need two different levels (thus a multilevel model).
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2014-4-16 05:08:32
Do you mean mixed generalized linear model (GLM)? What do you mean by "paired and unpaired IVs"? I guess it is matched individuals rather than matched independent variables, as discussed in your last thread. –  Randel
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

点击查看更多内容…
相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群