Skip to main content

MultivariateMackResult

Struct MultivariateMackResult 

Source
pub struct MultivariateMackResult {
Show 16 fields pub n_triangles: usize, pub n_origins: usize, pub marginal_mack: Vec<Mack>, pub link_covariances: Vec<Vec<f64>>, pub link_correlations: Vec<Vec<f64>>, pub reserve_covariance_matrix: Vec<f64>, pub reserve_correlation_matrix: Vec<f64>, pub origin_total_reserve: Vec<f64>, pub origin_total_mse: Vec<f64>, pub origin_total_se: Vec<f64>, pub total_reserve: f64, pub total_mse: f64, pub total_standard_error: f64, pub total_cv: f64, pub undiversified_se: f64, pub diversification_benefit: f64,
}
Expand description

Result of Braun (2004) / Merz & Wüthrich (2008) multivariate chain-ladder MSEP.

Fields§

§n_triangles: usize

Number of correlated triangles $N$.

§n_origins: usize

Square triangle dimension $n$.

§marginal_mack: Vec<Mack>

Individual Mack (1993) results per triangle, length $N$.

§link_covariances: Vec<Vec<f64>>

Per-link cross-covariance matrices $\hat{\sigma}_k^{(r,s)}$ (length $n - 1$, each an $N \times N$ row-major matrix).

§link_correlations: Vec<Vec<f64>>

Per-link cross-correlation matrices $\hat{\rho}_k^{(r,s)}$ (length $n - 1$, each an $N \times N$ row-major matrix).

§reserve_covariance_matrix: Vec<f64>

$N \times N$ row-major covariance matrix of total reserves across triangles. Diagonal entry (r, r) equals marginal_mack[r].total_mse.

§reserve_correlation_matrix: Vec<f64>

$N \times N$ row-major implied correlation matrix of total reserves across triangles.

§origin_total_reserve: Vec<f64>

Aggregate reserve per origin summed across all triangles, length $n$.

§origin_total_mse: Vec<f64>

Aggregate MSEP per origin across all triangles (including cross-line covariances), length $n$.

§origin_total_se: Vec<f64>

Aggregate standard error per origin across all triangles, length $n$.

§total_reserve: f64

Portfolio total reserve summed across all triangles.

§total_mse: f64

Portfolio aggregate MSEP including all cross-triangle covariances.

§total_standard_error: f64

Portfolio aggregate standard error sqrt(total_mse).

§total_cv: f64

Portfolio aggregate coefficient of variation total_standard_error / total_reserve.

§undiversified_se: f64

Sum of standalone triangle standard errors (comonotonic upper bound).

§diversification_benefit: f64

Diversification benefit: undiversified_se - total_standard_error.

Trait Implementations§

Source§

impl Clone for MultivariateMackResult

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for MultivariateMackResult

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for MultivariateMackResult

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Display for MultivariateMackResult

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Serialize for MultivariateMackResult

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.