楼主: ReneeBK
3836 7

Multilevel binary logistic regression in SPSS? [推广有奖]

  • 1关注
  • 62粉丝

VIP

学术权威

14%

还不是VIP/贵宾

-

TA的文库  其他...

R资源总汇

Panel Data Analysis

Experimental Design

威望
1
论坛币
49407 个
通用积分
51.8704
学术水平
370 点
热心指数
273 点
信用等级
335 点
经验
57815 点
帖子
4006
精华
21
在线时间
582 小时
注册时间
2005-5-8
最后登录
2023-11-26

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币

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?


二维码

扫码加我 拉你入群

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

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

关键词:regression Multilevel regressio logistic regress different necessary familiar levels create

沙发
ReneeBK 发表于 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.

使用道具

藤椅
ReneeBK 发表于 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.

使用道具

板凳
ReneeBK 发表于 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.

使用道具

报纸
ReneeBK 发表于 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).

使用道具

地板
ReneeBK 发表于 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

使用道具

7
ReneeBK 发表于 2014-4-16 05:09:13 |只看作者 |坛友微信交流群
As to the choice among GEE, clogit and mixed GLM for binary data, some people are in favor of clogit since some of the consistency properties break down, especially with small within-subject sample size; some prefer GEE to obtain population average estimate as there is attenuation of the effect of the covariates for subject specific model (e.g. mixed GLM). You can have your own choice based on your data format and analysis goals. –  Randel

使用道具

8
ReneeBK 发表于 2014-4-16 05:10:57 |只看作者 |坛友微信交流群
Yes by GLZ I mean generalized linear model (I didn't use GLM since it is confused by general). Yes your comment on the "matched individuals not IVs" was great. I saw it after I wrote the above comment. But my individuals are matched in certain aspects, but not in other aspects. So I have two levels of analysis.

http://www.talkstats.com/showthread.php/48505-Binary-mixed-model-logistic-regression-using-lmer()-of-lme4-for-multilevel-analysis?p=137372#post137372

使用道具

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注jltj
拉您入交流群

京ICP备16021002-2号 京B2-20170662号 京公网安备 11010802022788号 论坛法律顾问:王进律师 知识产权保护声明   免责及隐私声明

GMT+8, 2024-4-28 20:02