pub struct AnalysisResult {
pub statistics: BasicMetrics,
pub shape_metrics: ShapeMetrics,
}Expand description
Contains comprehensive analysis results for a curve or dataset.
§Overview
The AnalysisResult structure encapsulates both basic statistical metrics and
shape-related characteristics of a dataset or curve. It serves as a complete analysis
output that can be used to understand both the statistical properties and the
geometrical behavior of the data.
This structure is particularly useful for comprehensive data analysis in financial modeling, statistical analysis, and geometric curve evaluation. It combines fundamental statistical insights with shape-based properties to provide a holistic view of the data.
§Fields
-
statistics:
BasicMetrics- Contains fundamental statistical metrics like mean, median, mode, and standard deviation.
- Provides insights into the central tendency and dispersion characteristics of the dataset.
- Used for understanding the overall statistical properties of the analyzed data.
-
shape_metrics:
ShapeMetrics- Contains shape-related properties such as skewness, kurtosis, and critical points (peaks, valleys, and inflection points).
- Provides insights into the geometrical behavior and distribution characteristics of the curve.
- Used for understanding the asymmetry, tailedness, and notable features in the curve’s shape.
§Applications
The AnalysisResult structure is utilized in various domains requiring both statistical
and geometrical analysis:
-
Financial Analysis:
- Evaluate price distributions and identify critical price levels.
- Detect patterns in market data through both statistical and shape-based observations.
-
Data Science:
- Provide comprehensive analysis of datasets, combining statistical insights with distributional shape characteristics.
-
Geometric Modeling:
- Analyze curve properties for more accurate modeling and representation.
- Identify key points that define the geometric behavior of a curve.
Fields§
§statistics: BasicMetricsThe fundamental statistical metrics of the dataset, including measures of central tendency (mean, median, mode) and dispersion (standard deviation).
shape_metrics: ShapeMetricsThe shape-related metrics of the curve or dataset, including distribution characteristics (skewness, kurtosis) and critical geometric points (peaks, valleys, inflection points).
Trait Implementations§
Source§impl Clone for AnalysisResult
impl Clone for AnalysisResult
Source§impl ComposeSchema for AnalysisResult
impl ComposeSchema for AnalysisResult
Source§impl Debug for AnalysisResult
impl Debug for AnalysisResult
Source§impl Display for AnalysisResult
impl Display for AnalysisResult
Source§impl Serialize for AnalysisResult
impl Serialize for AnalysisResult
Auto Trait Implementations§
impl Freeze for AnalysisResult
impl RefUnwindSafe for AnalysisResult
impl Send for AnalysisResult
impl Sync for AnalysisResult
impl Unpin for AnalysisResult
impl UnsafeUnpin for AnalysisResult
impl UnwindSafe for AnalysisResult
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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> ⓘ
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> ⓘ
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> PartialSchema for Twhere
T: ComposeSchema + ?Sized,
impl<T> PartialSchema for Twhere
T: ComposeSchema + ?Sized,
Source§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>
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
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
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.