pub struct GeneralizedCapeCodProjection {
pub decay: f64,
pub elr_by_origin: Vec<f64>,
pub normalized_weights: Vec<f64>,
pub latest: Vec<f64>,
pub latest_dev: Vec<usize>,
pub reported_percentage: Vec<f64>,
pub used_premium: Vec<f64>,
pub expected_ultimate: Vec<f64>,
pub bf_projection: BornhuetterFergusonProjection,
}Expand description
Result of a Generalized (Decay-Weighted) Cape Cod projection.
Fields§
§decay: f64Decay factor delta in (0, 1].
elr_by_origin: Vec<f64>Origin-specific expected loss ratios ELR_i (length n).
normalized_weights: Vec<f64>Row-major n × n normalized weight matrix (row i sums to 1.0),
showing the relative contribution of origin k’s used premium to ELR_i.
latest: Vec<f64>Latest observed cumulative loss by origin.
latest_dev: Vec<usize>Latest observed development index by origin.
reported_percentage: Vec<f64>Percent reported p_{d_i} = 1 / CDF_{d_i} by origin.
Used-up premium P_i * p_{d_i} by origin.
expected_ultimate: Vec<f64>Expected ultimate P_i * ELR_i by origin.
bf_projection: BornhuetterFergusonProjectionUnderlying BF projection driven by expected_ultimate.
Trait Implementations§
Source§impl Clone for GeneralizedCapeCodProjection
impl Clone for GeneralizedCapeCodProjection
Source§impl Debug for GeneralizedCapeCodProjection
impl Debug for GeneralizedCapeCodProjection
Source§impl<'de> Deserialize<'de> for GeneralizedCapeCodProjection
impl<'de> Deserialize<'de> for GeneralizedCapeCodProjection
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
impl StructuralPartialEq for GeneralizedCapeCodProjection
Auto Trait Implementations§
impl Forget for GeneralizedCapeCodProjection
impl Freeze for GeneralizedCapeCodProjection
impl Move for GeneralizedCapeCodProjection
impl RefUnwindSafe for GeneralizedCapeCodProjection
impl Send for GeneralizedCapeCodProjection
impl Sync for GeneralizedCapeCodProjection
impl Unpin for GeneralizedCapeCodProjection
impl UnsafeUnpin for GeneralizedCapeCodProjection
impl UnwindSafe for GeneralizedCapeCodProjection
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