BoxPlotSummary

Prepares the statistical quantities typically found on a box plot. This implementation uses a full sort of the data. The original data is not changed. Users may want to look for more efficient methods for use with very large data sets.

Lower inner fence: Q1 – (1.5 * IQR)
Upper inner fence: Q3 + (1.5 * IQR)
Lower outer fence: Q1 – (3 * IQR)
upper outer fence: Q3 + (3 * IQR)

Parameters

data

the data to be summarized, must not be null and must not contain any Double.NaN values

Constructors

Link copied to clipboard
constructor(data: DoubleArray, name: String? = null)

Properties

Link copied to clipboard
Link copied to clipboard
open override val count: Double
Link copied to clipboard
open override var firstQuartile: Double
Link copied to clipboard
open override val id: Int
Link copied to clipboard
Link copied to clipboard
open override var label: String?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The smallest data point that is greater than or equal to the lowerInnerFence

Link copied to clipboard
open override var max: Double
Link copied to clipboard
open override var median: Double
Link copied to clipboard
open override var min: Double
Link copied to clipboard
open override val name: String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override var thirdQuartile: Double
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The largest data point that is less than or equal to the upperInnerFence

Link copied to clipboard

Functions

Link copied to clipboard

The summary as a map of values

Link copied to clipboard
Link copied to clipboard

A confidence interval for the mean based on the confidence level

Link copied to clipboard
Link copied to clipboard

The order statistics

Link copied to clipboard

As per Apache Math commons

Link copied to clipboard

Uses definition 7, as per R definitions

Link copied to clipboard

The statistical summary of the data

Link copied to clipboard

Converts the box plot summary data to a data frame with two columns. The first column holds the name of the statstics and the second column holds the values.

Link copied to clipboard
open override fun toString(): String
Link copied to clipboard