#[non_exhaustive]pub struct Mack {
pub ldf: Vec<f64>,
pub sigma_sq: Vec<f64>,
pub ultimate: Vec<f64>,
pub reserve: Vec<f64>,
pub standard_error: Vec<f64>,
pub cv: Vec<f64>,
pub total_reserve: f64,
pub total_mse: f64,
pub total_standard_error: f64,
pub total_cv: f64,
}Expand description
Full Mack chain-ladder result: point estimates and standard errors.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.ldf: Vec<f64>Volume-weighted LDFs, length n − 1.
sigma_sq: Vec<f64>Mack σ² per development link, length n − 1.
ultimate: Vec<f64>Chain-ladder ultimates per origin, length n.
reserve: Vec<f64>Reserves per origin, length n.
standard_error: Vec<f64>Standard error per origin, length n.
cv: Vec<f64>Coefficient of variation per origin (SE / reserve), length n.
total_reserve: f64Total reserve across origins.
total_mse: f64Total MSE (sum of per-origin MSE plus covariance adjustment).
total_standard_error: f64Total standard error: sqrt(total_mse).
total_cv: f64Total coefficient of variation: total_se / total_reserve.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Mack
impl<'de> Deserialize<'de> for Mack
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Forget for Mack
impl Freeze for Mack
impl Move for Mack
impl RefUnwindSafe for Mack
impl Send for Mack
impl Sync for Mack
impl Unpin for Mack
impl UnsafeUnpin for Mack
impl UnwindSafe for Mack
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more