Week 8 Homework_ Simulation and Modeling for Engineering and Science - ISYE-6644-OAN
.pdf
keyboard_arrow_up
School
Georgia Institute Of Technology *
*We aren’t endorsed by this school
Course
6644
Subject
Industrial Engineering
Date
Jan 9, 2024
Type
Pages
11
Uploaded by KidIronPuppy25
7/12/2019
Week 8 Homework: Simulation and Modeling for Engineering and Science - ISYE-6644-OAN
https://gatech.instructure.com/courses/52126/quizzes/55301
1/11
Week 8 Homework
Due
Jul 14 at 11:59pm
Points
10
Questions
10
Available
after Jul 5 at 8am
Time Limit
None
Attempt History
Attempt
Time
Score
LATEST
Attempt 1
19 minutes
10 out of 10
Correct answers will be available on Jul 17 at 12am.
Score for this quiz:
10
out of 10
Submitted Jul 12 at 6:05pm
This attempt took 19 minutes.
1 / 1 pts
Question 1
(Lesson 7.10: Acceptance-Rejection --- Poisson Distribution.) Suppose that
,
, and
. Use our
acceptance-rejection technique from class to generate
.
(You may not need to use all of the uniforms.)
a. N=0
b. N=1
c. N=2
d. N=3
e. N=4
7/12/2019
Week 8 Homework: Simulation and Modeling for Engineering and Science - ISYE-6644-OAN
https://gatech.instructure.com/courses/52126/quizzes/55301
2/11
Define
. We'll stop as soon as
.
Let's make the following convenient table.
So we take N = 3, and the answer is (d).
1 / 1 pts
Question 2
(Lesson 7.11: Composition.) BONUS: It's Raining Cats and Dogs is a pet
store with 60% cats and 40% dogs. The weights of cats are Nor(12,4), and
the weights of dogs are Nor(30,25). How would we use composition to
simulate the weight
of a random pet from the store? (Let
denote the
standard normal c.d.f., and let
's denote PRN's.)
a.
b.
c. If
, then
; otherwise,
d. If
, then
; otherwise,
7/12/2019
Week 8 Homework: Simulation and Modeling for Engineering and Science - ISYE-6644-OAN
https://gatech.instructure.com/courses/52126/quizzes/55301
3/11
e. If
, then
; otherwise,
By inverse transform, the weight of a cat all by itself is
Similarly, the weight of a dog all by itself is
.
These facts eliminate choices (a), (c), and (e). In addition, (a) and (b)
are some kind of mutant cat-dog, both of which sort of combine 0.6 of
a cat with 0.4 of a dog; so those are wrong. What we really want is to
take
with probability 0.6, and otherwise
. This is
choice (d)!
1 / 1 pts
Question 3
(Lesson 7.12: The Box-Muller Method.) Suppose
and
are i.i.d.
Unif(0,1) with
and
. Use the "cosine" version of Box-
Muller to generate a single Nor(-1,4) random variate. Don't forget to use
radians instead of degrees!
a. -0.326
b. 0
c. 0.326
d. 0.663
e. 1.96
7/12/2019
Week 8 Homework: Simulation and Modeling for Engineering and Science - ISYE-6644-OAN
https://gatech.instructure.com/courses/52126/quizzes/55301
4/11
Box-Muller immediately gives the following Nor(0,1) random variate:
To obtain the realization of the Nor($-$1,4), we simply apply the
transform
which is choice (c).
1 / 1 pts
Question 4
(Lesson 7.13: Generating Order Statistics.) Consider i.i.d. Exp(
) random
variables
, and let
. How can we generate
using just
one
PRN?
a.
b.
c.
d.
e.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help