pub struct MultivariateClResult {
pub n_lines: usize,
pub n_origins: usize,
pub development_matrices: Vec<Vec<f64>>,
pub sigma_matrices: Vec<Vec<f64>>,
pub ultimates: Vec<Vec<f64>>,
pub reserves: Vec<Vec<f64>>,
pub total_reserves_by_line: Vec<f64>,
pub portfolio_total_reserve: f64,
pub total_msep_matrix: Vec<f64>,
pub portfolio_standard_error: f64,
pub line_standard_errors: Vec<f64>,
}Expand description
Result of a $K$-line Multivariate Chain Ladder analysis.
Fields§
§n_lines: usizeNumber of lines of business $K$.
n_origins: usizeNumber of origin / development periods $n$.
development_matrices: Vec<Vec<f64>>Estimated $K \times K$ development matrices $B_k$ (each row-major K × K) for k = 0..n-1.
sigma_matrices: Vec<Vec<f64>>Estimated $K \times K$ residual covariance matrices $\Sigma_k$ (row-major K × K) for k = 0..n-1.
ultimates: Vec<Vec<f64>>Projected ultimates per line (n_lines vectors of length n_origins).
reserves: Vec<Vec<f64>>Projected reserves per line (n_lines vectors of length n_origins).
total_reserves_by_line: Vec<f64>Total reserve per line.
portfolio_total_reserve: f64Portfolio total reserve summed across all $K$ lines.
total_msep_matrix: Vec<f64>Full $K \times K$ total-reserve MSEP covariance matrix (row-major K × K).
Diagonal entry (a, a) is the MSEP of line a; off-diagonal (a, b) is
the cross-line reserve covariance.
portfolio_standard_error: f64Portfolio total reserve standard error $\sqrt{\mathbf{1}^\top \text{MSEP} , \mathbf{1}}$.
line_standard_errors: Vec<f64>Per-line reserve standard errors $\sqrt{\text{MSEP}_{a,a}}$.