Math 362 - Computer Lab #2 - Fall 2002

Introduction to Probability Theory

Computer Lab 2: Finite Sample Spaces


One of the conclusions drawn from Lab #1 was that each outcome in the sample space of an experiment could be assigned a number between 0 and 1, which describes how likely this particular outcome is to occur. This number is the probability of each outcome. In this lab, we further explore this concept on the example of the rolling of two dice.

  1. Experiment #1

  2. Consider the experiment of rolling two fair dice. We denote each outcome by a pair of numbers corresponding to the numbers turned up by each die. For instance (1,4) means that the first die turned up 1 and the second 4.

  3. Experiment #2

  4. Consider the experiment of rolling two fair dice and adding up the two numbers.

  5. Reading assignment: Section 1.6

The macro Dice.MTB simulates 10000 rollings of two dice and plots the number of occurrences of each outcome. It then calculates the sum of the numbers obtained on each die and graphs the results. Percentages describing the likelyhood of each outcome can then be used to estimate and plot the relevant probabilities. You may try and modify this macro at your convenience.
Back to Math 362