Class MedianAbsoluteDeviationAggregation
This single-value aggregation approximates the median absolute deviation of its search results.
Median absolute deviation is a measure of variability. It is a robust statistic, meaning that it is useful for describing data that may have outliers, or may not be normally distributed. For such data it can be more descriptive than standard deviation.
It is calculated as the median of each data point’s deviation from the median of the entire sample. That is, for a random variable
X
, the median absolute deviation
is median(|median(X) - Xi|).
Inheritance
Implements
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public class MedianAbsoluteDeviationAggregation : FormattableMetricAggregationBase, IMedianAbsoluteDeviationAggregation, IFormattableMetricAggregation, IMetricAggregation, IAggregation
Constructors
| Edit this page View SourceMedianAbsoluteDeviationAggregation(string, Field)
Declaration
public MedianAbsoluteDeviationAggregation(string name, Field field)
Parameters
Type | Name | Description |
---|---|---|
string | name | |
Field | field |
Properties
| Edit this page View SourceCompression
TDigest algorithm component that controls memory usage and approximation error.
By increasing the compression value, you can increase the accuracy
at the cost of more memory. Larger compression values also make
the algorithm slower since the underlying tree data structure grows in
size, resulting in more expensive operations. The default compression value is 100
.
Declaration
public double? Compression { get; set; }
Property Value
Type | Description |
---|---|
double? |