EwmaResult

data class EwmaResult(val smoothedValues: DoubleArray, val ucl: DoubleArray, val lcl: DoubleArray, val outOfControl: IntArray)(source)

Results of an EWMA (Exponentially Weighted Moving Average) control chart analysis.

Holds the per-observation smoothed statistic Zₜ and the time-varying upper and lower control limits, together with the indices of all observations at which the smoothed statistic fell outside its control limits.

See also

Constructors

Link copied to clipboard
constructor(smoothedValues: DoubleArray, ucl: DoubleArray, lcl: DoubleArray, outOfControl: IntArray)

Properties

Link copied to clipboard

the sequence of lower control limits LCLₜ, one entry per observation.

Link copied to clipboard

the zero-based indices of observations whose smoothed statistic Zₜ is strictly above ucl or strictly below lcl. Empty when the process stays in control.

Link copied to clipboard

the sequence of exponentially weighted moving averages Zₜ, one entry per observation.

Link copied to clipboard

the sequence of upper control limits UCLₜ, one entry per observation. The limits widen with t and approach their steady-state value.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String