2015
Problem 1. Provide a simulation procedure to generate a random variable X with hazard rate function
given by (t) = t3. (You do not need to implement your codes, but you need to present your precise
algorithms and provide clear reasoning.)
Problem 2. Use Monte Carlo simulation to numerically approximate the integral
Z 1
0
Z x2
0
e????(x+y) sin(xy)dydx:
Attach your codes and the numerical estimates.
Problem 3. A pair of fair dice are to be continually rolled until all possible outcomes 2; 3; : : : ; 12 have
occurred at least once. Develop a simulation study to estimate the expected number of dice rolls that
are needed.
Problem 4. Present a method to generate the random variable X where
P(X = j) =
1
2
j+1
+
1
2
2j????1
3j ; j = 1; 2; : : :
Present your algorithm concisely and clearly. You do not need to code your algorithm.
Problem 5. Present a method to generate a random variable X having cumulative distribution func-
tion
F(x) =
Z 1
0
xye????ydy; 0 x 1:
Estimate the mean of X by generating 1000 replications.
Problem 6. A Gamma distribution with parameters (n; 1) (denoted by Gamma(n; 1)) has den