pub struct OdpBootstrapResult {
pub fit: OdpFit,
pub options: OdpBootstrapOptions,
pub base_total_reserve: f64,
pub simulated_totals: Vec<f64>,
pub simulated_by_origin: Vec<Vec<f64>>,
pub origin_summaries: Vec<ReserveDistributionSummary>,
pub summary: ReserveDistributionSummary,
pub failed_iterations: usize,
pub residual_pool_mean_before_centering: f64,
}Expand description
Full ODP bootstrap output with fit diagnostics, per-origin distributions, and explicit failure accounting.
Fields§
§fit: OdpFitUnderlying ODP GLM fit and analytic prediction errors.
options: OdpBootstrapOptionsOptions used to generate this simulation.
base_total_reserve: f64Base chain-ladder / ODP total reserve.
simulated_totals: Vec<f64>Simulated aggregate reserves for successful iterations.
simulated_by_origin: Vec<Vec<f64>>Simulated reserves per origin: simulated_by_origin[origin][iter].
origin_summaries: Vec<ReserveDistributionSummary>Distribution summary for each origin year.
summary: ReserveDistributionSummaryDistribution summary for the aggregate portfolio reserve.
failed_iterations: usizeNumber of bootstrap draws rejected due to degenerate pseudo-triangles (non-positive column sums or non-finite refits). Never silently clipped.
residual_pool_mean_before_centering: f64Arithmetic mean of the adjusted residual pool prior to optional centering.
Trait Implementations§
Source§impl Clone for OdpBootstrapResult
impl Clone for OdpBootstrapResult
Source§impl Debug for OdpBootstrapResult
impl Debug for OdpBootstrapResult
Source§impl<'de> Deserialize<'de> for OdpBootstrapResult
impl<'de> Deserialize<'de> for OdpBootstrapResult
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
Source§impl PartialEq for OdpBootstrapResult
impl PartialEq for OdpBootstrapResult
Source§impl Serialize for OdpBootstrapResult
impl Serialize for OdpBootstrapResult
impl StructuralPartialEq for OdpBootstrapResult
Auto Trait Implementations§
impl Forget for OdpBootstrapResult
impl Freeze for OdpBootstrapResult
impl Move for OdpBootstrapResult
impl RefUnwindSafe for OdpBootstrapResult
impl Send for OdpBootstrapResult
impl Sync for OdpBootstrapResult
impl Unpin for OdpBootstrapResult
impl UnsafeUnpin for OdpBootstrapResult
impl UnwindSafe for OdpBootstrapResult
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