pub struct GeneralizedExtremeValue {
pub xi: f64,
pub mu: f64,
pub sigma: f64,
}Expand description
The generalised extreme value distribution with shape ξ, location and scale, in the
statistics convention: ξ > 0 is heavy-tailed (Fréchet), ξ < 0 bounded above (Weibull).
SciPy’s genextreme(c) uses c = −ξ.
Fields§
§xi: f64§mu: f64§sigma: f64Implementations§
Trait Implementations§
Source§impl Clone for GeneralizedExtremeValue
impl Clone for GeneralizedExtremeValue
Source§impl ContinuousDistribution for GeneralizedExtremeValue
impl ContinuousDistribution for GeneralizedExtremeValue
Source§fn logpdf(&self, x: f64) -> f64
fn logpdf(&self, x: f64) -> f64
The log density (more accurate than
pdf(x).ln() in the tails where overridden).Source§fn ppf(&self, p: f64) -> f64
fn ppf(&self, p: f64) -> f64
The quantile (percent-point) function, the inverse of the distribution function.
fn mean(&self) -> f64
fn variance(&self) -> f64
fn skewness(&self) -> f64
Source§fn excess_kurtosis(&self) -> f64
fn excess_kurtosis(&self) -> f64
The excess kurtosis (zero for the normal distribution), as SciPy’s
stats(moments='k').fn std(&self) -> f64
fn median(&self) -> f64
Source§fn interval(&self, confidence: f64) -> (f64, f64)
fn interval(&self, confidence: f64) -> (f64, f64)
The central interval containing a fraction
confidence of the probability.Source§fn log_likelihood(&self, data: &[f64]) -> f64
fn log_likelihood(&self, data: &[f64]) -> f64
Σ log f(xᵢ).impl Copy for GeneralizedExtremeValue
Source§impl Debug for GeneralizedExtremeValue
impl Debug for GeneralizedExtremeValue
Source§impl Fit for GeneralizedExtremeValue
impl Fit for GeneralizedExtremeValue
Source§impl PartialEq for GeneralizedExtremeValue
impl PartialEq for GeneralizedExtremeValue
impl StructuralPartialEq for GeneralizedExtremeValue
Auto Trait Implementations§
impl Freeze for GeneralizedExtremeValue
impl RefUnwindSafe for GeneralizedExtremeValue
impl Send for GeneralizedExtremeValue
impl Sync for GeneralizedExtremeValue
impl Unpin for GeneralizedExtremeValue
impl UnsafeUnpin for GeneralizedExtremeValue
impl UnwindSafe for GeneralizedExtremeValue
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