poissonTest | R Documentation |
A simple test of a hypothesis that a given sample 'x' comes from a Poisson distribution with unknown parameter. The test is described in Zvara (2008), chapter 10.5.
poissonTest(x, alpha = 0.05,
na.rm = FALSE)
x |
a vector of samples |
alpha |
significance level |
na.rm |
shall NA's be removed first? |
a list of 'q' (the test statistics), 'q1, q2' (the critical values), and 'p' (the p-value of the test)
Tomas Sieger
Karel Zv\'ara. _Regrese._ Matfyzpress Praha 2008. Chapter 10.5
poissonTest(rpois(20,3))
poissonTest(abs(rnorm(20)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.