pub struct StatisticalAnalyzer;Expand description
Statistical analyzer using SciRS2 capabilities
Implementations§
Source§impl StatisticalAnalyzer
impl StatisticalAnalyzer
Sourcepub fn calculate_descriptive_stats(
&self,
data: &[f64],
) -> QuantRS2Result<DescriptiveStats>
pub fn calculate_descriptive_stats( &self, data: &[f64], ) -> QuantRS2Result<DescriptiveStats>
Calculate descriptive statistics
Sourcepub fn perform_regression_analysis(
&self,
data: &[f64],
) -> QuantRS2Result<RegressionAnalysis>
pub fn perform_regression_analysis( &self, data: &[f64], ) -> QuantRS2Result<RegressionAnalysis>
Perform linear regression analysis
Sourcepub fn fit_distributions(&self, data: &[f64]) -> QuantRS2Result<DistributionFit>
pub fn fit_distributions(&self, data: &[f64]) -> QuantRS2Result<DistributionFit>
Fit probability distributions to data
Sourcepub fn detect_outliers(
&self,
data: &[f64],
method: OutlierDetectionMethod,
) -> QuantRS2Result<OutlierAnalysis>
pub fn detect_outliers( &self, data: &[f64], method: OutlierDetectionMethod, ) -> QuantRS2Result<OutlierAnalysis>
Detect outliers using specified method
Sourcepub fn mann_whitney_test(
&self,
sample1: &[f64],
sample2: &[f64],
significance_level: f64,
) -> QuantRS2Result<HypothesisTestResult>
pub fn mann_whitney_test( &self, sample1: &[f64], sample2: &[f64], significance_level: f64, ) -> QuantRS2Result<HypothesisTestResult>
Perform Mann-Whitney U test
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StatisticalAnalyzer
impl RefUnwindSafe for StatisticalAnalyzer
impl Send for StatisticalAnalyzer
impl Sync for StatisticalAnalyzer
impl Unpin for StatisticalAnalyzer
impl UnwindSafe for StatisticalAnalyzer
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.