Binomial, Geometric and Poisson distributions in excel

32
B. Heard (Not to be posted, used, etc. without my permission, students may download one copy for personal use) Binomial, Geometric and Poisson Distributions in Excel

description

Binomial, Geometric and Poisson Distributions with Excel

Transcript of Binomial, Geometric and Poisson distributions in excel

Page 1: Binomial, Geometric and Poisson distributions in excel

B. Heard(Not to be posted, used, etc. without

my permission, students may download one copy for personal use)

Binomial, Geometric and Poisson Distributions in Excel

Page 2: Binomial, Geometric and Poisson distributions in excel

Binomial, Geometric and Poisson Distributions with Excel

What I am about to show you, will amaze you.

However…If your instructor has told you that you MUST

use Minitab, I can’t change that requirementYou could still use these “Magic Calculators”

to check your work.I think it is important for you to be familiar

with Excel, since that is what you have access to in the work environment (Microsoft Excel)

Page 3: Binomial, Geometric and Poisson distributions in excel

Binomial, Geometric and Poisson Distributions with Excel

Before we start, follow these instructions carefullyGo to

http://highered.mcgraw-hill.com/sites/0070620164/student_view0/excel_templates.html

A picture follows on the next page

Page 4: Binomial, Geometric and Poisson distributions in excel

This is what it should look like, it is a long page, I couldn’t capture it all…

Binomial, Geometric and Poisson Distributions with Excel

Page 5: Binomial, Geometric and Poisson distributions in excel

Now click on the link that says “Binomial”Choose/Click “Open”

2

1

Binomial, Geometric and Poisson Distributions with Excel

Page 6: Binomial, Geometric and Poisson distributions in excel

When it opens, click on the “Review” tab and then click “Unprotect Sheet” – You must do this step

12

We a r e “ u n p r o t e c t i n g ” t h e s h e e t s o w e c a n i n p u t o u r o n v a l u e s .

Binomial, Geometric and Poisson Distributions with Excel

Page 7: Binomial, Geometric and Poisson distributions in excel

Now save your Excel Workbook file as something like “Binomial_Calculator”

Let’s finish setting up our calculators

Binomial, Geometric and Poisson Distributions with Excel

Page 8: Binomial, Geometric and Poisson distributions in excel

Now go back to the webpage

Binomial, Geometric and Poisson Distributions with Excel

Page 9: Binomial, Geometric and Poisson distributions in excel

Now click on the link that says “Geometric”Choose/Click “Open”

2

1

Binomial, Geometric and Poisson Distributions with Excel

Page 10: Binomial, Geometric and Poisson distributions in excel

When it opens, click on the “Review” tab and then click “Unprotect Sheet”

12

We a r e “ u n p r o t e c t i n g ” t h e s h e e t s o w e c a n i n p u t o u r o n v a l u e s .

Binomial, Geometric and Poisson Distributions with Excel

Page 11: Binomial, Geometric and Poisson distributions in excel

Now save your Excel Workbook file as something like “Geometric_Calculator”

We need to add one more

Binomial, Geometric and Poisson Distributions with Excel

Page 12: Binomial, Geometric and Poisson distributions in excel

Now go back to the webpage

Binomial, Geometric and Poisson Distributions with Excel

Page 13: Binomial, Geometric and Poisson distributions in excel

Now click on the link that says “Poisson”Choose/Click “Open”

21

Binomial, Geometric and Poisson Distributions with Excel

Page 14: Binomial, Geometric and Poisson distributions in excel

When it opens, click on the “Review” tab and then click “Unprotect Sheet”

12

We a r e “ u n p r o t e c t i n g ” t h e s h e e t s o w e c a n i n p u t o u r o n v a l u e s .

Binomial, Geometric and Poisson Distributions with Excel

Page 15: Binomial, Geometric and Poisson distributions in excel

Now save your Excel Workbook file as something like “Poisson_Calculator”

Let’s use our new calculators now

Binomial, Geometric and Poisson Distributions with Excel

Page 16: Binomial, Geometric and Poisson distributions in excel

Binomial Distribution Example

Binomial, Geometric and Poisson Distributions with Excel

Page 17: Binomial, Geometric and Poisson distributions in excel

Page 204, Example 2, a binomial

Binomial, Geometric and Poisson Distributions with Excel

Page 18: Binomial, Geometric and Poisson distributions in excel

Open your Excel File “Binomial_Calculator”Input 3 for n and 0.75 for p and hit ENTER

Don’t forget to hit the enter

key after inputting

Binomial, Geometric and Poisson Distributions with Excel

Page 19: Binomial, Geometric and Poisson distributions in excel

IMPORTANTDON’T FORGET TO HIT THE ENTER KEY OR

CLICK ON ANOTHER CELL AFTER YOU INPUT YOUR VALUE

DO NOT MESS WITH THE REST OF THE SHEET, ONLY INPUT INTO GREEN CELLS I NOTE, YOU WILL HAVE TO DOWNLOAD IT AGAIN IF YOU INADVERTENTLY CHANGE A CELL THAT IS USED FOR CALCULATIONS

Binomial, Geometric and Poisson Distributions with Excel

Page 20: Binomial, Geometric and Poisson distributions in excel

The probability of exactly 2 is to the right of 2 under the P(exactly x) columnCheck the book, we nailed it! Our answer is 0.4219. they noted 0.422 (they just rounded)

Note this calculator also gives me the mean, variance and standard deviation of the binomial with an n of 3 and p of 0.75

Binomial, Geometric and Poisson Distributions with Excel

Page 21: Binomial, Geometric and Poisson distributions in excel

Geometric Distribution Example

Binomial, Geometric and Poisson Distributions with Excel

Page 22: Binomial, Geometric and Poisson distributions in excel

Page 218, Example 1, a geometric

Binomial, Geometric and Poisson Distributions with Excel

Page 23: Binomial, Geometric and Poisson distributions in excel

Open your Excel File “Geometric_Calculator”

Input 0.74 for p and hit ENTER

Don’t forget to hit the enter

key after inputting!!!!!!

Binomial, Geometric and Poisson Distributions with Excel

Page 24: Binomial, Geometric and Poisson distributions in excel

The question was to find the probability that he hits his first free throw on the third or fourth attempt so we have to add the results for exactly 3 and exactly 4 which is 0.0500 + 0.0130 = 0.0630Again we nailed it!Note you are given the mean, variance and standard deviation of a geometric distribution with p = 0.74 above also.

Binomial, Geometric and Poisson Distributions with Excel

Page 25: Binomial, Geometric and Poisson distributions in excel

Poisson Distribution Example

Binomial, Geometric and Poisson Distributions with Excel

Page 26: Binomial, Geometric and Poisson distributions in excel

Page 220, Example 3, a Poisson example (It is pronounced “Poy-zahn”)

Binomial, Geometric and Poisson Distributions with Excel

Page 27: Binomial, Geometric and Poisson distributions in excel

Open your Excel File “Poisson_Calculator”Input 3.6 for the Mean and hit ENTER

Binomial, Geometric and Poisson Distributions with Excel

Page 28: Binomial, Geometric and Poisson distributions in excel

The question was to find the probability that 7 rabbits would be found (based on a Poisson distribution with an average of 3.6) Look to the right of 7 and under P(Exactly x) to see 0.0425 is the answer.Nailed it!Note you are given the variance and standard deviation of a Poisson distribution with Mean = 3.6 above also. What is the Mean? You input it! It’s 3.6, note the Variance = Mean on a Poisson distribution and the standard deviation is just the square root of that number.

Binomial, Geometric and Poisson Distributions with Excel

Page 29: Binomial, Geometric and Poisson distributions in excel

The P(At most x) and P(At least x) are very valuable also. Let’s take a look at the last problem again where we were looking for rabbits (Poisson) in a field where an average of 3.6 rabbits/acre were living.

Binomial, Geometric and Poisson Distributions with Excel

Page 30: Binomial, Geometric and Poisson distributions in excel

To the right of 4 and under P(At most x) would give us the answer to a question that could be asked a couple of ways:

What is the probability that no more than 4 rabbits were living on a given acre? 0.7064

What is the probability that less than 5 ( P(x<5) ) rabbits were living on a given acre? 0.7064

Basically it gives us P(x≤4) or P(x<5)

Binomial, Geometric and Poisson Distributions with Excel

Page 31: Binomial, Geometric and Poisson distributions in excel

To the right of 6 and under P(At least x) would give us the answer to a question that could be asked a couple of ways:

What is the probability that more than 5 rabbits ( P(x>5) ) were living on a given acre? 0.0733

What is the probability that at least 6 rabbits were living on a given acre? 0.0733

Basically it gives us P(x≥6) or P(x>5)

BASED ON THE MEAN WE INPUT

Binomial, Geometric and Poisson Distributions with Excel

Page 32: Binomial, Geometric and Poisson distributions in excel

Good luck, I hope this helps.If you enjoy reading the humor of an absent

minded math professor, come be a fan at www.facebook.com/cranksmytractor or visit me at www.CranksMyTractor.com where I write about everyday things I come across…

My best to you all…

“Statistics do not lie, but people do.”

Binomial, Geometric and Poisson Distributions with Excel