Chapter 10: Q. 10.2 (page 430)
Develop a technique for simulating a random variable having density function
Short Answer
The information for the function will get by using the universality of uniform distribution.
/*! This file is auto-generated */ .wp-block-button__link{color:#fff;background-color:#32373c;border-radius:9999px;box-shadow:none;text-decoration:none;padding:calc(.667em + 2px) calc(1.333em + 2px);font-size:1.125em}.wp-block-file__button{background:#32373c;color:#fff;text-decoration:none}
Learning Materials
Features
Discover
Chapter 10: Q. 10.2 (page 430)
Develop a technique for simulating a random variable having density function
The information for the function will get by using the universality of uniform distribution.
All the tools & learning materials you need for study success - in one app.
Get started for free
Explain how you could use random numbers to approximate , where k(x) is an arbitrary function.
Use the rejection method with g(x) = 1, 0 < x < 1, to determine an algorithm for simulating a random variable having density function
Let F be the distribution function
F(x) = xn 0 < x < 1
(a) Give a method for simulating a random variable having distribution F that uses only a single random number.
(b) Let U1, ... , Un be independent random numbers. Show that
P{max(U1, ... , Un) … x} = xn
(c) Use part (b) to give a second method of simulating a random variable having distribution F.
Let X be a random variable on (0, 1) whose density is f(x). Show that we can estimate # 1 0 g(x) dx by simulating X and then taking g(X)/f(X) as our estimate. This method, called importance sampling, tries to choose f similar in shape to g, so that g(X)/f(X) has a small variance.
In Example 4a, we showed that
E[(1 − V2) 1/2] = E[(1 − U2) 1/2] = π/4
when V is uniform (−1, 1) and U is uniform (0, 1). Now show that
Var[(1 − V2) 1/2] = Var[(1 − U2) 1/2]
and find their common value.
What do you think about this solution?
We value your feedback to improve our textbook solutions.