Help using Base SAS procedures

Instrumental variable and Cox proportional hazards model

Accepted Solution Solved
Reply
New Contributor
Posts: 2
Accepted Solution

Instrumental variable and Cox proportional hazards model

Dear all,

I want to use an instrumental variable in survival analysis, and I think the PROC SYSLIN is only for linear or logistic regression? Is there command specifically for Cox proportional hazards model?

I am thinking to use below method, is it correct? Thanks for your help!

PROC LOGISTIC DATA= data1;

  MODEL GRP = Distance;

  OUTPUT OUT = data2

  PREDICTED=IV_grp;

RUN;

PROC PHREG DATA =data2;

   CLASS  AGE RACE INCOME EDUCATION / PARAM=REF REF=First ;

   MODEL TIME*Status(0) = IV_grp AGE RACE INCOME EDUCATION ;

RUN;


Accepted Solutions
Solution
‎12-22-2014 01:28 PM
Respected Advisor
Posts: 2,655

Re: Instrumental variable and Cox proportional hazards model

Posted in reply to Descartes

I think you may want to include the additional variables (AGE RACE INCOME EDUCATION) in the PROC LOGISTIC fit, as distances may cluster somewhat for these variables.

Steve Denham

View solution in original post


All Replies
Solution
‎12-22-2014 01:28 PM
Respected Advisor
Posts: 2,655

Re: Instrumental variable and Cox proportional hazards model

Posted in reply to Descartes

I think you may want to include the additional variables (AGE RACE INCOME EDUCATION) in the PROC LOGISTIC fit, as distances may cluster somewhat for these variables.

Steve Denham

New Contributor
Posts: 2

Re: Instrumental variable and Cox proportional hazards model

Posted in reply to SteveDenham

Thanks Steve! Is there any test I can do on this instrumental variable?

Respected Advisor
Posts: 2,655

Re: Instrumental variable and Cox proportional hazards model

Posted in reply to Descartes

Well, there should be a Wald chi-square test in the output for PROC PHREG for this variable.

Steve Denham

🔒 This topic is solved and locked.

Need further help from the community? Please ask a new question.

Discussion stats
  • 3 replies
  • 924 views
  • 3 likes
  • 2 in conversation