-
-
Notifications
You must be signed in to change notification settings - Fork 568
Description
I am currently learning survival analysis using Python, following a textbook example on the leukemia remission dataset. However, my results differ from those presented in the textbook. When I repeated the analysis using SAS, the results matched the textbook exactly. Could anyone help me understand the possible reasons for the discrepancy between the Python and SAS results?
I ran two models. The event of interest, or censorship, is named "Event," and the time to event variable is named "Survival_time." In the first model, I only assessed the impact of an explanatory variable, which is named "Group." In the second model, I further adjusted for "Log_WBC."
Remission.xlsx- This is the data
My python code of two models and result
My sas code and results.
Thank you in advance for clarifying this discrepancy for me.