mqr.anova.

adequacy#

mqr.anova.adequacy(result, formatted=True)#

Table of statistics from a fitted OLS regression (see Returns).

Parameters:
resultstatsmodels.regression.linear_model.RegressionResults

The result of calling fit on a statsmodels linear regression model.

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

A DataFrame when formatted is True, a Styler otherwise. A list of statistics from the regression with columns:

S

square-root of the mean-squared error

R-sq

coefficient of determination

R-sq (adj)

coefficient of determination, adjusted for degrees of freedom in model

F

F-statistic for the whole model

PR(>F)

p-value of the F-statistic

AIC

Akaike information criterion

BIC

Bayesian information criterion

N

number of observations