for \(x \geq 0\) and \(\sigma > 0\) where \(\sigma\) is the scale parameter.
Usage
draw.rayleigh(nrep,sigma)
Arguments
nrep
Number of data points to generate.
sigma
Scale parameter of the desired Rayleigh distribution.
Value
A list of length five containing generated data, the theoretical mean, the empirical mean, the theoretical variance, and the empirical variance with names y, theo.mean, emp.mean, theo.var, and emp.var, respectively.