• 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. A logistic model

    24 3.99?104 10 3.91?104 25 4.00?104 11 3.93?104 26 4.00?104 22 IB Mathematics HL Type II Portfolio: Creating a logistic model International School of Helsingborg - Christian Jorgensen 12 3.94?104 27 4.00?104 13 3.95?104 28 4.00?104 14 3.96?104 29 4.00?104 15 3.97?104 30 4.00?104 41000 Estimated magnitude of population of

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

  1. This essay will examine theoretical and experimental probability in relation to the Korean card ...

    The relative frequency of an outcome is the frequency of that outcome expressed as a percentage of the total number of trials. For example, when a wooden cone was thrown 200 times it fell on its side 123 times and on its base 77 times.

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

    Now the binomial distribution model which has been developed above must be used to find the distribution of the points. The probability of Adam winning 'A' number of points can be found by substituting 'A' with the number of points that Adam Wins and after solving, the answer will be

  1. Creating a logistic model

    un If we let 10000 fish with an initial growth rate of 3.5 cultivate for a while, the population of growth would be: Year Population of Fish Growth Rate t un+1 =(-0.00006 � un +4.6) � un rn =-0.00006 � un +4.6 0 10000 2.9 1 40000 2.2 2 88000

  2. Modelling Probabilities in Games of Tennis

    b) With the model developed in 1.a) and through the use of Excel we can find all the probabilities Adam has of scoring X points with a spreadsheet like the following: X, number of points Adam wins P(x=X), probability that Adam wins X points 1 0.000339 2 0.003048 3 0.016258 4 0.056902 5 0.136565 6 0.227608 7

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

    Suppose that player A rolls p across c trials, where . Then she must roll numbers less than p across her remaining n-c trials. Across all n trials, there are ways to arrange the p?s that player A rolls. Each of the remaining slots may be filled with any integer

  2. Modelling Probabilities on games of tennis

    = np = 10 ?6.667 Variance = 2 = np (1-p) = (1 - ) = Therefore, Standard Deviation = = 1.4907 It is necessary to keep in mind the assumptions we have made over here. In the real game, there are many factors that influence the winning of an

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