pub struct ClarkOptions {
pub curve: GrowthCurve,
pub ages: Option<Vec<f64>>,
pub origin_offset: f64,
pub max_age: Option<f64>,
pub monotonicity_policy: MonotonicityPolicy,
}Expand description
Configuration options for Clark (2003) MLE reserving.
Fields§
§curve: GrowthCurveParametric growth curve family (Loglogistic or Weibull).
ages: Option<Vec<f64>>Optional explicit development ages 0 < x_0 < x_1 < ... < x_{n-1}.
When None, defaults to Clark (2003) average-date-of-loss midpoint ages
[1 - origin_offset, 2 - origin_offset, ..., n - origin_offset].
origin_offset: f64Average accident date offset within period 1 (default 0.5, giving
midpoint ages 0.5, 1.5, ..., n - 0.5 years as in Clark 2003). Ignored
when ages is explicitly provided.
max_age: Option<f64>Optional finite ultimate age truncation max_age >= x_{n-1}. When None,
projects to infinity (G(inf) = 1.0, Clark 2003 default including tail).
monotonicity_policy: MonotonicityPolicyCumulative monotonicity validation policy.
Implementations§
Source§impl ClarkOptions
impl ClarkOptions
Sourcepub fn new(curve: GrowthCurve) -> Self
pub fn new(curve: GrowthCurve) -> Self
Standard Clark (2003) specification with midpoint ages (0.5, 1.5, ...)
and projection to ultimate (max_age = None).
Sourcepub fn loglogistic() -> Self
pub fn loglogistic() -> Self
Clark (2003) Loglogistic growth curve with default midpoint ages.
Sourcepub fn with_ages(self, ages: impl Into<Vec<f64>>) -> Self
pub fn with_ages(self, ages: impl Into<Vec<f64>>) -> Self
Supply explicit development ages 0 < x_0 < ... < x_{n-1}.
Sourcepub const fn with_origin_offset(self, origin_offset: f64) -> Self
pub const fn with_origin_offset(self, origin_offset: f64) -> Self
Set the average accident-date offset within period 1 (default 0.5).
Sourcepub const fn with_max_age(self, max_age: f64) -> Self
pub const fn with_max_age(self, max_age: f64) -> Self
Truncate ultimate projection at a finite maximum development age.
Sourcepub const fn with_policy(self, policy: MonotonicityPolicy) -> Self
pub const fn with_policy(self, policy: MonotonicityPolicy) -> Self
Set the triangle monotonicity policy.