mqr.spc.EwmaParams.

from_data#

static EwmaParams.from_data(samples, lmda, L, steady_state=False)#

Constructs an instance of EwmaParams from reference samples.

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

Parameters:
samplespandas.DataFrame

Reference samples where each row is a sample and each column is an observation.

lmdafloat

Smoothing factor.

Lfloat

Width of the limits in multiples of the stddev of the smoothed mean.

steady_statebool, optional

Whether the process has already decayed to the steady state control limits.