Last data update: 2014.03.03
|
R: Generic chi-square generator
Generic chi-square generator
Description
This function is a front-end for rchisq , designed for comparison with test1 .
Usage
test2(Nsim = 10^4, df = 6)
Arguments
Nsim |
Number of simulations
|
df |
Degrees of freedom
|
Details
This function replicates rchisq(Nsim,df) and thus should not be used.
Author(s)
Christian P. Robert and George Casella
References
From Chapter 2 of EnteR Monte Carlo Statistical Methods
See Also
test1,rchisq
Examples
mean(test2())
# produces [1] 5.955972
Results
|