statsmodels.stats.rates.PoissonTestResult#

class statsmodels.stats.rates.PoissonTestResult(statistic, pvalue, distribution, method, alternative, rate, nobs)[source]#

Result of test_poisson.

Parameters:
statisticfloat

Test statistic.

pvaluefloat

p-value of the test.

distributionstr

Name of the reference distribution used for pvalue.

methodstr

Method used to compute the test statistic and p-value.

alternativestr

The alternative hypothesis used for the test.

ratefloat

The observed rate, count / nobs.

nobsarray_like

Total exposure time, same as the nobs argument to test_poisson.

Attributes:
alternative
distribution
method
nobs
pvalue
rate
statistic

Notes

Unpacks as statistic, pvalue = result. Other values are only accessible using attributes.

Methods

Properties