1 Binomial Probability Distribution Here we study a special discrete PD (PD will stand for Probability Distribution) known as the Binomial PD.

Slides:



Advertisements
Similar presentations
Binomial Probability Distribution
Advertisements

Presentation on Probability Distribution * Binomial * Chi-square
Probability.
Lecture (7) Random Variables and Distribution Functions.
© 2004 Prentice-Hall, Inc.Chap 5-1 Basic Business Statistics (9 th Edition) Chapter 5 Some Important Discrete Probability Distributions.
1 Some more probability Samuel Marateck © Another way of calculating card probabilities. What’s the probability of choosing a hand of cards with.
Chapter 5 Some Important Discrete Probability Distributions
Chapter 5 Discrete Random Variables and Probability Distributions
Chapter 4 Probability and Probability Distributions
© 2003 Prentice-Hall, Inc.Chap 5-1 Basic Business Statistics (9 th Edition) Chapter 5 Some Important Discrete Probability Distributions.
© 2002 Prentice-Hall, Inc.Chap 4-1 Statistics for Managers Using Microsoft Excel (3 rd Edition) Chapter 4 Basic Probability and Discrete Probability Distributions.
ฟังก์ชั่นการแจกแจงความน่าจะเป็น แบบไม่ต่อเนื่อง Discrete Probability Distributions.
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 5-1 Chapter 5 Some Important Discrete Probability Distributions Statistics.
Statistics for Managers Using Microsoft Excel, 5e © 2008 Pearson Prentice-Hall, Inc.Chap 5-1 Statistics for Managers Using Microsoft® Excel 5th Edition.
Problems Problems 4.17, 4.36, 4.40, (TRY: 4.43). 4. Random Variables A random variable is a way of recording a quantitative variable of a random experiment.
Probability Distributions Discrete. Discrete data Discrete data can only take exact values Examples: The number of cars passing a checkpoint in 30 minutes.
Introduction to Probability
1 Binomial Probability Distribution Here we study a special discrete PD (PD will stand for Probability Distribution) known as the Binomial PD.
Chapter 4 Discrete Random Variables and Probability Distributions
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 4-1 Introduction to Statistics Chapter 5 Random Variables.
An Inference Procedure
The Normal Distribution
Statistics Alan D. Smith.
Irwin/McGraw-Hill © The McGraw-Hill Companies, Inc., 2000 LIND MASON MARCHAL 1-1 Chapter Five Discrete Probability Distributions GOALS When you have completed.
1 Confidence Interval for Population Mean The case when the population standard deviation is unknown (the more common case).
1 Binomial Probability Distribution Here we study a special discrete PD (PD will stand for Probability Distribution) known as the Binomial PD.
1 Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. Discrete Distributions Chapter 5.
Discrete Probability Distributions
Problem A newly married couple plans to have four children and would like to have three girls and a boy. What are the chances (probability) their desire.
McGraw-Hill/IrwinCopyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Chapter 4 and 5 Probability and Discrete Random Variables.
1 CY1B2 Statistics Aims: To introduce basic statistics. Outcomes: To understand some fundamental concepts in statistics, and be able to apply some probability.
1 Overview This chapter will deal with the construction of probability distributions by combining the methods of Chapter 2 with the those of Chapter 4.
5.1 Basic Probability Ideas
5-1 Business Statistics: A Decision-Making Approach 8 th Edition Chapter 5 Discrete Probability Distributions.
Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc.. Chap 5-1 Chapter 5 Some Important Discrete Probability Distributions Basic Business Statistics.
1 Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. Random Variables  Random variable a variable (typically represented by x)
Binomial Distributions Calculating the Probability of Success.
Chapter © 2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or.
1 Random Variables and Discrete probability Distributions Chapter 7.
Expected values and variances. Formula For a discrete random variable X and pmf p(X): Expected value: Variance: Alternate formula for variance:  Var(x)=E(X^2)-[E(X)]^2.
Ch.4 DISCRETE PROBABILITY DISTRIBUTION Prepared by: M.S Nurzaman, S.E, MIDEc. ( deden )‏
MATB344 Applied Statistics Chapter 5 Several Useful Discrete Distributions.
Section 6.2: How Can We Find Probabilities When Each Observation Has Two Possible Outcomes? 1.
BINOMIALDISTRIBUTION AND ITS APPLICATION. Binomial Distribution  The binomial probability density function –f(x) = n C x p x q n-x for x=0,1,2,3…,n for.
Binomial Probability Distribution
Random Variables And Discrete Probability Distributions
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Section 5-2 Random Variables.
4 - 1 © 2001 prentice-Hall, Inc. Behavioral Statistics Discrete Random Variables Chapter 4.
Define "discrete data" to the person sitting next to you. Now define "random" and "variable"
Summary -1 Chapters 2-6 of DeCoursey. Basic Probability (Chapter 2, W.J.Decoursey, 2003) Objectives: -Define probability and its relationship to relative.
Copyright © Cengage Learning. All rights reserved. 5 Probability Distributions (Discrete Variables)
Copyright ©2011 Pearson Education, Inc. publishing as Prentice Hall 5-1 Business Statistics: A Decision-Making Approach 8 th Edition Chapter 5 Discrete.
40S Applied Math Mr. Knight – Killarney School Slide 1 Unit: Statistics Lesson: ST-5 The Binomial Distribution The Binomial Distribution Learning Outcome.
Slide Slide 1 Section 5-3 Binomial Probability Distributions.
Welcome to MM207 - Statistics!
Business Statistics: A Decision-Making Approach, 7e © 2008 Prentice-Hall, Inc. Chap 5-1 Business Statistics: A Decision-Making Approach 7 th Edition Chapter.
1 7.3 RANDOM VARIABLES When the variables in question are quantitative, they are known as random variables. A random variable, X, is a quantitative variable.
Business Statistics, A First Course (4e) © 2006 Prentice-Hall, Inc. Chap 5-1 Chapter 5 Some Important Discrete Probability Distributions Business Statistics,
Slide 1 Copyright © 2004 Pearson Education, Inc. Chapter 5 Probability Distributions 5-1 Overview 5-2 Random Variables 5-3 Binomial Probability Distributions.
© 2006 The McGraw-Hill Companies, Inc., All Rights Reserved. Chapter Six McGraw-Hill/Irwin Discrete Probability Distributions.
AP Statistics From Randomness to Probability Chapter 14.
©The McGraw-Hill Companies, Inc. 2008McGraw-Hill/Irwin Probability Distributions Chapter 6.
Chapter 5 Probability 5.2 Random Variables 5.3 Binomial Distribution
EQ: How do you solve probability questions in a binomial setting?
EQ: How do you solve probability questions in a binomial setting?
AP STAT MOCK EXAM Saturday, April 23, 2016
LESSON 9: BINOMIAL DISTRIBUTION
M248: Analyzing data Block A UNIT A3 Modeling Variation.
12/12/ A Binomial Random Variables.
Chapter 8: Binomial and Geometric Distributions
Presentation transcript:

1 Binomial Probability Distribution Here we study a special discrete PD (PD will stand for Probability Distribution) known as the Binomial PD

2 Binomial Distribution When you flip a coin you can get a head or a tail. You could observe heads or tails on several flips of a coin. Say you flip the coin n times (n is a general number of times and when we have a specific problem we usually have a specific value for n). On each flip we might call heads the “event of interest” and after n flips we might be interested in how many of the n flips gave the event of interest. The possibilities for the number of events of interest take on the discrete values 0, 1, 2 all the way through n. Thus the binomial distribution is really just the distribution of a variable with discrete values from 0 to n. But, certain conditions must hold. I show those soon. Now, on a coin flip heads has probability.5, but the event of interest on any one trial in the binomial process does not have to be.5

3 Properties of a Binomial process. 1) The sample consists of a fixed numbers of observations, n. 2) Each observation is classified into one of two mutually exclusive and collectively exhaustive categories. 3) The probability of an observation, denoted by π, being classified as the event of interest is constant (does not change) from observation to observation. (1 - π) is the probability of an observation being classified as NOT being the event of interest does not change from observation to observation. 4) The observations are independent. Recall before we saw that the probability of the intersection of independent events is equal to the product of the probabilities of each event. Let’s move to an example to put this information into context.

4 In the book there is an example about a company that takes orders from customers over the internet. Any invoice that is questionable is tagged (and presumably examined more closely before sending to a shipping department). Say in recent history the likelihood an order is tagged is So, an order being tagged is the event of interest and the probability is.1 that this will happen to an order. If a sample of 4 orders is taken then the binomial variable the number of tagged orders can take on the values 0, 1, 2, 3, and 4. Using counting rule 1 there are 16 possible ways the 4 orders can come in. Let’s see these on the next screen.

5 Let’s call s the event of interest (a success) and f not an event of interest (a failure). 4 ordersnumber of events of interest ssss4 sssf3 ssfs3 ssff2 sfss3 sfsf2 sffs2 sfff1 fsss3 fssf2 fsfs2 fsff1 ffss2 ffsf1 fffs1 ffff0 On the next slide I have a tree diagram to help you think about all the possible outcomes. On the fair left I have the event of interest s and not event of interest f in the first round. The second round shows a new s and f for each from the previous round. Then you just follow each branch to get the 16 different orders shown here.

6 S SF SS FF SS SF FS FF SS SF FS FF SS FF FS F

7 The random variable again is x = the number tagged orders. So we can have 0, 1, 2, 3, or 4. You can see that 1 of the 16 possible outcomes has exactly 4 tagged orders. Does this mean the probability of exactly 4 tagged orders is 1/16 or.0625? Maybe not. Here is why. We have to figure in the probability that a given order will be tagged. All 4 orders being tagged is really the intersection of the first order tagged and the second order tagged and the third order tagged and the fourth order tagged. The probability of the intersection of independent events is just the multiplication of the probability of each. P(4) =.1(.1)(.1)(.1) =.0001

8 Now, the probability that only three are tagged is tricky. You can see from the list 4 of the 16 had only 3 tagged. Each one of the 4 has probability.1(.1)(.1)(.9) = So with 4 possible ways of getting this result we have P(3) = of the 16 outcomes have only two being tagged. Each has probability.1(.1)(.9)(.9) = So with this occurring six times P(2) = of the 16 outcomes have only 1 being tagged. Each has probability.1(.9)(.9)(.9) = So with this occurring 4 times P(1) = of the 16 outcomes has none tagged. P(0) =,9(.9)(.9)(.9) =.6561

9 Remember we have n = 4 orders here and X = the number of orders tagged. X could be 0, 1, 2, 3, or 4. In general, the probability, written P(X), of a given X is found by the formula n! π X (1-π) (n-X) remember something raised to 0 power = 1 X!(n-X)! Now in our example n = 4, π =.1 and 1-π =.9 When X = 0, the probability P(0) = 4!.1 0 (.9) 4-0 = !4! Note when we found P(0) we had 0! and this equals 1. Plus we had something raised to the 0 power. This always equals 1.

10 As you can tell these calculations are quite tedious. The good news is our book has a table that can give us the probabilities we so desire. Table E.6 in the back of the book has some binomial tables. Note down the left side of the table you see examples of n from 2 through 10. Also on the left you see X as the number of items of interest. For our example we had n = 4, or 4 orders sampled and X represents the number tagged. So we see the probability that 0 of the 4 being tagged is in the 0 row (of the n = 4 section). Since in one trial our event of interest =.1 we have to look in that column. (The table says p across the top but I think it should say π.). On the next screen I show you the binomial probability distribution with n = 4 and π =.1. I also add the cumulative distribution. (Note in table E.6 if π >.5 you look at the bottom of the table and up the right side.)

11 XP(X)cum prob Now, let’s ask a few more questions. What is the probability 1 or fewer oders would be tagged? The cum prob tells us the answer is What is the probability that more than 2 will be tagged? More than 2 is the complement of 2 or fewer, so P(more than 2) = 1 – P(X≤2) = = The cum prob column is telling us the prob of X in a given row or any X less than in the row. P(X≤2), for example, is the probability of 2 or fewer tagged orders and equals.9963

12 Microsoft Excel and the Binomial PD On the next slide there is a spreadsheet in Excel. I use a different generic example for you to see how this is similar to the table E.6. Note cell c1 has the value of n = 3 and cell c2 has the value of π =p =.3. Cells A4:A7 have the values of x. Cells B4:B7 have Excel formulas typed in. If we put the mouse in cell B4 and typed “=BINOMDIST(A4, $C$1, $CD$2, FALSE).” The A4 will mean 0. The $C$1 will mean 3. The $C$2 will mean.3 and the FALSE means we want the f(x). When you type this in hit the enter key. To get the rest of the f(x) values put the mouse back into cell B5 and click once. Then move the mouse to the bottom right corner of the cell, click and drag down to the last cell. In the BINOMDIST function A4 changes to A5 and so on as you drag down. Excel wants to change cell values when you drag functions. The $ signs in the $D$1 mean when you drag you will not leave that cell. If you want a cum prob put TRUE, not FALSE.

13

14

15 The expected value for the binomial PD is E(x) = nπ (a simplification for the binomial case from what we saw previously), and the variance is Var(x) = σ 2 = nπ(1-π) (also a simplification). The standard deviation is just the square root of the variance. Consider a binomial experiment with n = 10 and π = p = 0.1. You can double click inside the spreadsheet on the next screen and copy the Excel file if you want. a. f(0) is found in the f(x) column as b. f(2) =.1937 c. P(x≤2) is found in the Cum Prob column as.9298 d. P(x≥1) = 1 – P(x≤0) = =.6513

16 Note the E notation here. 9E-09 means we have the number 9 but have to move the decimal 9 places to the left because we have E-09. The number is An E+ would require a movement of the decimal to the right.

17 Note on the previous slide I have an Excel spreadsheet. At the top I typed the label and numbers Number of Trials (n)10 Probability of Success (p)0.1 in separate cells. The numbers are used in the formulas. You should do this as well when you do a problem because it “dresses up” the output and makes it easier to remember what the heck is going on. Also note that in my notes when you see a table you can double click on it and see the Excel spreadsheet.

Example flipping two coins 18 If you flip two coins (or one coin twice) the possible outcomes are HH, HT, TH, TT. So, n = 2. Let’s say the event of interest is heads H. We could have X = 0, 1, or 2. Also say π =.5 From table E.6 we see XP(X) What is the probability of at least 1 head on the two flips? This would be P(1) + P(2) = =.75

Problem 12 page Note the success rate is 87.8% or.878. This does not show up in the table E.6. You could use Excel here, but let’s just use the closest value in the table.90. You find this in the bottom of the table. So then we have to go up the right side. n = 3 and so we get XP(X)P(X≤Xi) a. P(3) =.7290b. P(0) =.001c. P(at least 2) = P(2 or 3) = 1 – (1 or 0) = =.972d. mean = nπ = 3(.878) = 2.634, so on average of every 3 orders are correct. Standard dev = sqrt[nπ(1 – π)] = sqrt[3(.878)(.122)] =.57