WLJS LogoWLJS Notebook

SurvivalModel

SurvivalModel[...] represents the symbolic survival model obtained from functions like SurvivalModelFit.

Examples

Fit a survival model:

data = {{1, 1}, {2, 0}, {3, 1}, {5, 1}};
model = SurvivalModelFit[data]

Get survival function:

model["SurvivalFunction"]

Plot survival curve:

Plot[model["SurvivalFunction"][t], {t, 0, 10}]

Please visit the official Wolfram Language Reference for more details.

On this page