楼主: Shazam
1881 3

GENLINMIXED [推广有奖]

  • 0关注
  • 2粉丝

已卖:147份资源

硕士生

40%

还不是VIP/贵宾

-

TA的文库  其他...

C++

Culture(文化学)

C#(Newoccidental)

威望
0
论坛币
1847 个
通用积分
2.0750
学术水平
6 点
热心指数
6 点
信用等级
5 点
经验
1118 点
帖子
144
精华
0
在线时间
4 小时
注册时间
2006-5-10
最后登录
2016-12-4

楼主
Shazam 发表于 2014-5-3 05:43:14 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

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

经管之家联合CDA

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

感谢您参与论坛问题回答

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

+2 论坛币
I've used spss logistic regression extensively. But, I have a data set with a dichotomous outcome (labtest result) and some individual patient risk factors that could be predictors. I have about 100+ clinic sites and 30K test result records. Given this is a sample of clinics I believed the correct approach would be to use genlinmixed and include a random effect for clinic--instead of logistic reg. I have 2 questions--and will start with the simpler one:

  • Should I be using genlinmixed and specifying clinic as random effect, as follows (for looking at race/ethnicity (nominal) and test result? Or should i be using a different procedure?
GENLINMIXED
   /DATA_STRUCTURE SUBJECTS=clinic*patientID
   /FIELDS TARGET=testresult TRIALS=NONE OFFSET=NONE
   /TARGET_OPTIONS DISTRIBUTION=BINOMIAL LINK=LOGIT
   /FIXED  EFFECTS=  racethnicity  USE_INTERCEPT=TRUE
   /RANDOM USE_INTERCEPT=TRUE SUBJECTS=clinic
COVARIANCE_TYPE=VARIANCE_COMPONENTS
   /BUILD_OPTIONS TARGET_CATEGORY_ORDER=DESCENDING
INPUTS_CATEGORY_ORDER=DESCENDING
     MAX_ITERATIONS=100 CONFIDENCE_LEVEL=95 DF_METHOD=RESIDUAL COVB= MODEL
   /EMMEANS_OPTIONS SCALE=ORIGINAL PADJUST=LSD.


  • The 2nd question. The data set and analysis is actually a bit more complicated. This is a multilevel analysis where, besides patient level measures, I have some clinic characteristics as well as some areal measures for each patient based on their residence's zip code. So when doing bivariate analyses to assess impact of patient or clinic-level characteristics I have included a random effect for clinic. When looking at areal (SES, pop density etc.) measures in bivariate analyses I have used ZIPcode as the random effect. I believe this is the correct way to go (but welcome feedback). But, now that I want to do multivariate runs looking at individual, clinic and areal predictors I do not see how I can include 2 random effect measures (clinic and zip) using genlinmixed. Should I be using a different spss procedure or what am I missing in terms of syntax within  genlinmixed?
Thanks




二维码

扫码加我 拉你入群

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

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

关键词:Mixed Nlin Lin mix Multivariate individual correct factors include records

沙发
Shazam 发表于 2014-5-3 05:48:19
Generalized linear mixed model procedures, such as GENLINMIXED, are designed to model data which come from a family of exponential distributions, conditional upon normally distributed random effects. Your data appear to fall under that umbrella. Admittedly, some of your terminology (e.g., where you use the terms bivariate and multivariate) is a bit confusing to me, but I will simply chalk it up to semantics.



I see merit in treating both clinic and patient zip code as random effects. Whether it is possible to do so using the GENLINMXED procedure is something you will have to test. (I would use the GLIMMIX procedure in SAS for this type of analysis due to its ability to employ a superior estimation method, and if too computationally intensive, I would likely use the MCMC procedure in SAS.) If permitted in GENLINMIXED, you should add RANDOM statement where the subject is "zipcode."



Side note: Since I can't see your dataset, let me just say that you want your subject identification variable specification to result in each subject having a unique identifier. For example, you don't want GENLINMIXED to treat the first person in the first zipcode to be treated as the same person who happens to be the first person in second zipcode. I don't think that will happen based on your subject*clinic subject identification specification, but just make sure that is true. If I were you, I would just create a unique identifier for each subject that starts at 1 and ends at N number of subjects.



With the inclusion of the second RANDOM statement, it would be acceptable to add fixed effects predictors at the patient-level, clinic-level, and now patient zipcode-level.



Good luck.



Ryan

藤椅
Nicolle 学生认证  发表于 2014-5-3 05:50:34
提示: 作者被禁止或删除 内容自动屏蔽

板凳
Nicolle 学生认证  发表于 2014-5-3 05:52:53
提示: 作者被禁止或删除 内容自动屏蔽

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

本版微信群
加好友,备注jltj
拉您入交流群
GMT+8, 2026-1-12 12:10