pub struct Description {Show 23 fields
pub nobs: f64,
pub missing: f64,
pub mean: f64,
pub std_err: f64,
pub upper_ci: f64,
pub lower_ci: f64,
pub std: f64,
pub iqr: f64,
pub iqr_normal: f64,
pub mad: f64,
pub mad_normal: f64,
pub coef_var: f64,
pub range: f64,
pub max: f64,
pub min: f64,
pub skew: f64,
pub kurtosis: f64,
pub jarque_bera: f64,
pub jarque_bera_pval: f64,
pub mode: f64,
pub mode_freq: f64,
pub median: f64,
pub percentiles: Vec<f64>,
}Expand description
Summary statistics for a numeric sample (the numeric block of the reference
Description). All values are computed with the same conventions as the
reference: std uses ddof = 1, percentiles use linear interpolation.
Fields§
§nobs: f64Number of observations.
missing: f64Number of missing (NaN) observations dropped before computation.
mean: f64Sample mean.
std_err: f64Standard error of the mean, std / sqrt(nobs).
upper_ci: f64Upper confidence limit mean + q * std_err.
lower_ci: f64Lower confidence limit mean - q * std_err.
std: f64Sample standard deviation (ddof = 1).
iqr: f64Interquartile range, q75 - q25.
iqr_normal: f64IQR rescaled to a normal-distribution standard deviation.
mad: f64Mean absolute deviation about the mean.
mad_normal: f64MAD rescaled to a normal-distribution standard deviation.
coef_var: f64Coefficient of variation, std / mean.
range: f64Range, max - min.
max: f64Maximum value.
min: f64Minimum value.
skew: f64Sample skewness (biased estimator).
kurtosis: f64Sample kurtosis (biased, non-excess: a normal gives 3).
jarque_bera: f64Jarque–Bera statistic.
jarque_bera_pval: f64Jarque–Bera chi-squared(2) p-value.
mode: f64Mode (smallest most-frequent value).
mode_freq: f64Relative frequency of the mode, count / nobs.
median: f64Median (the 50th percentile).
percentiles: Vec<f64>Percentile values at PERCENTILES.
Trait Implementations§
Source§impl Clone for Description
impl Clone for Description
Source§fn clone(&self) -> Description
fn clone(&self) -> Description
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more