kumulant

CusumResult

@Serializable
@SerialName(value = "CusumResult")
data class CusumResult(val target: Double, val referenceValue: Double, val threshold: Double, val cusumPositive: Double, val cusumNegative: Double, val alarmUp: Boolean, val alarmDown: Boolean) : Result(source)

Snapshot from a two-sided CusumStat change-point detector.

Constructors

Link copied to clipboard
constructor(target: Double, referenceValue: Double, threshold: Double, cusumPositive: Double, cusumNegative: Double, alarmUp: Boolean, alarmDown: Boolean)

Properties

Link copied to clipboard

True when either side has crossed the threshold.

Link copied to clipboard

True when the negative side has crossed -threshold.

Link copied to clipboard

True when the positive side has crossed threshold.

Link copied to clipboard

Running negative-side cumulative sum, clipped at zero (non-positive value).

Link copied to clipboard

Running positive-side cumulative sum, clipped at zero.

Link copied to clipboard

Reference value (allowance) k; deviations smaller than this are absorbed.

Link copied to clipboard

In-control target value updates are compared against.

Link copied to clipboard

Decision threshold h; the alarm fires when the positive or negative cusum exceeds this.

CusumResult

constructor(target: Double, referenceValue: Double, threshold: Double, cusumPositive: Double, cusumNegative: Double, alarmUp: Boolean, alarmDown: Boolean)(source)

alarmDown

True when the negative side has crossed -threshold.

alarmUp

True when the positive side has crossed threshold.

alarm

True when either side has crossed the threshold.

cusumNegative

Running negative-side cumulative sum, clipped at zero (non-positive value).

cusumPositive

Running positive-side cumulative sum, clipped at zero.

referenceValue

Reference value (allowance) k; deviations smaller than this are absorbed.

target

In-control target value updates are compared against.

threshold

Decision threshold h; the alarm fires when the positive or negative cusum exceeds this.