« View all new features in Mathematica 9  previous  |  next 
New in Mathematica 9Survival Analysis

Experimental Drug Efficacy 

Researchers interested in the effectiveness of a new tumor-suppression medication recorded time to tumor for cancer patients. Forty-three patients were treated with an older drug (A) and 76 were treated with the new drug (B).

In[1]:=
Click for copyable input
X

The survival functions cross.

In[2]:=
Click for copyable input
X
Out[2]=

LogRankTest does not detect a significant difference in the underlying hazard rates.

In[3]:=
Click for copyable input
X
Out[3]=

Suppose researchers expected that the new drug would be more effective at preventing late-developing tumors. The following Fleming-Harrington weights emphasize late survival times.

In[4]:=
Click for copyable input
X
Out[4]=

LogRankTest weighted for late survival detects a significant difference.

In[5]:=
Click for copyable input
X
Out[5]=