JKQTPlotter trunk/v5.0.0
an extensive Qt5+Qt6 Plotter framework (including a feature-richt plotter widget, a speed-optimized, but limited variant and a LaTeX equation renderer!), written fully in C/C++ and without external dependencies
Loading...
Searching...
No Matches

represents the Five-Number Statistical Summary (minimum, median, maximum and two user-defined quantiles (as well as derived from these the inter quartile range)) More...

#include <jkqtpstatbasics.h>

Collaboration diagram for JKQTPStat5NumberStatistics:
[legend]

Public Member Functions

 JKQTPStat5NumberStatistics ()
 
double IQR () const
 the interquarzile range
 
double IQRSignificanceEstimate () const
 interquartile range, calculated as
 

Public Attributes

double maximum
 maximum value
 
double maximumQuantile
 specifies a quantile for the return value maximum (default is 1 for the real maximum, but you could e.g. use 0.95 for the 95% quantile!)
 
double median
 median value
 
double minimum
 minimum value
 
double minimumQuantile
 specifies a quantile for the return value minimum (default is 0 for the real minimum, but you could e.g. use 0.05 for the 5% quantile!)
 
size_t N
 number of values used to calculate the summary
 
std::vector< double > outliers
 list with the outlier values < minimum and > maximum
 
double quantile1
 first quantile value (specified by quantile1Spec)
 
double quantile1Spec
 specifies the first quantile (range: 0..1)
 
double quantile2
 second quantile value (specified by quantile1Spec)
 
double quantile2Spec
 specifies the second quantile (range: 0..1)
 

Detailed Description

represents the Five-Number Statistical Summary (minimum, median, maximum and two user-defined quantiles (as well as derived from these the inter quartile range))

See also
https://en.wikipedia.org/wiki/Five-number_summary, jkqtpstat5NumberStatistics()

Constructor & Destructor Documentation

◆ JKQTPStat5NumberStatistics()

JKQTPStat5NumberStatistics::JKQTPStat5NumberStatistics ( )

Member Function Documentation

◆ IQR()

double JKQTPStat5NumberStatistics::IQR ( ) const

the interquarzile range

◆ IQRSignificanceEstimate()

double JKQTPStat5NumberStatistics::IQRSignificanceEstimate ( ) const

interquartile range, calculated as

\[ 2\cdot\frac{1.58\cdot \mbox{IQR}}{\sqrt{N}} \]

See also
https://en.wikipedia.org/wiki/Box_plot

Member Data Documentation

◆ maximum

double JKQTPStat5NumberStatistics::maximum

maximum value

◆ maximumQuantile

double JKQTPStat5NumberStatistics::maximumQuantile

specifies a quantile for the return value maximum (default is 1 for the real maximum, but you could e.g. use 0.95 for the 95% quantile!)

◆ median

double JKQTPStat5NumberStatistics::median

median value

◆ minimum

double JKQTPStat5NumberStatistics::minimum

minimum value

◆ minimumQuantile

double JKQTPStat5NumberStatistics::minimumQuantile

specifies a quantile for the return value minimum (default is 0 for the real minimum, but you could e.g. use 0.05 for the 5% quantile!)

◆ N

size_t JKQTPStat5NumberStatistics::N

number of values used to calculate the summary

◆ outliers

std::vector<double> JKQTPStat5NumberStatistics::outliers

list with the outlier values < minimum and > maximum

◆ quantile1

double JKQTPStat5NumberStatistics::quantile1

first quantile value (specified by quantile1Spec)

◆ quantile1Spec

double JKQTPStat5NumberStatistics::quantile1Spec

specifies the first quantile (range: 0..1)

◆ quantile2

double JKQTPStat5NumberStatistics::quantile2

second quantile value (specified by quantile1Spec)

◆ quantile2Spec

double JKQTPStat5NumberStatistics::quantile2Spec

specifies the second quantile (range: 0..1)


The documentation for this struct was generated from the following file: