ControlChartResult
Notedocblock
ControlChartResultResult of monitoring an observed series or image sequence with an EWMA control chart; returned by monitor_op and monitor_sop.
Fields:
family::Symbol::opfor a time series monitored with ordinal patterns,:sopfor an image sequence monitored with spatial ordinal patterns.chart: the chart choice the statistics were computed for.lam::Float64: EWMA smoothing parameter.cl::Float64: control limit.stats::Vector{Float64}: the sequentially computed EWMA chart statistics.time::UnitRange{Int}: for each entry ofstats, the index of the observation at which it becomes available. For ordinal patterns this is the last observation of the pattern window, sotimestarts at(m - 1) * d + 1; for image sequences it is the image index.alarm::Union{Int,Nothing}: position instatsof the first signal, ornothingif the chart never signals. The corresponding observation index istime[alarm].tail::Symbol: side of the rejection region,:lower(signal whenstats[t] < cl),:upper(stats[t] > cl) or:two_sided(abs(stats[t]) > cl). With Makie loaded,plot(res)draws the statistics against the control limit(s) with the rejection region shaded and the first alarm marked; see the plotting tutorial in the docs.