The Binomial Distribution ► Arrangements ► Remember the binomial theorem?

Slides:



Advertisements
Similar presentations
Special random variables Chapter 5 Some discrete or continuous probability distributions.
Advertisements

16.1 Approximate Normal Approximately Normal Distribution: Almost a bell shape curve. Normal Distribution: Bell shape curve. All perfect bell shape curves.
Chapter 6 Some Special Discrete Distributions
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 5-1 Chapter 5 Some Important Discrete Probability Distributions Statistics.
Continuous Probability Distributions
Probability (Kebarangkalian) EBB 341. Probability and Statistics Parameters population sample before observation after observation data random variables.
Prof. Bart Selman Module Probability --- Part d)
Hypergeometric Random Variables. Sampling without replacement When sampling with replacement, each trial remains independent. For example,… If balls are.
TDC 369 / TDC 432 April 2, 2003 Greg Brewster. Topics Math Review Probability –Distributions –Random Variables –Expected Values.
Statistics Lecture 11.
Chapter Five Continuous Random Variables McGraw-Hill/Irwin Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved.
Week 51 Theorem For g: R  R If X is a discrete random variable then If X is a continuous random variable Proof: We proof it for the discrete case. Let.
Mutually Exclusive: P(not A) = 1- P(A) Complement Rule: P(A and B) = 0 P(A or B) = P(A) + P(B) - P(A and B) General Addition Rule: Conditional Probability:
Discrete Random Variables: The Binomial Distribution
Moment Generating Functions 1/33. Contents Review of Continuous Distribution Functions 2/33.
Continuous Probability Distributions
Section 15.8 The Binomial Distribution. A binomial distribution is a discrete distribution defined by two parameters: The number of trials, n The probability.
AP STATISTICS LESSON 8 – 1 ( DAY 2 ) THE BINOMIAL DISTRIBUTION (BINOMIAL FORMULAS)
Notes – Chapter 17 Binomial & Geometric Distributions.
Moment Generating Functions
Binomial Distributions Calculating the Probability of Success.
4.4 Normal Approximation to Binomial Distributions
1. Normal Approximation 1. 2 Suppose we perform a sequence of n binomial trials with probability of success p and probability of failure q = 1 - p and.
The Negative Binomial Distribution An experiment is called a negative binomial experiment if it satisfies the following conditions: 1.The experiment of.
4.5 Comparing Discrete Probability Distributions.
Continuous Distributions The Uniform distribution from a to b.
Chapter 5 Discrete Probability Distributions
The Practice of Statistics Third Edition Chapter 8: The Binomial and Geometric Distributions Copyright © 2008 by W. H. Freeman & Company Daniel S. Yates.
Binomial Formulas Target Goal: I can calculate the mean and standard deviation of a binomial function. 6.3b h.w: pg 404: 75, 77,
You are familiar with the term “average”, as in arithmetical average of a set of numbers (test scores for example) – we used the symbol to stand for this.
Sullivan – Fundamentals of Statistics – 2 nd Edition – Chapter 7 Section 5 – Slide 1 of 21 Chapter 7 Section 5 The Normal Approximation to the Binomial.
Methodology Solving problems with known distributions 1.
Binomial Theorem & Binomial Expansion
Expectation. Let X denote a discrete random variable with probability function p(x) (probability density function f(x) if X is continuous) then the expected.
The Practice of Statistics Third Edition Chapter 8: The Binomial and Geometric Distributions Copyright © 2008 by W. H. Freeman & Company Daniel S. Yates.
Notes – Chapter 17 Binomial & Geometric Distributions.
Copyright © 2011 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Chapter 5 Discrete Random Variables.
Business Statistics, A First Course (4e) © 2006 Prentice-Hall, Inc. Chap 5-1 Chapter 5 Some Important Discrete Probability Distributions Business Statistics,
C: Expectation D: The Binomial Distribution 23CD.
2.2 Discrete Random Variables 2.2 Discrete random variables Definition 2.2 –P27 Definition 2.3 –P27.
Pre-Calculus Section 8.5a Binomial Expansion. Calculator Help Graphing calculator has n C r button. Math - PRB - nCr You must enter the n# before.
Combination
AP Statistics Chapter 8 Section 2. If you want to know the number of successes in a fixed number of trials, then we have a binomial setting. If you want.
Unit 3: Probability.  You will need to be able to describe how you will perform a simulation  Create a correspondence between random numbers and outcomes.
STATISTICS AND PROBABILITY IN CIVIL ENGINEERING
Chapter 5 Review MDM 4U Mr. Lieff.
Chapter 5 Review MDM 4U Gary Greer.
Continuous Random Variables
Ch. 8 – Sequences, Series, and Probability
Section 7.6 Bayes’ Theorem.
Discrete Probability Distributions
Moment Generating Functions
Exercise: fourAB Write a method fourAB that prints out all strings of length 4 composed only of a’s and b’s Example Output aaaa baaa aaab baab aaba baba.
The Binomial Distribution
Chapter 5: Some Discrete Probability Distributions:
Binomial Expansion L.O. All pupils understand why binomial expansion is important All pupils understand the pattern binomial expansion follows All pupils.
Road Map - Quarter CS Concepts Data Structures Java Language
Useful Discrete Random Variable
Continuous Random Variable Normal Distribution
Exam 2 - Review Chapters
Road Map - Quarter CS Concepts Data Structures Java Language
AS-Level Maths: Core 2 for Edexcel
The Binomial Distributions
The Geometric Distributions
CSC312 Automata Theory Lecture # 5 Chapter # 4 Cont…
Magnetic and chemical equivalence
Continuous Distributions
Review of Chapter 8 Discrete PDFs Binomial and Geometeric
Presentation transcript:

The Binomial Distribution ► Arrangements ► Remember the binomial theorem?

Expanding using arrangements (a+b) 4 =aaaa + aaab + aaba + abaa + baaa + aabb + abab + abba + baab + baba + bbaa + abbb + babb + bbab + bbba + bbbb Arrangements of 4 As Arrangements of 3 As and 1 B Arrangements of 2 As and 2 Bs Arrangements of 1 A and 3 Bs Arrangements of 4 Bs The 2 nd line contains terms corresponding to a 3 b so coefficient is The 3 rd line contains terms corresponding to a 2 b 2 so coefficient is The 4 th line contains terms corresponding to ab 3 so coefficient is The 1 st line contains terms corresponding to a 4 so coefficient is The 5 th line contains terms corresponding to b 4 so coefficient is

Arrangements How many ways are there of arranging these? A A A B B B B B B n = 9r = 3

Example – using a calculator How many ways are there of arranging these? A A A B B B B B B n = 9r = 3 To calculate this, type “9” followed by “ n C r ” followed by “3” and press equals? Use your calculator to work out Explain your answer.

Binomial Theorem A general rule for any expansion is… A special case occurs when a=1 and b=x …

The Binomial Distribution The binomial distribution is a discrete distribution defined by 2 parameters the number of trials - n the probability of a success - p WRITTEN : … which means the discrete random variable X is binomially distributed

Binomial distribution - example ► Testing for defects “with replacement”  Have many light bulbs  Pick one at random, test for defect, put it back  If there are many light bulbs, do not have to replace

Binomial distribution ► Consider 3 trials  n=3 ► p is the probability of picking a good bulb  so (1-p) is the probability of picking a defect bulb ► the random variable X is the measure of the number of good bulbs ► If we want P(X=0):  Can happen one way: defect-defect-defect  (1-p)(1-p)(1-p)  (1-p) 3

Binomial distribution ► If we want P(X=1):  Can happen three ways: 100, 010, 001  p(1-p)(1-p)+(1-p)p(1-p)+(1-p)(1-p)p  3p(1-p) 2 For simplicity: 1 - good bulb 0 - defect bulb

Binomial distribution ► If we want P(X=2):  Can happen three ways: 110, 011, 101  pp(1-p)+(1-p)pp+p(1-p)p  3p 2 (1-p) 1 - good bulb 0 - defect bulb

Binomial distribution ► We want P(X=3):  Can happen one way: 111  ppp p3p3 1 - good bulb 0 - defect bulb

Binomial distribution P(X=0): (1-p) 3 P(X=3): p 3 P(X=1):3p(1-p) 2 P(X=2): 3p 2 (1-p) r is the number of good bulbs

Binomial distribution function  In general, the binomial distribution function is given by: or q = 1 -p

Binomial distribution - example ► Testing for defects “with replacement”  Suppose 10 bulbs were tested  The probability of a good bulb is 0.7  What is the probability of there being 8 good bulbs in the test? n = 10 p = 0.7 r = 8

Binomial distribution - example n = 10p = 0.9r = 8 = (3 d.p.)

Binomial distribution ► Typical shape of binomial:  Symmetric  Mean and Mode approx = p*n r P

Binomial distribution - expected value ► For the binomial distribution The mean value of X is given by np … this is also the expected value of X - E(X)

Binomial distribution - example ► Testing for defects “with replacement”  Suppose 10 bulbs were tested  The probability of a good bulb is 0.7  What is the probability of there being 8 good bulbs in the test?  The mean (expected value)? = (3 d.p.) The mean value of X is given by np = 10 x 0.7 = 7