M241 Probability

Chapter 3 Random Variables

Section 3.1 Introduction

Section 3.2 Expectation

Section 3.3 Standard Deviation and Normal Approximation

Section 3.4 Discrete Distributions

Section 3.5  Poisson Distribution

Section 3.1 Introduction

Distribution of a Random Variable X
 
 
x 0 1 2
P(X = x)  1/4 1/2 1/4

 
 

Joint Distributions



 

Important  Notes:

If we toss a coin twice and X = number of heads, and Y = number of tails, then X and Y have the same distribution, but they are clearly not equal.
 
 

Functions of two (or more random variables). We can form new random variables as functions of two or more random variables. Examples X + Y, X - Y, XY, min(X,Y), max(X,Y)

Example 3:

  1. 3 tickets numbered 1, 2, and 3 in box. Two tickets drawn from the box without replacement. X = first draw, Y = second draw. Let S = X + Y.
  2. Same problem without replacement.
Look at the distributions demonstrated in figure 1, page 148
 
 
  Example:   Sum of the draws without replacement:
Range of X + Y is {3, 4, 5}
P( X + Y = 3) = p(1,2) + p(2,1) = 1/6 + 1/6 = 1/3
P( X + Y = 4) = p(1,3) + p(3,1) + p(2,2) = 1/6 + 1/6 + 0 = 1/3
P( X + Y = 5) = p(2,3) + p(3,2) = 1/6 + 1/6 = 1/3


Example :   Sum of the draw with replacement
Range of X + Y is {2, 3, 4, 5, 6}
Table 3 page 145 is for sampling without replacement.
With replacement the table would be:
1
2
3
distn of Y
3
1/9
1/9
1/9
1/3
2
1/9
1/9
1/9
1/3
1
1/9
1/9
1/9
1/3
dist of X
1/3
1/3
1/3

For tossing die,  Distribution of XY (X times Y)
What is the range of XY? What is the distribution of XY?

Example 4: Minimum and maximum.
Pick three digits at random without replacement.
Let X = minimum digit. Y = maximum digit.
How many different ways can you choose 3 digits from 10 (0 through 9).

What is the probability P(X = 4, Y = 7)?  Digits could be (4,5,7) or (4,6,7). -- 2 ways.
  What is the probability P(X = 3, Y = 8)?   Digits could be (3,4,8), (3,5,8), (3,6,8) or (3,7,8). -- 4 ways.: 4/120 = 1/30

In general the probability P(X = x, Y = Y) =( y - x -1) /120
 

Conditional Distributions of Y Given X = x:

 
 

Several Random Variables (i.e. more than 2)

Extension to functions of several random variables X1, X2, … Xn  Symmetry of a random variable.

Section 3.2 Expectation

Definition: The expected value of a random variable X, denoted by E(X), is defined to be
  Fair Bets Addition Rule for Expectation The Method of Indicators
  Tail Sum Formula for Expectation:
 
 
  Markov's Inequality Expectation of a Function of X
  (See example of the uniform distribution on {-1, 0, 1}

Expectation of functions of two or more random variables:

Multiplication Rule for Expectation of independent random variables:
 


Application:   Expected winnings in lotteries.  For an interesting example look at the PowerBall lottery web page:  OREGON LOTTERY - Web Center: http://www.oregonlottery.org/night/power.htm
 
 

Section 3.3 Standard Deviation and Normal Approximation

Variance and Standard deviation give a measure of the deviation of a random variable from its mean. (I.e. how spread out is the distribution.)

Definition

Variance of X is denoted by Var(X). Standard deviation is denoted by SD(X). They are defined as follows:

Of course two random variables with the same distribution will always have the same mean, variance and standard deviation

The equivalent computational form for Var(X) is

This is easily derived by expanding the quadratic on the right hand side of the original and using the additive property of expectation.

Examples of computing the Variance

Example 1. Random Sampling

n tickets in a box with numbers. Draw a ticket at random. Let X be the number on the ticket.
 

Scaling and Shifting

 

Sums and Averages of Independent Random Variables.

Sums of independent random variables with the same distribution.

Section 3.4 Discrete Distributions

Geometric Distribution

( since must have k-1 failures followed by a success on the k'th trial. )
 

Negative Binomial Distribution

The Collector's Problem (example 5 page 215) Example of application of the geometric distribution:

Section 3.5  The Poisson Distribution


  Sample Applications of Poisson Distribution from the Exercises:
1. Exercise 1, page 233 2.   Exercise No. 2, page 234 3.  Exercise No. 4, page 234
  4.  Exercise number 5, page 235. 5.  Exercise number 6, page 234. 6.  Exercise number  8, page 234.   This is Poisson(5).

7.  Exercise number 7, page 234

a)

b)