全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 HLM专版
1886 3
2014-05-03
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




二维码

扫码加我 拉你入群

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

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

全部回复
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
二维码

扫码加我 拉你入群

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

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

2014-5-3 05:50:34
提示: 作者被禁止或删除 内容自动屏蔽
二维码

扫码加我 拉你入群

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

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

2014-5-3 05:52:53
提示: 作者被禁止或删除 内容自动屏蔽
二维码

扫码加我 拉你入群

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

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

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

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