This function implements pseudo-random number generation for a Rayleigh distribution with pdf
for x ≥q 0 and σ > 0 where σ is the scale parameter.
Number of data points to generate.
Scale parameter of the desired Rayleigh distribution.
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.
1 2 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.