|
SOLUTIONS
|
BUILT-IN MATHEMATICA SYMBOL
CoxModel
CoxModel[...]
represents the symbolic proportional hazards model obtained from CoxModelFit.
Details and OptionsDetails and Options
- Properties of a Cox model are obtained from CoxModel[...]["property"].
- CoxModel[...][{prop1, prop2, ...}] gives several properties.
gives the value of the best-fit function at a particular point
for covariate levels
.- Normal gives the expression for the baseline survival function in a CoxModel.
- CoxModel[...][prop, ann] gives the annotation ann associated with the property prop.
- Possible properties available for a given type of fitted model are listed on the pages for functions such as CoxModelFit that generate the model.
ExamplesExamplesopen allclose all
Basic Examples (1)Basic Examples (1)
Create a CoxModel from some right-censored data:
| In[1]:= |
| In[2]:= |
| Out[2]= |
Extract a property from the model:
| In[3]:= |
| Out[3]= |
Evaluate the baseline survival function at 3:
| In[4]:= |
| Out[4]= |
Use normal to obtain the baseline survival function:
| In[5]:= |
| Out[5]= | ![]() |
Obtain a list of available properties:
| In[6]:= |
| Out[6]= | ![]() |
New in 9
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »


