Programming the statistical procedures from SAS

Time dependent probability / propensity scores.

Accepted Solution Solved
Reply
Highlighted
Regular Contributor
Posts: 165
Accepted Solution

Time dependent probability / propensity scores.

[ Edited ]

Hi everyone,

I usually use proc logistic to calculate propensity scores (or probability of having the event of interest):

 

Proc logistic data=have;
class var1;
model death(event='1')=var1 var2;
output p=probability;
run;

 

Is there a way to calculate time dependent propensity score, that is, can use proc phreg to output the probability of the event happening?

 

Thanks 


Accepted Solutions
Solution
Saturday
SAS Super FREQ
Posts: 3,795

Re: Time dependent probability / propensity scores.

PROC PHREG has the SURVIVAL= option in the OUTPUT  statement. Is that what you are looking for? You can use the METHOD= option to output various estimates of the survivor function.

View solution in original post


All Replies
Solution
Saturday
SAS Super FREQ
Posts: 3,795

Re: Time dependent probability / propensity scores.

PROC PHREG has the SURVIVAL= option in the OUTPUT  statement. Is that what you are looking for? You can use the METHOD= option to output various estimates of the survivor function.

☑ This topic is solved.

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

Discussion stats
  • 1 reply
  • 131 views
  • 0 likes
  • 2 in conversation