statsmodels.stats.rates.PoissonTestResult#
- class statsmodels.stats.rates.PoissonTestResult(statistic, pvalue, distribution, method, alternative, rate, nobs)[source]#
Result of
test_poisson.- Parameters:
- statistic
float Test statistic.
- pvalue
float p-value of the test.
- distribution
str Name of the reference distribution used for pvalue.
- method
str Method used to compute the test statistic and p-value.
- alternative
str The alternative hypothesis used for the test.
- rate
float The observed rate,
count / nobs.- nobsarray_like
Total exposure time, same as the nobs argument to test_poisson.
- statistic
- Attributes:
- alternative
- distribution
- method
- nobs
- pvalue
- rate
- statistic
Notes
Unpacks as
statistic, pvalue = result. Other values are only accessible using attributes.Methods
Properties