test4 {mcsm} | R Documentation |
This function is a front-end for the standard {rpois}
Poisson generator.
test4(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
.
Christian P. Robert and George Casella
From Chapter 2 of EnteR Monte Carlo Statistical Methods
test3,rpois
mean(test4()) # produces [1] 100.0273