rpietro / airwayDehiscence

Airway dehiscence project using the UNOS database
0 stars 0 forks source link

Bronchial Stricture: Stratified Cox Model #14

Open acastleberry opened 12 years ago

acastleberry commented 12 years ago

I am trying to run a stratified cox model with the following code:

Survival1b <- coxph(Surv(PTIME,PSTATUS)~ strata (AA_AGE_60plus) +AA_PROCEDURE_TY+TRTREJ1Y+DAYSWAIT_BY_90+VOL_BY_10_PER_YEAR+AGE_DON_BY_5+AA_DIAG_LTX_RECODE+AA_IMP_ISCHTIME+MED_COND_TRR+LIFE_SUP_TRR+AA_ETHCAT_MISMATCH+AA_BRONC_STRICTURE+recode_DIABETES_DON+recode_HIST_CIG_DON+GENDER,data=BRST_StudyPopulation)

I would have expected this to generate two sets of data, one for each of the two groups in the stratified data field, but this generated only one set of results and I can't tell which stratified group it is or if it is stratified at all. Is there something wrong with the code I am using here?

rpietro commented 12 years ago

Tony, I tried to find this model on the shared folder but it isn't there. do you think your folder might have gotten disconnected? you might need to connect it again or just send me your script and the data set

On Sat, Sep 29, 2012 at 9:00 PM, acastleberry notifications@github.comwrote:

I am trying to run a stratified cox model with the following code:

Survival1b <- coxph(Surv(PTIME,PSTATUS)~ strata (AA_AGE_60plus) +AA_PROCEDURE_TY+TRTREJ1Y+DAYSWAIT_BY_90+VOL_BY_10_PER_YEAR+AGE_DON_BY_5+AA_DIAG_LTX_RECODE+AA_IMP_ISCHTIME+MED_COND_TRR+LIFE_SUP_TRR+AA_ETHCAT_MISMATCH+AA_BRONC_STRICTURE+recode_DIABETES_DON+recode_HIST_CIG_DON+GENDER,data=BRST_StudyPopulation)

I would have expected this to generate two sets of data, one for each of the two groups in the stratified data field, but this generated only one set of results and I can't tell which stratified group it is or if it is stratified at all. Is there something wrong with the code I am using here?

— Reply to this email directly or view it on GitHubhttps://github.com/rpietro/airwayDehiscence/issues/14.