• Join over 1.2 million students every month
  • Accelerate your learning by 29%
  • Unlimited access from just £6.99 per month

Random Variables

Extracts from this document...

Introduction

Problem Statement:

The game of Unlucky 7 is one of the most famous (or notorious) of all gambling games played with dice. In this game, the player rolls a pair of six-sided dice (assumed to be fair), and the SUM of the numbers that turn up on the two faces is noted. If the sum is 7 or 11 on the first roll, then the player wins immediately. If the sum is 2, 3, or 12 on the first roll, then the player loses immediately. If any other sum appears, then the player continues to throw the dice until the first sum is repeated (the player wins) or the sum of 7 appears (the player loses).

Requirements:

  1. Compute the theoretical probabilities for each sum of a dice roll (rounded to the nearest thousandth decimal place). Use for the simulation model.
  • Since the random variable is the sum of the two fair die, we need to create a probability table that correlates to the probability of the sums 2-12, inclusive.
  • From prior knowledge, I know that this particular probability distribution is binomial, and the total number of ways is 6² because there is six possibilities on a fair dice, and since we are rolling two at the same time, it is the exponent.

RV = SUM

P(SUM)

Decimal Approximation

2

1/36

.028

3

2/36

.056

4

3/36

.083

5

4/36

.111

6

5/36

.139

7

6/36

.166

8

5/36

.139

9

4/36

.111

10

3/36

.083

11

2/36

.056

12

1/36

.028

  • The decimal approximation for P(SUM = 7) is rounded down one thousandths place so the sum of all the decimal approximation values are equal to one, and not above one.
  • Hence, now the total of the decimal approximations are 1.
  1. Design a five-step simulation experiment for the game of Unlucky 7. Describe each of the five steps completely. Conduct 20 trials. Record the results.
  • Problem:
  1. To simulation 20 trials of the game Unlucky 7.
  • Key Components:
  1. Upon the first roll, if the player receives a 7 or an 11, then they win immediately. If they receive a 2, 3, or 12, then they lose immediately.
  2. If any other sum appears than the ones listed above, the player must keep on playing until the first sum is repeated, in which they win, or the sum of 7 appears, in which case they lose.
  3. All trials will be of different lengths.
  4. The sums are ranged from 2 to 12, inclusive.
  • Underlying Assumptions:
  1. The dice are fair.
  2. The person playing and the person running the game are not cheating.
  • Simulation Model:
  1. Based upon the theoretical decimal approximations, I will assign the numbers 000-999 a certain sum value.
  2. SUM = 2 → 000-027
  3. SUM = 3 → 028-083
  4. SUM = 4 → 084-166
  5. SUM = 5 → 167-277
  6. SUM = 6 → 278-416
  7. SUM = 7 → 417-582
  8. SUM = 8 → 583-721
  9. SUM = 9 → 722-832
  10. SUM = 10 → 833-915
  11. SUM = 11 → 916-971
  12. SUM = 12 → 972-999
  • Conclusions:
  1. Conclusions will be made in the next few requirements.
  • Trials:
  1. Trial 1
  • 482—7
  • WIN
  1. Trial 2
  • 266—5
  • 967—11
  • 571—7
  • LOSE
  1. Trial 3
  • 564—7
  • WIN
  1. Trial 4
  • 589—8
  • 169—5
  • 96—4
  • 807—9
  • 891—10
  • 78—3
  • 869—10
  • 619—8
  • WIN
...read more.

Middle

955-11246—5326—6882—10965—11839—10818—9762—9704—8833-1095—4WIN
  1. Trial 6
  • 984—12
  • LOSE
  1. Trial 7
  • 795—9
  • 901—10
  • 471—7
  • LOSE
  1. Trial 8
  • 480—7
  • WIN
  1. Trial 9
  • 125—4
  • 837—10
  • 498—7
  • LOSE
  1. Trial 10
  • 764—9
  • 801—9
  • WIN
  1. Trial 11
  • 941—11
  • WIN
  1. Trial 12
  • 621—8
  • 082—3
  • 628—8
  • WIN
  1. Trial 13
  • 167—5
  • 566-7
  • LOSE
  1. Trial 14
  • 987—12
  • LOSE
  1. Trial 15
  • 224—5
  • 038—3
  • 390—6
  • 969—11
  • 943—11
  • 810—9
  • 911—10
  • 633—8
  • 608—8
  • 427—7
  • LOSE
  1. Trial 16
  • 549—7
  • WIN
  1. Trial 17
  • 949—11
  • WIN
  1. Trial 18
  • 726—9
  • 790—9
  • WIN
  1. Trial 19
  • 709—8
  • 171—5
  • 215—5
  • 249—5
  • 277—5
  • 178—5
  • 590—8
  • WIN
  1. Trial 20
  • 440—7
  • WIN
  • There was 13 WINS and 7 LOSSES.
  1. Create a relative frequency histogram to summarize the population distribution for the sum of the dice roll.
  1. Answer the following questions.
  • What type of random variable is represented in this game?
  1. This game represents a discrete random variable. The random variable is the sum of the two fair die.
  • What is the shape of the distribution?
  1. The distribution has  a standard normal shape—bell shaped, single-peaked, area under curve is 1. Furthermore, this distribution is binomial further ensuring that is symmetrical.
  • What sum appears most likely to occur? What sum appears least likely to occur?
  1. The sum of 7 is most likely to appear, since it has the highest probability (6/36). The sums of 2 and 12 are the least likely to occur since they have the lowest probability (1/36).
  • What is the relative frequency of winning on the first roll of the dice?
...read more.

Conclusion

  1. Create a list of sample mean sums as the number of dice rolls increase from 1 to 20. Plot a frequency polygon of observations (number of dice rolls) versus sample mean. Discuss the law of large numbers.

Roll #

Average

Roll #

Average

1

7

11

76/11 ≈ 6.90

2

6

12

43/6 ≈ 7.17

3

23/3 ≈ 7.67

13

94/13 ≈ 7.23

4

7.5

14

7

5

7.4

15

7.2

6

7.5

16

7.125

7

50/7 ≈ 7.14

17

116/17 ≈ 6.82

8

6.75

18

127/18 ≈ 7.06

9

7

19

132/19 ≈ 6.95

10

7.3

20

6.9

image00.jpg

The law of large number states that as the number of trial increases, the mean (average) tend to go towards the theoretical (expected) mean. As exemplified by the frequency polygon shown above, this law holds true for this binomial probability because the frequency polygon appears to be approaching 7, and at certain times, is at seven (as shown in the table above also). Hence, as more dice are rolled, the average should eventually be extremely close to seven.

  1. Construct a normal probability plot. Is the sum of dice rolls normally distributed?

image01.jpg

  • By the normal probability plot, shown below, the data appears to be relatively linear (it has a slight curvature) thus showing that the sum of dice rolls is somewhat normally distributed, but not definitively.

Laboratory #3

Random Variables

image02.png

Pooja Mehta

5th period

AP/IB Statistics

Mr. LeKander

12-14-2009

...read more.

This student written piece of work is one of many that can be found in our International Baccalaureate Maths section.

Found what you're looking for?

  • Start learning 29% faster today
  • 150,000+ documents available
  • Just £6.99 a month

Not the one? Search for your essay title...
  • Join over 1.2 million students every month
  • Accelerate your learning by 29%
  • Unlimited access from just £6.99 per month

See related essaysSee related essays

Related International Baccalaureate Maths essays

  1. Modelling Probabilities in Tennis. In this investigation I shall examine the possibilities for ...

    Because we know it is a convergent sequence, and we can calculate its sum to infinity: Therefore A's probability of winning once deuce is called become over a long game. To calculate A's probability of winning in a game with deuce we must calculate the probability of the original deuce occurring.

  2. Math IA type 2. In this task I will be investigating Probabilities and investigating ...

    Consequently we can conclude that the expected value for Ben is because it would be which would be The standard deviation of this binomial random variable has the formula Where n is the number of trials which would be 10 here, since there are 10 points played.

  1. A logistic model

    H ? 0 ? (?1?10?5 )(u )2 ? 0.6(un?1 ) ? H ? 0 {16} Model {16} is a quadratic equation which could be solved, if one knew the value of the constant term H, yet in this case it serves as an unknown that must be found.

  2. Mathematics (EE): Alhazen's Problem

    If we then translate this onto a perpendicular coordinate system and make C the origin, then ball A will have the coordinates (Xa, Ya) and ball B will have the coordinates (Xb, Yb) as can be seen on Figure 8.

  1. THE DICE GAME - calculating probabilities

    The probability is: P(N) * P(A)= 15/36 * 15/36 -------------------------------------- TASK 3 & 4 -------------------------------------- Solution: There are two cases when both players can roll their dice two times: Ann is winning: P(N) * P(A) = 15/36 * 15/36 Bob is winning: P(N)

  2. Modelling Probabilities in Games of Tennis

    When we graph the data we get a histogram like the one on the next page: c) To find the expected value and standard deviation we must use the following equations: We have that n=10 and p= , so This information tells us that Adam usually wins 7 points, although

  1. The Population of Japan and Swaziland

    in thousands for my y values and their expressive year values as my x. I will exemplify a few of these procedures below. For my first demonstration I will be using the data from year 1 which has the population of 100.0 (thousand).

  2. The purpose of this investigation is to create and model a dice-based casino game ...

    In order to determine the probability that player A wins, it is necessary to first find the probabilities of the outcomes of each of player A?s rolls. Now consider a specific whole number p between one and six inclusive. In order for p to be recognized as player A?s higher

  • Over 160,000 pieces
    of student written work
  • Annotated by
    experienced teachers
  • Ideas and feedback to
    improve your own work