Stochastic Modeling: Exercise Class 3.
Olivier Wintenberger: olivier.wintenberger@upmc.fr
Exercise 1. Assume one wants to simulate the uniform distribution over the unit ballB1 in Rd.
• Show thatdrandom variablesU1, . . . , Ud∼ U(0,1) iid follows the uniform distribution over [0,1]d.
• Deduce a uniform random vector over the hyper-rectangle [−1,1]dfrom U1, . . . , Ud.
• Show that the rejection step in order to simulate the uniform distribution overB1 has efficiencyM = 2d/|B1|.
• Describe the behavior ofM with respect to the dimension d.
Exercise 2. Consider the integral I =R
∆h(x)dx where ∆⊂Rd and |∆|<∞.
• Show that fromdrandom variablesU1, . . . , Udone can simulate a uniform distribution U over a hyper-rectangleR so that ∆⊆R.
• Show thatIn = 1nPn
i=1g(Ui) where g(x) =|R|h(x) I1{x∈∆} is an unbiased approxima- tion ofI.
• Decompose the variance Var (g(U)) into two terms, one increasing with the efficiency M of the rejection step and another one independent ofM =|R|/|∆|.
• We assume thath is positive and bounded over ∆. Consider the set D=n
(x, y)∈Rd+1 :x∈∆,0≤y≤h(x)o
and the random variable Y = I1V∈D where V ∼ U(R×[0,sup∆h]). Determine the distribution of Y.
• Show thatIn0 = |R|supn∆hPn
i=1Yiis an alternative unbiased approximation ofI,Y1, . . . Yn iid versions ofY.
• Compute the variance of Y.
• Compare the variances associated toIn and In0. Which method has the best accuracy?
1