pub struct GeneralizedCapeCodEngine;Expand description
Checked Generalized Cape Cod service (Gluck 1997).
Implementations§
Source§impl GeneralizedCapeCodEngine
impl GeneralizedCapeCodEngine
Sourcepub fn project(
cumulative: &TriangleView<'_>,
factors: &DevelopmentFactors,
premium: &[f64],
decay: f64,
) -> Result<GeneralizedCapeCodProjection, ValidationError>
pub fn project( cumulative: &TriangleView<'_>, factors: &DevelopmentFactors, premium: &[f64], decay: f64, ) -> Result<GeneralizedCapeCodProjection, ValidationError>
Run decay-weighted Cape Cod with strict cumulative monotonicity and no
explicit loss-trend factors (tau_k = 1.0).
Sourcepub fn project_with_options(
cumulative: &TriangleView<'_>,
factors: &DevelopmentFactors,
premium: &[f64],
decay: f64,
loss_trend_to_base: Option<&[f64]>,
policy: MonotonicityPolicy,
) -> Result<GeneralizedCapeCodProjection, ValidationError>
pub fn project_with_options( cumulative: &TriangleView<'_>, factors: &DevelopmentFactors, premium: &[f64], decay: f64, loss_trend_to_base: Option<&[f64]>, policy: MonotonicityPolicy, ) -> Result<GeneralizedCapeCodProjection, ValidationError>
Run decay-weighted Cape Cod with optional loss-trend factors tau_k
(trending origin k losses to a common base level) and explicit
MonotonicityPolicy.
Trait Implementations§
Source§impl Clone for GeneralizedCapeCodEngine
impl Clone for GeneralizedCapeCodEngine
impl Copy for GeneralizedCapeCodEngine
Source§impl Debug for GeneralizedCapeCodEngine
impl Debug for GeneralizedCapeCodEngine
Auto Trait Implementations§
impl Forget for GeneralizedCapeCodEngine
impl Freeze for GeneralizedCapeCodEngine
impl Move for GeneralizedCapeCodEngine
impl RefUnwindSafe for GeneralizedCapeCodEngine
impl Send for GeneralizedCapeCodEngine
impl Sync for GeneralizedCapeCodEngine
impl Unpin for GeneralizedCapeCodEngine
impl UnsafeUnpin for GeneralizedCapeCodEngine
impl UnwindSafe for GeneralizedCapeCodEngine
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