Bernoulli process

Binomial variable counting ones in repeated die rolls

Binomial variable counting ones in repeated die rolls

A standard die is rolled 6 times. Use a binomial variable to find the probability of rolling at least 4 ones.

Solution

(1) Labels.

Let .

Interpret: counts the ones appearing over 6 rolls.

We seek .


(2) Calculations.

Exclusive events:

Link to original

Roll die until

Roll die until

Roll a fair die repeatedly. Find the probabilities that:

(a) At most 2 threes occur in the first 5 rolls.

(b) There is no three in the first 4 rolls, using a geometric variable.

Solution

(a)

(1) Label variables and events:

Use a variable to count the number of threes among the first six rolls.

Seek as the answer.


(2) Calculations:

Divide into exclusive events:


(b)

(1) Label variables and events:

Use a variable to give the roll number of the first time a three is rolled.

Seek as the answer.


(2) Compute:

Sum the PMF formula for :


(3) Recall geometric series formula:

For any geometric series:

Therefore:

Link to original

Cubs winning the World Series

Cubs winning the World Series

Suppose the Cubs are playing the Yankees for the World Series. The first team to 4 wins in 7 games wins the series. What is the probability that the Cubs win the series?

Assume that for any given game the probability of the Cubs winning is and losing is .

Solution

Method (a): We solve the problem using a binomial distribution.

(1) Label variables and events:

Use a variable . This counts the number of wins over 7 games. Thus, for example, is the probability that the Cubs win exactly 4 games over 7 played.

Seek as the answer.


(2) Calculate using binomial PMF:

Insert data:

Compute:

Convert :


Method (b): We solve the problem using a Pascal distribution instead.

(1) Label variables and events:

Use a variable . This measures the discrete wait time until the win. Thus, for example, is the probability that the Cubs win their game on game number .

Seek as the answer.


(2) Calculate using Pascal PMF:

Insert data:

Compute:

Convert :


Notice: The calculation seems very different than method (a), right up to the end!

Link to original

Expectation and variance

Gambling game - tokens in bins

Gambling game - tokens in bins

Consider a game like this: a coin is flipped; if then draw a token from Bin 1, if then from Bin 2.

  • Bin 1 contents: 1 token $1,000, and 9 tokens $1
  • Bin 2 contents: 5 tokens $50, and 5 tokens $1

It costs $50 to enter the game. Should you play it? (A lot of times?) How much would you pay to play?

Solution

(1) Setup:

Let be a random variable measuring your winnings in the game.

The possible values of are 1, 50, and 1000.


(2) Find the PDF of :

For have

For have

For have

These add to 1, and for all other .


(3) Find using the discrete formula:

Since , if you play it a lot at $50 you will generally make money.


Challenge Q:
If you start with $200 and keep playing to infinity, how likely is it that you go broke?

Link to original

Expected value - rolling dice

Expected value: rolling dice

Let be a random variable counting the number of dots given by rolling a single die.

Then:

Let be an RV that counts the dots on a roll of two dice.

The PMF of :

center
Then:

Notice that .

In general, .

Let be a green die and a red die.

From the earlier calculation, and .

Since , we derive by simple addition!

Link to original

Expected value by finding new PMF

Let have distribution given by this PMF:

center
Find .

Solution

(1) Compute the PMF of :

PMF arranged by possible value:


(2) Calculate the expectation:

Using formula for discrete PMF:

Link to original

Variance for composite using PMF and simpler formula

Variance for composite using PMF and simpler formula

Suppose has this PMF:

123

Find using the formula with .

(Hint: you should find and along the way.)

Link to original

Poisson process

Poisson calculation

Poisson calculation

Suppose . Find . (Leave the answer in exact form.)

Solution

(1) Conditioning definition:


(2) Expand numerator:


(3) Simplify:


(4) Compute for denominator:

Link to original

Arrivals at a post office

Arrivals at a post office

Client arrivals at a post office are modelled well using a Poisson variable.

Each potential client has a very low and independent chance of coming to the post office, but there are many thousands of potential clients, so the arrivals at the office actually come in moderate number.

Suppose the average rate is 5 clients per hour.

(a) Find the probability that nobody comes in the first 10 minutes of opening. (The cashier is considering being late by 10 minutes to run an errand on the way to work.)

(b) Find the probability that 5 clients come in the first hour. (I.e. the average is achieved.)

(c) Find the probability that 9 clients come in the first two hours.

Solution

(a)

Expect clients every 10 minutes. Therefore, let . Seek as the answer.

PMF:

Insert data and compute:


(b)

Rate is already correct. Let .

PMF:


(c)

Expect 10 clients every 2 hours. Therefore let .

PMF:

Notice that 0.125 is smaller than 0.175.

Link to original