Mathematics
Mathematics, 24.06.2020 06:01, kolbehoneyman

You are playing a game where a fair die is rolled first and then a fair coin is tossed a number of times equal to the face of the die (e. g. if the die shows three, the coin is tossed three times, and this combination is considered as one game). . a) Let X be the number of heads(H) you can get in any game.
• Write down the probability mass function of X. (this part is not a simulation question. Calculate ALL the probabilities and produce a table that represents the pmf)
• Calculate E[X] using your pmf.
b) Write an R code that will simulate this game 100,000 times.
• save the outputs from your simulation (no need to print the outputs).
• Use these outputs to calculate an estimate of E[X].
c) Suppose you are told that if the number on the die is odd you get a dollar value equivalent to the corresponding X value(e. g. the die shows three, the coin is tossed three times, if there are two heads you get $2) But if the number on the die is even, you have to pay a dollar value equivalent to X.
• Calculate an estimate of your expected gain from each game (You can use numeric calculations as you have done in part(a) or you can use your simulation from part(b) to answer this question).

answer
Answers: 2

Other questions on the subject: Mathematics

image
Mathematics, 21.06.2019 20:10, Jasten
21 type the correct answer in the box. use numerals instead of words. if necessary, use / for the fraction bar. the solution set of n2 - 14n = -45 is { (separate the solutions with a comma)
Answers: 3
image
Mathematics, 21.06.2019 20:30, donnafranks2003
If g^-1(x) is the inverse of g (x) which statement must be true
Answers: 3
image
Mathematics, 21.06.2019 21:00, 22MadisonT
Abakery recorded the number of muffins and bagels it sold for a seven day period. for the data presented, what does the value of 51 summarize? a) mean of bagels b) mean of muffins c) range of bagels d) range of muffins sample # 1 2 3 4 5 6 7 muffins 61 20 32 58 62 61 56 bagels 34 45 43 42 46 72 75
Answers: 2
image
Mathematics, 21.06.2019 21:30, jbismyhusbandbae
100 points? me its important ‼️‼️‼️‼️‼️‼️‼️‼️‼️‼️‼️
Answers: 1
Do you know the correct answer?
You are playing a game where a fair die is rolled first and then a fair coin is tossed a number of t...

Questions in other subjects:

Konu
Mathematics, 11.05.2020 05:57