Question

In: Statistics and Probability

Suppose you play rock paper scissors against a computer: *you gain $1 for each win *you...

Suppose you play rock paper scissors against a computer:

*you gain $1 for each win

*you lose $1 for each lost

if it is a tie, nothing happens

you choose rock 50% of the time and the others 25% of the time

let x be a random variable that represents the amount of money you earn after one game.

(a) find the probability distribution of X

(b) what is your average payoff after 20 games?

(c) what is the standard deviation of the payoff after 20 games?

Solutions

Expert Solution

I am playing rock paper scissors against computer. I choose rock 50% of times and each of papar and scissors 25% of the time i.e. for me the probabilities of choosing rock is 1/2, paper is 1/4 and scissors is 1/4.

Since, nothing has been mentioned we assume computer has the equal probabilities of choosing these three i.e. for computer each probability is 1/3.

Again, if I gain, I win $1. If I lose, I lose $1 and if there is a tie nothing happens.

We are given, X = random variable that represents the amount of money I earn after one game.

Based on this, we prepare the probability distribution table:

I choose My probability (pm) Computer chooses Computer's probability (pc) Joint Probability = pm x pc Result X
Rock 1/2 Rock 1/3 1/6 Tie 0
Rock 1/2 Paper 1/3 1/6 I lose -1
Rock 1/2 Scissors 1/3 1/6 I win 1
Paper 1/4 Rock 1/3 1/12 I win 1
Paper 1/4 Paper 1/3 1/12 Tie 0
Paper 1/4 Scissors 1/3 1/12 I lose -1
Scissors 1/4 Rock 1/3 1/12 I lose -1
Scissors 1/4 Paper 1/3 1/12 I win 1
Scissors 1/4 Scissors 1/3 1/12 Tie 0
Total 1

(a) We combine the probabilities of the similar value of X and get the probability distribution of X is,

(b) The game is being played for 20 times.

My average or expected pay-off after one game is

= 0

Since, each game is independent of the other, therefore the average pay-off after 20 games

= 20 X 0 = 0

Answer: My average pay-off after 20 games is $0.

(c) We calculate the standard deviation of X by using,

We have E(X) = 0

Therefore,

Hence, the standard deviation of the pay-off after 20 games = 20 X 0.8165 = 16.33 (rounded to 2 decimal places)

Answer: The standard deviation of the pay-off after 20 games is $16.33.


Related Solutions

Rock-Paper-Scissors Implement Rock-Paper-Scissors such that the user can play the computer in a best-of series! The...
Rock-Paper-Scissors Implement Rock-Paper-Scissors such that the user can play the computer in a best-of series! The user inputs the number of rounds which should be positive and odd. This is a free form assignment but structure your code similar to the test cases provided. USING MATLAB ONLY!!! Program Inputs • How many rounds would you like to play (odd rounds only)?: XXX – XXX should be positive and odd. Restart the game if the input is not positive or odd....
Problem Description: You have to play the rock-paper-scissors game against the computer for 100 times. You...
Problem Description: You have to play the rock-paper-scissors game against the computer for 100 times. You receive the following rewards each time you play the game:  You get $5 if you win  You get $2 if there is a tie  You get $-1 if you lose The computer randomly chooses rock, paper, or scissors in each game. Rather than deciding what to play (rock, paper or scissors) for each individual game, you decide to use the following...
1. You are playing rock, paper, scissors with a friend. Each time you win, your friend...
1. You are playing rock, paper, scissors with a friend. Each time you win, your friend gives you a dollar. Each time you lose, you pay your friend a dollar. Both of you play optimally with a mixed strategy of playing rock, paper, and scissors exactly one-third of the time each in a completely unpredictable way. Suddenly, a third person enters the room and offers to pay your friend (not you) 50 cents each time your friend throws a rock....
Using Java, write a program that allows the user to play the Rock-Paper-Scissors game against the...
Using Java, write a program that allows the user to play the Rock-Paper-Scissors game against the computer through a user interface. The user will choose to throw Rock, Paper or Scissors and the computer will randomly select between the two. In the game, Rock beats Scissors, Scissors beats Paper, and Paper beats Rock. The program should then reveal the computer's choice and print a statement indicating if the user won, the computer won, or if it was a tie. Allow...
JAVA : Design and implement an application that plays the Rock-Paper-Scissors game against the computer. When...
JAVA : Design and implement an application that plays the Rock-Paper-Scissors game against the computer. When played between two people, each person picks one of three options (usually shown by a hand gesture) at the same time, and a winner is determined. In the game, Rock beats Scissors, Scissors beats Paper, and Paper beats Rock. The program should randomly choose one of the three options (without revealing it) and then prompt for the user’s selection. At that point, the program...
Create a rock paper scissors game against the computer using bunch of methods. -No two dimensional...
Create a rock paper scissors game against the computer using bunch of methods. -No two dimensional arrays -No java.util.random -No ragged arrays -Methods only, and one dimensional arrays
Design and implement an Android application that plays the Rock-Paper-Scissors game against the computer. When played...
Design and implement an Android application that plays the Rock-Paper-Scissors game against the computer. When played between two people, each person picks one of three options (usually shown by a hand gesture) at the same time, and a winner is determined. In the game, Rock beats Scissors, Scissors beats Paper, and Paper beats Rock. The program should randomly choose one of the three options (without revealing it) and then seek for the user’s selection (using your choice of an object...
Code the game of Rock, Paper, Scissors between a human player and the computer. You can...
Code the game of Rock, Paper, Scissors between a human player and the computer. You can check out the game on Wikipedia if you are not familiar with it. Create a 4 option menu with the human player choices, plus the option of exiting the game. Randomly determine the computer’s choice (although a great deal of AI research has gone in to determining the best computer move). • Loop the game until the human player exits. • Count the number...
Create a Java program that allows two players to play Rock, Paper, Scissors. Player 1 will...
Create a Java program that allows two players to play Rock, Paper, Scissors. Player 1 will enter an integer to determine whether they use rock, paper or scissors. Player 2 will also enter an integer to determine whether they use rock, paper or scissors. Use named constants for rock, paper and scissors and set their values as shown below. Use if-else statements to determine the results of the game. Use the named constants to compare with the player 1 and...
Two players play a rock-paper-scissors game. The losing player will give $1 to the winning player....
Two players play a rock-paper-scissors game. The losing player will give $1 to the winning player. If it is a draw, no payment is made. The payoff to a player is the amount of money (s)he gets. Represent the situation in a matrix form. Find all the Nash equilibria.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT