3.11.3.1.1. statsmodels.stats.anova.anova1_lm_single

statsmodels.stats.anova.anova1_lm_single(model, endog, exog, nobs, design_info, table, n_rows, test, pr_test, robust)[source]

ANOVA table for one fitted linear model.

Parameters:

model : fitted linear model results instance

A fitted linear model

**kwargs**

scale : float

Estimate of variance, If None, will be estimated from the largest

model. Default is None.

test : str {“F”, “Chisq”, “Cp”} or None Test statistics to provide. Default is “F”.

Notes

Use of this function is discouraged. Use anova_lm instead.