pub struct UvNormal(/* private fields */);Implementations§
Trait Implementations§
Source§impl ContinuousDistribution for UvNormal
impl ContinuousDistribution for UvNormal
Source§impl Convolution for UvNormal
impl Convolution for UvNormal
Source§impl Distribution for UvNormal
impl Distribution for UvNormal
Source§fn params(&self) -> Self::Params
fn params(&self) -> Self::Params
Returns an instance of the distribution parameters,
Self::Params. Read moreSource§fn cdf(&self, x: &f64) -> Probability
fn cdf(&self, x: &f64) -> Probability
Evaluates the cumulative distribution function (CDF) at \(x\). Read more
Source§fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> f64
fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> f64
Draw a random value from the distribution support.
Source§fn into_support(self) -> Self::Support
fn into_support(self) -> Self::Support
Converts
self into an instance of Self::Support.Source§fn into_params(self) -> Self::Params
fn into_params(self) -> Self::Params
Converts
self into an instance of Self::Params.Source§fn ccdf(&self, x: &Sample<Self>) -> Probability
fn ccdf(&self, x: &Sample<Self>) -> Probability
Evaluates the complementary CDF at \(x\). Read more
Source§fn log_cdf(&self, x: &Sample<Self>) -> f64
fn log_cdf(&self, x: &Sample<Self>) -> f64
Evaluates the log CDF at \(x\), i.e. \(\ln{F(x)}\).
Source§fn log_ccdf(&self, x: &Sample<Self>) -> f64
fn log_ccdf(&self, x: &Sample<Self>) -> f64
Evaluates the log complementary CDF at \(x\), i.e. \(\ln{(1 - F(x))}\).
Source§impl FisherInformation for UvNormal
impl FisherInformation for UvNormal
Source§fn fisher_information(&self) -> Array2<f64>
fn fisher_information(&self) -> Array2<f64>
Computes the Fisher information matrix of the distribution, \(I(X)\).
Source§impl From<Params<f64, f64>> for UvNormal
impl From<Params<f64, f64>> for UvNormal
Source§fn from(from: UvNormalParams) -> UvNormal
fn from(from: UvNormalParams) -> UvNormal
Converts to this type from the input type.
Source§impl Likelihood for UvNormal
impl Likelihood for UvNormal
Source§fn log_likelihood(&self, samples: &[f64]) -> f64
fn log_likelihood(&self, samples: &[f64]) -> f64
Computes the log-likelihood \(l(\theta \mid \bm{x})\).
Source§fn likelihood(&self, samples: &[Sample<Self>]) -> f64
fn likelihood(&self, samples: &[Sample<Self>]) -> f64
Computes the likelihood \(\mathcal{L}(\theta \mid \bm{x})\).
Source§impl Quantiles for UvNormal
impl Quantiles for UvNormal
Source§fn quantile(&self, p: Probability) -> f64
fn quantile(&self, p: Probability) -> f64
Evaluates the inverse cumulative distribution function (CDF) at
p. Read moreSource§fn cquantile(&self, p: Probability) -> f64
fn cquantile(&self, p: Probability) -> f64
Evaluates the complementary quantile function at
x: Q(1 - p).Source§fn lower_quartile(&self) -> f64
fn lower_quartile(&self) -> f64
Computes the lower quartile of the distribution,
Q(0.25).Source§fn upper_quartile(&self) -> f64
fn upper_quartile(&self) -> f64
Computes the upper quartile of the distribution,
Q(0.75).Source§fn iqr(&self) -> f64
fn iqr(&self) -> f64
Computes the interquartile range (IQR) of the distribution,
Q(0.75) - Q(0.25).Source§fn lower_fence(&self) -> f64
fn lower_fence(&self) -> f64
Computes the lower fence of the distribution,
Q(0.25) - 1.5 · IQR. Read moreSource§fn upper_fence(&self) -> f64
fn upper_fence(&self) -> f64
Computes the lower fence of the distribution,
Q(0.75) + 1.5 · IQR. Read moreSource§impl ShannonEntropy for UvNormal
impl ShannonEntropy for UvNormal
Source§fn shannon_entropy(&self) -> f64
fn shannon_entropy(&self) -> f64
Computes the Shannon entropy of the distribution, \(H(X)\).
Source§impl UnivariateMoments for UvNormal
impl UnivariateMoments for UvNormal
Source§fn excess_kurtosis(&self) -> f64
fn excess_kurtosis(&self) -> f64
Computes the excess kurtosis of the distribution.
Source§fn standard_deviation(&self) -> f64
fn standard_deviation(&self) -> f64
Computes the standard deviation of the distribution.
impl Copy for UvNormal
Auto Trait Implementations§
impl Freeze for UvNormal
impl RefUnwindSafe for UvNormal
impl Send for UvNormal
impl Sync for UvNormal
impl Unpin for UvNormal
impl UnwindSafe for UvNormal
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more