WOLFRAM LANGUAGE FEATURED EXAMPLE

Compare Survival Rates of Treatment and Control Groups

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

    
In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=
Gehan's weighted LogRankTest agrees with the visual that there is a significant difference in the hazard rates:
In[3]:=
Click for copyable input
Out[3]=