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
putexcel for multiple tables extending beyond Excel column ZI recently found myself with need to produce over 1000 cross-tabulations with their respective chi-s…
Command collapse AND keeping the original datasetDear all, I was just thinking about this: When you analyze hierarchical structured dataset (for exa…
How to use categorical variable in dynamic panel regression?Hello, I am using a country variable, called "targetcountry" in my dynamic panel regression. This v…
RIF regression and decomposition of income inequalityI need help to have the command which is used in this paper of Rios Avila (2019) to have the results…
How to interpret the outcome of command “gllamm”?Dear statalists, I have gotten the outcome of “gllamm”,but I don't know how to illustrate,could you …
Subscribe to:
Post Comments (Atom)
0 Response to Survival Function List - Cox Regression
Post a Comment