pub struct GoodnessOfFit {
pub statistic: f64,
pub p_value: f64,
pub replicates: usize,
}Expand description
Whether a fitted family describes the data: the Anderson–Darling statistic against the fitted distribution and its p-value.
Fields§
§statistic: f64A² of the data against the fitted distribution (anderson_darling_fit).
p_value: f64Probability, if the data came from the family, of an A² at least this
large after fitting the family to a sample of the same size — the
parametric-bootstrap estimate (1 + #{A²_b ≥ A²}) / (B + 1). Small
values say the family does not describe the data.
replicates: usizeBootstrap replicates B behind p_value; the smallest p it can report
is 1 / (B + 1).
Trait Implementations§
Source§impl Clone for GoodnessOfFit
impl Clone for GoodnessOfFit
impl Copy for GoodnessOfFit
Source§impl Debug for GoodnessOfFit
impl Debug for GoodnessOfFit
Source§impl PartialEq for GoodnessOfFit
impl PartialEq for GoodnessOfFit
impl StructuralPartialEq for GoodnessOfFit
Auto Trait Implementations§
impl Freeze for GoodnessOfFit
impl RefUnwindSafe for GoodnessOfFit
impl Send for GoodnessOfFit
impl Sync for GoodnessOfFit
impl Unpin for GoodnessOfFit
impl UnsafeUnpin for GoodnessOfFit
impl UnwindSafe for GoodnessOfFit
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