Description Usage Arguments Details Value warning Author(s) References See Also Examples
This function considers the possible values of a Poisson
random variable to lay within 3*sqrt(lambda)
of lambda and
is proposed for comparison with the regular rpois
generator.
1 | test3(Nsim = 10^4, lambda = 100)
|
Nsim |
Number of simulations |
lambda |
Poisson parameter |
This function replicates rpois(Nsim,lambda)
and thus should not be used.
This function produces a integer vector of size Nsim
The output is not an exact Poisson sample because of the truncation on the support.
Use rpois
instead.
Christian P. Robert and George Casella
From Chapter 2 of EnteR Monte Carlo Statistical Methods
test4,rpois
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.