Use a Sobol' sequence to generate 1,000 quasirandom numbers from the triangular distribution, as in Exercise 3.17a.
Question:
Use a Sobol' sequence to generate 1,000 quasirandom numbers from the triangular distribution, as in Exercise 3.17a. (A Sobol' generator is in the \(\mathrm{R}\) package randtoolbox.)
Produce a histogram and compute some summary statistics. Can you tell any differences in the pseudorandom numbers of the other exercise?
Data From Exercise 3.17a:
(a) Generate 1,000 random numbers from the triangular distribution. (The PDF is given in equation (3.28).) Produce a histogram and compute some summary statistics.
\(f_X(x)= \begin{cases}1-|x| & \text { for }-1
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
Question Posted: