Hello,
I am able to generate the survivor function overtime with the following code and associated output:
sts list if fullcohort_rosey==1 & _weight==1, at(0 1 2 3 4 5) by(drug)
failure _d: readmitdead_90 == 1
analysis time _t: readmitdeaddays_90
Beg. Survivor Std.
Time Total Fail Function Error [95% Conf. Int.]
-------------------------------------------------------------------------------
drug1=0
0 0 0 1.0000 . . .
1 2692 23 0.9915 0.0018 0.9872 0.9943
2 2666 17 0.9851 0.0023 0.9798 0.9891
3 2647 25 0.9758 0.0030 0.9693 0.9810
4 2621 10 0.9721 0.0032 0.9651 0.9777
5 2610 15 0.9665 0.0035 0.9590 0.9727
drug1=1
0 0 0 1.0000 . . .
1 2692 16 0.9941 0.0015 0.9903 0.9964
2 2674 19 0.9870 0.0022 0.9819 0.9906
3 2655 14 0.9818 0.0026 0.9760 0.9862
4 2641 16 0.9758 0.0030 0.9693 0.9810
5 2625 16 0.9699 0.0033 0.9627 0.9757
-------------------------------------------------------------------------------
However, I want to generate the same output/list in order to get the survival function overtime of the cox-hazard regression output. So I would like to generate a list of adjusted survival functions. I cannot seem to find a way to do this within the stcurve or stslist code. Does anyone have any suggestions?
Thank you!!~
Katie
Related Posts with Survival Function List - Cox Regression
Stacked bar graph: percentage of total observations, by groupsHello, I would like to produce a graph that shows the percentage of total observations (code_7), ov…
How to get conditional maximum dates and values?Hi all, I would like to find the largest % of institutional ownership for each deal, for example, f…
ComandesHello, I’m trying to use the PISA dataset but I’m not being able convert it from SAS and SPSS. It i…
i am using panel datai am using panel data and if i run the analysis it shows me that the resul of one variable "Age of P…
unbalanced panel data with endogenous explanatory variable and some unobservable variablesHi All, I'm struggling with an equation that has an endogenous regressor (sample selection bias) and…
Subscribe to:
Post Comments (Atom)
0 Response to Survival Function List - Cox Regression
Post a Comment