subject
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).

ansver
Answers: 2

Another question on Mathematics

question
Mathematics, 21.06.2019 21:00
Sue's average score for three bowling games was 162. in the second game, sue scored 10 less than in the first game. in the third game, she scored 13 less than in the second game. what was her score in the first game?
Answers: 2
question
Mathematics, 21.06.2019 22:50
On the first of each month sasha runs a 5k race she keeps track of her times to track her progress her time in minutes is recorded in the table
Answers: 1
question
Mathematics, 22.06.2019 00:00
If each bricks costs and he can only buy one brick how much will it cost him to get the material to put around the outside of his garden?
Answers: 2
question
Mathematics, 22.06.2019 01:00
Why is causation so much more difficult to prove than correlation?
Answers: 2
You know the right 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
question
Mathematics, 06.06.2021 22:00
question
Mathematics, 06.06.2021 22:00
Questions on the website: 13722360