Give algorithms for generating random variates with the following densities:
(a) Cauchy
(b) Gumbel (or extreme value)
(c) Logistic
(d) Pareto
For γ = 0 and β = 1 in each of (a), (b), and (c), use your algorithms to generate IID random variates X1, X2, …, X5000 and write out ![]()
to verify empirically the strong law of large numbers (Sec. 4.6), i.e., that
converges to E(Xi) (if it exists); do the same for (d) with c = 1 and α2 = 2.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.