pub struct PowerLawFitResult {
pub continuous: bool,
pub alpha: f64,
pub xmin: f64,
pub log_likelihood: f64,
pub ks_statistic: f64,
}Expand description
Result of fitting a power-law distribution to a sample.
Mirrors the externally observable fields of igraph_plfit_result_t.
Fields§
§continuous: booltrue if a continuous model was fitted, false for discrete.
alpha: f64The exponent of the fitted power-law (the scaling parameter).
xmin: f64The lower cutoff xmin: the power-law holds for x >= xmin.
log_likelihood: f64Log-likelihood of the fitted parameters on the sample.
ks_statistic: f64Kolmogorov–Smirnov test statistic between fit and sample.
Trait Implementations§
Source§impl Clone for PowerLawFitResult
impl Clone for PowerLawFitResult
Source§fn clone(&self) -> PowerLawFitResult
fn clone(&self) -> PowerLawFitResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PowerLawFitResult
impl Debug for PowerLawFitResult
Source§impl PartialEq for PowerLawFitResult
impl PartialEq for PowerLawFitResult
impl Copy for PowerLawFitResult
impl StructuralPartialEq for PowerLawFitResult
Auto Trait Implementations§
impl Freeze for PowerLawFitResult
impl RefUnwindSafe for PowerLawFitResult
impl Send for PowerLawFitResult
impl Sync for PowerLawFitResult
impl Unpin for PowerLawFitResult
impl UnsafeUnpin for PowerLawFitResult
impl UnwindSafe for PowerLawFitResult
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