Control limits
StatisticalProcessMonitoring.OneSidedFixedLimit — TypeOneSidedFixedLimit(h::Float64, upw::Bool)Classical fixed one-sided limit, such that the run length $RL$ of a control chart is the first time $t$ in which the statistic $C_t$ crosses the limit.
- if
upw == true, $RL = \inf\{t : C_t > h\}$ - if
upw == false, $RL = \inf\{t : C_t < h\}$
Note that by definition, h > 0.
StatisticalProcessMonitoring.TwoSidedFixedLimit — TypeTwoSidedFixedLimit(h::Float64)Classical fixed two-sided limit, such that the run length $RL$ of a control chart is the first time $t$ in which the statistic $C_t$ crosses the limit:
$RL = \inf\{t > 0 : |C_t| > h\}$.
Note that by definition, h > 0.
StatisticalProcessMonitoring.OneSidedBootstrapLimit — TypeOneSidedBootstrapLimit{T} <: BootstrapLimit{T}A one-sided bootstrap limit with constant false-alarm rate.
Fields
sim::Vector{T}: The vector of simulated statistics.h::T: The current value of the control limit.upw::Bool: Whether the control limit is an upper or lower control limit.
Constructors
OneSidedBootstrapLimit(S::AbstractStatistic, upw, B::Int): Create a newOneSidedBootstrapLimitobject. The argumentSis anAbstractStatisticobject. The argumentupwdetermines whether the bootstrap is one-sided and upper-tailed or lower-tailed. The argumentBis an integer indicating the number of bootstrap replications.
StatisticalProcessMonitoring.OneSidedCurvedLimit — TypeOneSidedCurvedLimit(h::Float64, upw::Bool)
OneSidedCurvedLimit(h::Vector{T}, upw::Vector{Bool})Curved one-sided limit, such that the run length $RL$ of a control chart is the first time $t$ in which the statistic $C_t$ crosses the limit.
- if
upw == true, $RL = \inf\{t : C_t > h\cdot f(t)\}$ - if
upw == false, $RL = \inf\{t : C_t < -h\cdot f(t)\}$
Note that by definition, h > 0.
StatisticalProcessMonitoring.TwoSidedBootstrapLimit — TypeTwoSidedBootstrapLimit{T} <: BootstrapLimit{T}A two-sided bootstrap limit with constant false-alarm rate.
Fields
sim::Vector{T}: The vector of simulated statistics.h::Vector{T}: The current value of the control limits.
Constructors
TwoSidedBootstrapLimit(S::AbstractStatistic, B::Int): Create a newTwoSidedBootstrapLimitobject. The argumentSis anAbstractStatisticobject. The argumentBis an integer indicating the number of bootstrap replications.
StatisticalProcessMonitoring.TwoSidedCurvedLimit — TypeTwoSidedCurvedLimit(h::Float64)
TwoSidedCurvedLimit(h::Vector{T})Curved one-sided limit, such that the run length $RL$ of a control chart is the first time $t$ in which the statistic $C_t$ crosses the limit.
$RL = \inf\{t > 0 : |C_t| > h\cdot f(t)\}$.
Note that by definition, h > 0.
StatisticalProcessMonitoring.update_value! — Methodupdate_value!(L::BootstrapLimit, NM::ARL)
update_value!(L::BootstrapLimit, NM::QRL)Update the value of the BootstrapLimit object using the nominal value obtained from the ARL or QRL object.
Arguments
L::BootstrapLimit: TheBootstrapLimitobject to be updated.NM: TheARLorQRLobject used to obtain the value for the update.