mqr.spc.MewmaParams.

from_data#

static MewmaParams.from_data(samples, limit, lmda)#

Constructs MewmaParams from reference samples.

Reference samples are usually taken from an historical, in-control process.

Parameters:
samplespandas.DataFrame

Reference samples, with a sample per row and process dimensions in columns.

limitfloat

Upper control limit. See mqr.spc.solve_arl and mqr.spc.solve_h4, which are tools for calculating this limit.

lmdafloat

Smoothing factor.