statsmodels.stats.gof.ChisquareResult#
- class statsmodels.stats.gof.ChisquareResult(chisq, pvalue, df, distr)[source]#
Result of
chisquarewhenreturn_basicis False.- Parameters:
- chisq
float The chisquare test statistic.
- pvalue
float The p-value based on the chisquare distribution if
valueis zero, or on the noncentral chisquare distribution otherwise.- df
int Degrees of freedom of the (potentially noncentral) chisquare distribution used to compute
pvalue, equal ton_bins - 1 - ddof.- distr{“chi2”, “ncx2”}
The name of the distribution used to compute
pvalue:"chi2"whenvalueis 0, otherwise"ncx2"(the noncentral chisquare distribution).
- chisq
Methods
count(value, /)Return number of occurrences of value.
index(value[, start, stop])Return first index of value.
Methods
count(value, /)Return number of occurrences of value.
index(value[, start, stop])Return first index of value.
Properties