Math 362 - Computer Lab #3 - Fall 2002

Introduction to Probability Theory

Computer Lab 3: The Binomial Random Variable


In this lab, we will first use the computer to both estimate and calculate the probability mass function of a binomial random variable. We will then plot its distribution function and solve some word problems.

  1. The binomial random variable

  2. Consider a binomial random variable with n = 5 and p = 0.75.

  3. Word Problems

  4. From A First Course in Probability by Sheldon Ross, Prentice Hall, 2002.
    1. A communication channel transmits the digits 0 and 1. However, due to static, the digit transmitted is incorrectly received with probability 0.2. Suppose that we want to transmit an important message consisting of one binary digit. To reduce the chance of error, we transmit 00000 instead of 0 and 11111 instead of 1. If the receiver of the message uses “majority” decoding, what is the probability that the message will be wrong when decoded? What independence assumption are you making?









    2. A student is getting ready to take an important oral examination and is concerned about the possibility of having an “on” day or an “off” day. He figures that if he has an on day, then each of his examiners will pass him independently of each other, with probability 0.8, whereas, if he has an off day, this probability will be reduced to 0.4. Suppose that the student will pass the examination if a majority of the examiners pass him. If the student feels that he is twice as likely to have an off day as he is to have an on day, should he request an examination with 3 examiners or with 5 examiners?











The macro Binomial.MTB simulates 10000 experiments, each consisting of 5 Bernoulli trials with p = 0.75. It then uses the results to estimate the p.m.f. of the corresponding binomial random variable, and compares the approximated probabilities to the exact ones. It also plots the c.d.f. of a binomial random variable with n = 5 and p = 0.75. This macro assumes that the list 0, 1, 1, 1 has been entered in Column C1. You may try and modify this file at your convenience.
Back to Math 362