Description Usage Arguments Details Value References Examples
Computes the Wald test statistic for the null hypothesis H0: theta = theta_0 where theta is mean of a Poisson distribution. This is discussed in Exercise 6.3.17 on page 386 of HMC.
1 | waldpois(x, theta0)
|
x |
a vector of numeric elements, the sample. |
theta0 |
a vector of numeric elements, each element is a mean you are checking the set against. |
this function uses the following mathematical function: (sqrt(length(x) / mean(x)) * (mean(x) - theta0))^2
this function returns a floating point number for each element, the test statistic for each element in theta0
Hogg, R. McKean, J. Craig, A. (2018) Introduction to Mathematical Statistics, 8th Ed. Boston: Pearson.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.