Page 1 of 1

Develop an algorithm to generate random numbers from the Rayleigh distribution whose density function is f(x) = (x /σ^2

Posted: Tue Nov 23, 2021 9:35 am
by answerhappygod
Develop an algorithm to generate random numbers from the
Rayleigh distribution whose density function is f(x) = (x /σ^2 )e
^−x^2/(2σ ^2 ) , x > 0, where σ is a positive parameter.
Generate 10000 numbers from the Rayleigh distribution with σ =
2. Plot the ecdf of the sample and the true cdf. (we should use
R-Software to calculate)