Question

A fair 20-sided die is rolled repeatedly, until a gambler decides to stop. The gambler pays...

A fair 20-sided die is rolled repeatedly, until a gambler decides to stop. The gambler pays $1 per roll, and receives the amount shown on the die when the gambler stops (e.g., if the die is rolled 7 times and the gambler decides to stop then, with an 18 as the value of the last roll, then the net payo↵ is $18 $7 = $11). Suppose the gambler uses the following strategy: keep rolling until a value of m or greater is obtained, and then stop (where m is a fixed integer between 1 and 20). (a) What is the expected net payoff? (b) Use R or other software to find the optimal value of m.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Answer Date:7/6/2019 (a) Define random variable X that marks the net payoff. Define the random variable N that marks the turn

20m k P(N k) E(XIN k)P(N = k - _ 2 k-1 k-1 20m P(N k) kP(N = k) 2 k-1 k-1 20 20m 20m - E(N) 2 20 m1 2 (b) E(X) is Using R, co

C 20 15 10 5 Index LC 7. 0 f(1:20)

so the optimal value of m that maximizes the expectation is 15 function ) f 20/a(20-m+1) (20+m) /2 S return (s) } plot (f (1:

Add a comment
Know the answer?
Add Answer to:
A fair 20-sided die is rolled repeatedly, until a gambler decides to stop. The gambler pays...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT