Skip to main content

survival_from

Function survival_from 

fn survival_from(
    reference: NaiveDate,
    dates: &[NaiveDate],
    hazards: &[f64],
    day_count: DayCountFraction,
) -> Result<Survival, CalibrationError>
Expand description

The survival curve hazards describes, in the shape the solve substitutes parameters into.