Compare Survival Rates of Treatment and Control Groups

Use SurvivalModelFit to visually compare survival curves with confidence bands for treatment and control groups.

    
In[33]:=
Click for copyable input
In[35]:=
Click for copyable input
Out[39]=
Gehan's weighted LogRankTest agrees with the visual that there is a significant difference in the hazard rates:
In[40]:=
Click for copyable input
Out[40]=
New to Mathematica? Find your learning path »
Have a question? Ask support »