Exact test of a Poisson rate, or comparison of two Poisson rates. Equivalent to R's poisson.test().
poisson.test()
Number of events, or [count1, count2] to compare two rates.
[count1, count2]
See PoissonTestOptions.
poissonTest(137, { T: 24.19893 }).pValue; // < 2.2e-16 (rate 1 against 5.66)poissonTest([11, 23], { T: [800, 3011] }).estimate; // rate ratio 1.80 Copy
poissonTest(137, { T: 24.19893 }).pValue; // < 2.2e-16 (rate 1 against 5.66)poissonTest([11, 23], { T: [800, 3011] }).estimate; // rate ratio 1.80
Exact test of a Poisson rate, or comparison of two Poisson rates. Equivalent to R's
poisson.test().