pub struct MomentSummary {
pub n: u64,
pub mean: f64,
pub std_dev: f64,
pub skewness: f64,
pub kurtosis: f64,
pub mean_std_err: f64,
pub std_dev_std_err: f64,
pub skewness_std_err: f64,
pub kurtosis_std_err: f64,
}Expand description
The first four moments of a sample, with standard errors.
Units: mean, std_dev and their errors are in the unit of the samples
(metres for depths and lateral positions); skewness and kurtosis are
dimensionless. For a depth distribution mean is the projected range
Rp, std_dev the straggle ΔRp, skewness γ and kurtosis β
(Gaussian β = 3). See the module docs for conventions.
Fields§
§n: u64Number of samples.
mean: f64Mean.
std_dev: f64Standard deviation μ_2^(1/2).
skewness: f64Skewness γ = μ_3 / μ_2^(3/2).
kurtosis: f64Kurtosis β = μ_4 / μ_2^2 (not excess).
mean_std_err: f64Standard error of mean.
std_dev_std_err: f64Standard error of std_dev.
skewness_std_err: f64Standard error of skewness.
kurtosis_std_err: f64Standard error of kurtosis.
Trait Implementations§
Source§impl Clone for MomentSummary
impl Clone for MomentSummary
Source§fn clone(&self) -> MomentSummary
fn clone(&self) -> MomentSummary
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 MomentSummary
Source§impl Debug for MomentSummary
impl Debug for MomentSummary
Source§impl<'de> Deserialize<'de> for MomentSummary
impl<'de> Deserialize<'de> for MomentSummary
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 MomentSummary
impl PartialEq for MomentSummary
Source§impl Serialize for MomentSummary
impl Serialize for MomentSummary
impl StructuralPartialEq for MomentSummary
Auto Trait Implementations§
impl Freeze for MomentSummary
impl RefUnwindSafe for MomentSummary
impl Send for MomentSummary
impl Sync for MomentSummary
impl Unpin for MomentSummary
impl UnsafeUnpin for MomentSummary
impl UnwindSafe for MomentSummary
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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