mqr.msa.

GRR#

class mqr.msa.GRR(data: DataFrame, tolerance: float, names: NameMapping = None, include_interaction=True, include_intercept=True, nsigma=6)#

A Gauge Repeatability and Reliability study.

Constructs a model and calls statsmodels.formula.api.ols.

Attributes:
datapd.DataFrame

Experiment runs and measurements, including columns for measurement, part, operator and replicate. See NameMapping for how to name these columns.

tolerancenp.float64

Width of the tolerance of the process in the same units as the measurements.

namesNameMapping

A name mapping that defines how custom names translate to the standard names used in this library. See mqr.msa.NameMapping.

include_interactionbool

When True, include terms in the ANOVA for the interaction between operator and part.

include_interceptbool

When True, include terms in the ANOVA for the intercept.

nsigmaint

Target capability of the process.

formulastr, automatic

Formula passed to statsmodels for regression.

countstuple[int], automatic

Number of measurements, and number of unique levels in categorical variables part, operator and replicate.

modelautomatic

Linear model for OLS.

regression_resultstatsmodels.regression.linear_model.RegressionResultsWrapper, automatic

Result of calling fit() on the model.