Code covered by the BSD License  

Highlights from
Fitting Survival Probability Models

image thumbnail

Fitting Survival Probability Models

by

 

Companion code for "Fitting Survival Probability Models" article.

genHazFun(t,b)
function h = genHazFun(t,b)

% Sample general hazard function; depends on three parameters

h = b(1) + b(2)*(t./b(3)).*exp(-(t./b(3)));

Contact us