statsmodels.stats.contrast.ContrastResults

class statsmodels.stats.contrast.ContrastResults(t=None, F=None, sd=None, effect=None, df_denom=None, df_num=None, alpha=0.05, **kwds)[source]

Class for results of tests of linear restrictions on coefficients in a model.

This class functions mainly as a container for t_test, f_test and wald_test for the parameters of a model.

The attributes depend on the statistical test and are either based on the normal, the t, the F or the chisquare distribution.

Methods

conf_int([alpha])

Returns the confidence interval of the value, effect of the constraint.

summary([xname, alpha, title])

Summarize the Results of the hypothesis test

summary_frame([xname, alpha])

Return the parameter table as a pandas DataFrame