SPC utilities (mqr.spc.util)#

Functions

c4(n)

Retrieves tabulated values of the unbiasing constant c4.

d2(n)

Retrieves tabulated values of the unbiasing constant d2.

d3(n)

Retrieves tabulated values of the unbiasing constant d3.

c4_fn(n)

Direct calculation of the c4 unbiasing constant from the gamma function.

d2_integral(n, **quad_kws)

Numerical integration to calculate the d2 unbiasing constant.

d3_integral(n[, d2_fn])

Numerical integration to calculate the d3 unbiasing constant.

solve_arl(h4, p, lmda[, N])

Find the in-control ARL of an MEWMA chart.

solve_h4(arl_0, p, lmda[, init_h4])

Find the UCL of an MEWMA chart from the in-control ARL.

group_consecutives(array[, is_consecutive])

Groups the index of an array to form sets of consecutive values.

alarm_subsets(alarms)

Group alarms into subsets where indices are consecutive.