|
QWT API (English) 7.3.0
Qt Widget Library for Technical Applications - English API Documentation
|
Helper class for computing boxplot statistics from raw data. More...
#include <qwt_box_statistics.h>
Public Types | |
| enum | WhiskerMethod { Tukey , Percentile , MinMax , StandardDeviation , StandardError } |
| Whisker calculation method. More... | |
Static Public Member Functions | |
| static QwtBoxSample | calculate (double position, const QVector< double > &sortedData, WhiskerMethod method=Tukey, double coefficient=1.5) |
| Compute QwtBoxSample from sorted data. | |
| static QwtBoxSample | calculateFromRaw (double position, const QVector< double > &rawData, WhiskerMethod method=Tukey, double coefficient=1.5) |
| Compute QwtBoxSample from unsorted data (sorts internally) | |
| static QVector< double > | extractOutliers (const QwtBoxSample &sample, const QVector< double > &sortedData) |
| Extract outliers given box sample and sorted data. | |
| static void | calculateFull (double position, const QVector< double > &rawData, QwtBoxSample &sample, QwtBoxOutlierSample &outliers, WhiskerMethod method=Tukey, double coefficient=1.5) |
| Compute full statistics (sample + outliers) in one call. | |
Helper class for computing boxplot statistics from raw data.
Provides static methods to calculate whisker bounds, quartiles, median, and extract outliers using various methods (Tukey, percentile, SD, SE).
Whisker calculation method.
|
static |
Compute QwtBoxSample from sorted data.
Compute boxplot statistics from sorted data.
Calculates whisker bounds, quartiles, median, and outlier count using the specified whisker method.
| [in] | position | The position value for the resulting sample |
| [in] | sortedData | Pre-sorted data vector |
| [in] | method | Whisker calculation method (default: Tukey) |
| [in] | coefficient | Whisker coefficient (default: 1.5) |
|
static |
Compute QwtBoxSample from unsorted data (sorts internally)
Compute boxplot statistics from unsorted raw data.
Sorts the data internally and then calculates statistics.
| [in] | position | The position value for the resulting sample |
| [in] | rawData | Unsorted raw data vector |
| [in] | method | Whisker calculation method (default: Tukey) |
| [in] | coefficient | Whisker coefficient (default: 1.5) |
|
static |
Compute full statistics (sample + outliers) in one call.
Compute full boxplot statistics including outliers.
Calculates both the box sample and extracts outlier values in one call.
| [in] | position | The position value for the resulting samples |
| [in] | rawData | Unsorted raw data vector |
| [out] | sample | Output parameter for computed box statistics |
| [out] | outliers | Output parameter for extracted outlier values |
| [in] | method | Whisker calculation method (default: Tukey) |
| [in] | coefficient | Whisker coefficient (default: 1.5) |
|
static |
Extract outliers given box sample and sorted data.
Extract outlier values from sorted data based on box sample.
Identifies all values outside the whisker bounds as outliers.
| [in] | sample | The box sample containing whisker bounds |
| [in] | sortedData | Pre-sorted data vector |