Assignment 3 - Due Nov 25th
Assignment 3 - Due Nov 25th
Assignment 3 - Due Nov 25th
2016-17 Term 1
Assignment #3
Due: November 25th, 2016 (Friday) at 5:30pm
This assignment covers material from Section 4.5 to Chapter 5 of the lecture notes.
You are required to use the Microsoft Excel to work on ALL the calculations, and please
present your answers in (at least) 4 decimal places.
Assignment Submission: Please submit the soft copy of your work: Soft copy: An assignment #3 dropbox button is now available in the eLearning system
** Filename **:Please have the filename of the formCHAN Tai Man assignment 3.xlsx
so that the grader is able to keep track of your file easier.
*No Hard copy is required*: All the computations can be done in Excel formula directly.
Problem 1 [28 points] (Simulation of Geometric Distribution): Consider Y ~ Geometric(p)
y
with the cdf given by F ( y) Pr(Y y) 1 q
for y = 1, 2, .
Problem 3 [16 points] Consider a Chocolate Surprise product with hollow milk chocolate
egg shell containing a toy inside. The toy can either be figurine A or figurine B, with the
probability of occurrence 30% and 70% respectively. Suppose we bought 5 of these
Chocolate Surprise products at random, and let X be the number of figurine A obtained.
(a) [3 points] Show that the (exact) probability of obtaining at least one complete set
(Figurine A + B) is p1 = Pr(1 X 4) = 0.8295
(b) [3 points] What is the (exact) probability of obtaining at least two complete sets p2?
(c) [5 points] Estimate p1 based on Monte Carlo methods of 5,000 trials, and provide a 95%
confidence interval for p1.
(d) [5 points] Estimate p2 based on Monte Carlo methods of 5,000 trials, and provide a 95%
confidence interval for p2.
Problem 4 [30 points] In a restaurant nearby the campus, the lunch set they serve is $40
per person. Recently, there is a Big Eater Challenge offered by the restaurant as follow:
A group of 4 or more people can order the same lunch set together at $60 each. If at least
4 of them are able to finish his/her lunch set within an hour, only those who are not able to
finish on time have to pay for his/her lunch.(For example, if a group of 5 people entered the
challenge and 4 finished on time, only the 5th person is required to pay for $60. However, if
only 3 of them finished on time, the group has to pay a total of $60x5 =$300.)
Let Yi be the time (in hours) for the ith person to finish his/her lunch, and assume that
Yi ~Exp(=5/6)
[i.e. E(Yi) = 1/ = 1.2 hour]
Suppose you come with a group of 6 persons today, and you are allowed to assign some of
the group members to join the Big Eater Challenge (with the rest ordering the regular
lunch set at $40 each).
Based on the Monte Carlo Method with simulation size of 5,000 trials, how many people
should we assign to the "Big Eater Challenge", so as to minimize the expected amount the
group has to pay to the restaurant?
- End of the Assignment -
Page 2/2