pub struct GpdQuantileEstimate {
pub quantile: f64,
pub point_estimate: f64,
pub lower_bound: f64,
pub upper_bound: f64,
pub credibility: f64,
pub n_exceedances: usize,
pub n_total: usize,
}Expand description
Quantile estimate with credible interval from GPD model.
Fields§
§quantile: f64The quantile being estimated (e.g., 0.999 for P99.9).
point_estimate: f64Point estimate (posterior mean).
lower_bound: f64Lower bound of credible interval.
upper_bound: f64Upper bound of credible interval.
credibility: f64Credibility level (e.g., 0.95 for 95% CI).
n_exceedances: usizeNumber of threshold exceedances used for estimation.
n_total: usizeTotal number of observations.
Implementations§
Source§impl GpdQuantileEstimate
impl GpdQuantileEstimate
Sourcepub fn interval_width(&self) -> f64
pub fn interval_width(&self) -> f64
Width of the credible interval.
Sourcepub fn relative_uncertainty(&self) -> f64
pub fn relative_uncertainty(&self) -> f64
Relative uncertainty (interval width / point estimate).
Trait Implementations§
Source§impl Clone for GpdQuantileEstimate
impl Clone for GpdQuantileEstimate
Source§fn clone(&self) -> GpdQuantileEstimate
fn clone(&self) -> GpdQuantileEstimate
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for GpdQuantileEstimate
Source§impl Debug for GpdQuantileEstimate
impl Debug for GpdQuantileEstimate
Source§impl PartialEq for GpdQuantileEstimate
impl PartialEq for GpdQuantileEstimate
impl StructuralPartialEq for GpdQuantileEstimate
Auto Trait Implementations§
impl Freeze for GpdQuantileEstimate
impl RefUnwindSafe for GpdQuantileEstimate
impl Send for GpdQuantileEstimate
impl Sync for GpdQuantileEstimate
impl Unpin for GpdQuantileEstimate
impl UnsafeUnpin for GpdQuantileEstimate
impl UnwindSafe for GpdQuantileEstimate
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