pub struct OdpFit {Show 20 fields
pub n_origins: usize,
pub n_devs: usize,
pub ldfs: Vec<f64>,
pub tail: f64,
pub fitted_cumulative: Vec<f64>,
pub fitted_incremental: Vec<f64>,
pub observed_incremental: Vec<f64>,
pub residuals: Vec<OdpCellResidual>,
pub n_observed: usize,
pub rank: usize,
pub degrees_of_freedom: usize,
pub dispersion: f64,
pub origin_reserves: Vec<f64>,
pub total_reserve: f64,
pub analytic_origin_process_se: Vec<f64>,
pub analytic_origin_param_se: Vec<f64>,
pub analytic_origin_prediction_error: Vec<f64>,
pub analytic_total_process_se: f64,
pub analytic_total_param_se: f64,
pub analytic_total_prediction_error: f64,
}Expand description
Immutable ODP GLM fit, dispersion, leverages, and analytic prediction errors.
Fields§
§n_origins: usizeNumber of origin rows.
n_devs: usizeNumber of development columns.
ldfs: Vec<f64>Volume-weighted chain-ladder LDFs (length n - 1).
tail: f64Multiplicative tail factor (>= 1.0).
fitted_cumulative: Vec<f64>Full n × n fitted cumulative grid (row-major; observed region by
backward recursion, future region by chain-ladder projection).
fitted_incremental: Vec<f64>Full n × n fitted incremental grid (row-major).
observed_incremental: Vec<f64>Observed n × n incremental grid (NaN in unobserved lower-right).
residuals: Vec<OdpCellResidual>Residual and leverage diagnostics for every active observed cell.
n_observed: usizeCount of active observed cells entering the ODP fit (N).
rank: usizeEffective parameter rank of the ODP design matrix (p = 2n - 1 for full triangles).
degrees_of_freedom: usizeResidual degrees of freedom (N - p).
dispersion: f64Pearson dispersion parameter φ = sum(r^2) / (N - p).
origin_reserves: Vec<f64>Point-estimate reserves by origin (including tail when tail > 1).
total_reserve: f64Aggregate point-estimate reserve.
analytic_origin_process_se: Vec<f64>Analytic ODP process standard error by origin (pre-tail).
analytic_origin_param_se: Vec<f64>Analytic ODP parameter estimation standard error by origin (pre-tail).
analytic_origin_prediction_error: Vec<f64>Analytic ODP total prediction error by origin (England & Verrall 1999, Table 2).
analytic_total_process_se: f64Analytic ODP aggregate process standard error sqrt(φ · R).
analytic_total_param_se: f64Analytic ODP aggregate parameter estimation standard error.
analytic_total_prediction_error: f64Analytic ODP aggregate prediction error (England & Verrall 1999, 2002).