pub struct Ecdf {
pub x: Vec<f64>,
pub p: Vec<f64>,
pub n: usize,
}Expand description
An ECDF as step data: for each distinct sorted value x[i], p[i] is the
proportion of the sample less than or equal to it.
Fields§
§x: Vec<f64>Distinct sample values, ascending.
p: Vec<f64>Cumulative proportion (<= x[i]), in (0, 1].
n: usizeSample size (finite values only) — needed for the DKW band width.
Trait Implementations§
impl StructuralPartialEq for Ecdf
Auto Trait Implementations§
impl Freeze for Ecdf
impl RefUnwindSafe for Ecdf
impl Send for Ecdf
impl Sync for Ecdf
impl Unpin for Ecdf
impl UnsafeUnpin for Ecdf
impl UnwindSafe for Ecdf
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