
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

Bonus Question 6 (By Yijiang Li)
Approach 1 (Using the properties of Conditional Expectation)
Property of Conditional Expectation
= E [E (y 1 +y 2 +y 3 +…+ yN-1+yN|N)] Y is the sum of the numbers facing up, and we treat N as a Random Variable
= E [E (y 1
|N) + E (y 2
|N) + E (y 3
|N) +…+ E (y N-
|N) + E (y N
Property of Conditional Expectation
For each casting before the last one, E (y i
|N) is 3 (0<=i<N); And For the last casting E (y N
Expectation is a linear operation
For Geometric Distribution: E (N) = 1/p = 6; or we can calculate using the formula mentioned in class.
Approach 2 (Using R to simulate the process or to verify the results)
This method cannot give us a very accurate value, since the nature of simulation. However, it can be used as a way to verify our final results.
See the attached Bonus6_Li.R for more information.