mqr.anova.

summary#

mqr.anova.summary(result, typ=2, formatted=True)#

The ANOVA table for a regression.

Parameters:
resultstatsmodels.regression.linear_model.RegressionResults

Result of calling fit on a statsmodels linear regression model.

typ{1, 2, 3, ‘I’, ‘II’, ‘III’}, optional

The ANOVA analysis type. Passed to anova_lm(..., typ=typ).

formattedbool, optional

When True, returns a formatted DataFrame. Set this to False to access the calculated values.

Returns:
pandas.DataFrame or pandas.io.formats.style.Styler

The ANOVA table for the regression. A DataFrame when formatted is False and a Styler when True.