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.
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
ฟังก์ชั่นการแจกแจงความน่าจะเป็น แบบไม่ต่อเนื่อง 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.
1 Set #3: Discrete Probability Functions Define: Random Variable – numerical measure of the outcome of a probability experiment Value determined by chance.
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.
Introduction to Probability
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.
1 Binomial Probability Distribution Here we study a special discrete PD (PD will stand for Probability Distribution) known as the Binomial PD.
Visualizing Events Contingency Tables Tree Diagrams Ace Not Ace Total Red Black Total
Chapter 5 Discrete Random Variables and Probability Distributions
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 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.
Discrete Probability Distributions
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.
6- 1 Chapter Six McGraw-Hill/Irwin © 2005 The McGraw-Hill Companies, Inc., All Rights Reserved.
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.
Business and Finance College Principles of Statistics Eng. Heba Hamad 2008.
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.
Sullivan – Fundamentals of Statistics – 2 nd Edition – Chapter 11 Section 1 – Slide 1 of 34 Chapter 11 Section 1 Random Variables.
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.
Copyright © 1998, Triola, Elementary Statistics Addison Wesley Longman 1 Binomial Experiments Section 4-3 & Section 4-4 M A R I O F. T R I O L A Copyright.
Your mail-order company advertises that it ships 90% of its orders within three working days. You select an SRS of 100 of the 5000 orders received in.
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.
Chapter 17: probability models
Binomial Probability Distribution
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Section 5-2 Random Variables.
Ch 5 Probability: The Mathematics of Randomness Random Variables and Their Distributions A random variable is a quantity that (prior to observation)
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.
Lesson 6 - R Discrete Probability Distributions Review.
Copyright © 2010 Pearson Education, Inc. Chapter 17 Probability Models.
Slide Slide 1 Section 5-3 Binomial Probability Distributions.
Prob and Stats, Oct 28 The Binomial Distribution III Book Sections: N/A Essential Questions: How can I compute the probability of any event? How can I.
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.
Welcome to MM305 Unit 3 Seminar Prof Greg Probability Concepts and Applications.
Business Statistics, A First Course (4e) © 2006 Prentice-Hall, Inc. Chap 5-1 Chapter 5 Some Important Discrete Probability Distributions Business Statistics,
©The McGraw-Hill Companies, Inc. 2008McGraw-Hill/Irwin Probability Distributions Chapter 6.
7.5 Binomial and Geometric Distributions *two of more commonly found discrete probability distributions Thursday, June 30, 2016.
CHAPTER 14: Binomial Distributions*
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
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 being classified as the event of interest, denoted by p, is constant (does not change) from observation to observation. q = (1 - p) is the probability of an observation being classified as NOT being the event of interest and 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 Here 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 far 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 (By the way, if we flip a coin 4 times and the prob of a head on any 1 flip is.5, then the prob of 4 heads on 4 flips is.5(.5)(.5)(.5) =.0625 – BUT, here an order being tagged only has prob =.1)

8 Now, the probability that only three are tagged is tricky. I mean tricky only until you see what is next. 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! p X (1-p) (n-X) remember something raised to 0 power = 1 X!(n-X)! Now in our example n = 4, p =.1 and 1-p =.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 A.1 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 20. 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. On the next screen I show you the binomial probability distribution with n = 4 and p =.1. I also add the cumulative distribution. (Note in table if p >.5 you look at the bottom of the table and up the right side.)

11 XP(X)cumulative prob Now, let’s ask a few more questions. What is the probability 1 or fewer orders would be tagged? The cumulative 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 cumulative 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 P(X ≤ a value under the X column)

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) = np (a simplification for the binomial case from what we saw previously for a discrete random variable), and the variance is Var(x) = σ 2 = np(1-p) (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. P(0) is found in the f(x) column as b. P(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 p =.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