pub struct NumericStats {
pub mean: f64,
pub std: f64,
pub five: FiveNumber,
pub skewness: f64,
pub kurtosis: f64,
pub histogram: Histogram,
pub outlier_count: usize,
pub outlier_fraction: f64,
}Expand description
The descriptive statistics computed for a numeric column.
Missing values (NaN) are excluded from every statistic and counted
separately in ColumnProfile::missing_count.
Fields§
§mean: f64Arithmetic mean of the non-missing values (NaN if the column is empty).
std: f64Sample standard deviation (ddof = 1) of the non-missing values.
five: FiveNumberMin/Q1/median/Q3/max of the non-missing values.
skewness: f64Fisher–Pearson sample skewness of the non-missing values (0.0 when
undefined, i.e. fewer than three values or zero variance).
kurtosis: f64Excess (Fisher) kurtosis of the non-missing values (0.0 when
undefined, i.e. fewer than four values or zero variance).
histogram: HistogramEqual-width histogram (Sturges bins) of the non-missing values.
outlier_count: usizeNumber of values outside the Tukey IQR fences (Q1 − 1.5·IQR,
Q3 + 1.5·IQR).
outlier_fraction: f64Fraction of values outside the IQR fences, in [0.0, 1.0].
Trait Implementations§
Source§impl Clone for NumericStats
impl Clone for NumericStats
Source§fn clone(&self) -> NumericStats
fn clone(&self) -> NumericStats
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more