SlideShare a Scribd company logo
1 of 32
Download to read offline
The Binomial Distribution
October 20, 2010
The Binomial Distribution
Bernoulli Trials
Definition
A Bernoulli trial is a random experiment in which there are only
two possible outcomes - success and failure.
1 Tossing a coin and considering heads as success and tails as
failure.
The Binomial Distribution
Bernoulli Trials
Definition
A Bernoulli trial is a random experiment in which there are only
two possible outcomes - success and failure.
1 Tossing a coin and considering heads as success and tails as
failure.
2 Checking items from a production line: success = not
defective, failure = defective.
The Binomial Distribution
Bernoulli Trials
Definition
A Bernoulli trial is a random experiment in which there are only
two possible outcomes - success and failure.
1 Tossing a coin and considering heads as success and tails as
failure.
2 Checking items from a production line: success = not
defective, failure = defective.
3 Phoning a call centre: success = operator free; failure = no
operator free.
The Binomial Distribution
Bernoulli Random Variables
A Bernoulli random variable X takes the values 0 and 1 and
P(X = 1) = p
P(X = 0) = 1 − p.
It can be easily checked that the mean and variance of a Bernoulli
random variable are
E(X) = p
V (X) = p(1 − p).
The Binomial Distribution
Binomial Experiments
Consider the following type of random experiment:
1 The experiment consists of n repeated Bernoulli trials - each
trial has only two possible outcomes labelled as success and
failure;
The Binomial Distribution
Binomial Experiments
Consider the following type of random experiment:
1 The experiment consists of n repeated Bernoulli trials - each
trial has only two possible outcomes labelled as success and
failure;
2 The trials are independent - the outcome of any trial has no
effect on the probability of the others;
The Binomial Distribution
Binomial Experiments
Consider the following type of random experiment:
1 The experiment consists of n repeated Bernoulli trials - each
trial has only two possible outcomes labelled as success and
failure;
2 The trials are independent - the outcome of any trial has no
effect on the probability of the others;
3 The probability of success in each trial is constant which we
denote by p.
The Binomial Distribution
The Binomial Distribution
Definition
The random variable X that counts the number of successes, k, in
the n trials is said to have a binomial distribution with parameters
n and p, written bin(k; n, p).
The probability mass function of a binomial random variable X
with parameters n and p is
The Binomial Distribution
The Binomial Distribution
Definition
The random variable X that counts the number of successes, k, in
the n trials is said to have a binomial distribution with parameters
n and p, written bin(k; n, p).
The probability mass function of a binomial random variable X
with parameters n and p is
f (k) = P(X = k) =
n
k
pk
(1 − p)n−k
for k = 0, 1, 2, 3, . . . , n.
The Binomial Distribution
The Binomial Distribution
Definition
The random variable X that counts the number of successes, k, in
the n trials is said to have a binomial distribution with parameters
n and p, written bin(k; n, p).
The probability mass function of a binomial random variable X
with parameters n and p is
f (k) = P(X = k) =
n
k
pk
(1 − p)n−k
for k = 0, 1, 2, 3, . . . , n.
n
k counts the number of outcomes that include exactly k
successes and n − k failures.
The Binomial Distribution
Binomial Distribution - Examples
Example
A biased coin is tossed 6 times. The probability of heads on any
toss is 0.3. Let X denote the number of heads that come up.
Calculate:
(i) P(X = 2)
(ii) P(X = 3)
(iii) P(1 < X ≤ 5).
The Binomial Distribution
Binomial Distribution - Examples
Example
(i) If we call heads a success then this X has a binomial
distribution with parameters n = 6 and p = 0.3.
P(X = 2) =
6
2
(0.3)2
(0.7)4
= 0.324135
The Binomial Distribution
Binomial Distribution - Examples
Example
(i) If we call heads a success then this X has a binomial
distribution with parameters n = 6 and p = 0.3.
P(X = 2) =
6
2
(0.3)2
(0.7)4
= 0.324135
(ii)
P(X = 3) =
6
3
(0.3)3
(0.7)3
= 0.18522.
(iii) We need P(1 < X ≤ 5)
The Binomial Distribution
Binomial Distribution - Examples
Example
(i) If we call heads a success then this X has a binomial
distribution with parameters n = 6 and p = 0.3.
P(X = 2) =
6
2
(0.3)2
(0.7)4
= 0.324135
(ii)
P(X = 3) =
6
3
(0.3)3
(0.7)3
= 0.18522.
(iii) We need P(1 < X ≤ 5)
P(X = 2) + P(X = 3) + P(X = 4) + P(X = 5)
= 0.324 + 0.185 + 0.059 + 0.01
= 0.578
The Binomial Distribution
Binomial Distribution - Example
Example
A quality control engineer is in charge of testing whether or not
90% of the DVD players produced by his company conform to
specifications. To do this, the engineer randomly selects a batch of
12 DVD players from each day’s production. The day’s production
is acceptable provided no more than 1 DVD player fails to meet
specifications. Otherwise, the entire day’s production has to be
tested.
(i) What is the probability that the engineer incorrectly passes a
day’s production as acceptable if only 80% of the day’s DVD
players actually conform to specification?
(ii) What is the probability that the engineer unnecessarily
requires the entire day’s production to be tested if in fact 90%
of the DVD players conform to specifications?
The Binomial Distribution
Example
Example
(i) Let X denote the number of DVD players in the sample that
fail to meet specifications. In part (i) we want P(X ≤ 1) with
binomial parameters n = 12, p = 0.2.
P(X ≤ 1) = P(X = 0) + P(X = 1)
=
12
0
(0.2)0
(0.8)12
+
12
1
(0.2)1
(0.8)11
= 0.069 + 0.206 = 0.275
The Binomial Distribution
Example
Example
(ii) We now want P(X > 1) with parameters n = 12, p = 0.1.
P(X ≤ 1) = P(X = 0) + P(X = 1)
=
12
0
(0.1)0
(0.9)12
+
12
1
(0.1)1
(0.9)11
= 0.659
So P(X > 1) = 0.341.
The Binomial Distribution
Binomial Distribution - Mean and Variance
1 Any random variable with a binomial distribution X with
parameters n and p is a sum of n independent Bernoulli
random variables in which the probability of success is p.
X = X1 + X2 + · · · + Xn.
The Binomial Distribution
Binomial Distribution - Mean and Variance
1 Any random variable with a binomial distribution X with
parameters n and p is a sum of n independent Bernoulli
random variables in which the probability of success is p.
X = X1 + X2 + · · · + Xn.
2 The mean and variance of each Xi can easily be calculated as:
E(Xi ) = p, V (Xi ) = p(1 − p).
The Binomial Distribution
Binomial Distribution - Mean and Variance
1 Any random variable with a binomial distribution X with
parameters n and p is a sum of n independent Bernoulli
random variables in which the probability of success is p.
X = X1 + X2 + · · · + Xn.
2 The mean and variance of each Xi can easily be calculated as:
E(Xi ) = p, V (Xi ) = p(1 − p).
3 Hence the mean and variance of X are given by (remember
the Xi are independent)
E(X) = np, V (X) = np(1 − p).
The Binomial Distribution
Binomial Distribution - Examples
Example
Bits are sent over a communications channel in packets of 12. If
the probability of a bit being corrupted over this channel is 0.1 and
such errors are independent, what is the probability that no more
than 2 bits in a packet are corrupted?
If 6 packets are sent over the channel, what is the probability that
at least one packet will contain 3 or more corrupted bits?
Let X denote the number of packets containing 3 or more
corrupted bits. What is the probability that X will exceed its mean
by more than 2 standard deviations?
The Binomial Distribution
Binomial Distribution - Examples
Example
Let C denote the number of corrupted bits in a packet. Then in
the first question, we want
P(C ≤ 2) = P(C = 0) + P(C = 1) + P(C = 2).
The Binomial Distribution
Binomial Distribution - Examples
Example
Let C denote the number of corrupted bits in a packet. Then in
the first question, we want
P(C ≤ 2) = P(C = 0) + P(C = 1) + P(C = 2).
P(C = 0) =
12
0
(0.1)0
(0.9)12
= 0.282
The Binomial Distribution
Binomial Distribution - Examples
Example
Let C denote the number of corrupted bits in a packet. Then in
the first question, we want
P(C ≤ 2) = P(C = 0) + P(C = 1) + P(C = 2).
P(C = 0) =
12
0
(0.1)0
(0.9)12
= 0.282
P(C = 1) =
12
1
(0.1)1
(0.9)11
= 0.377
P(C = 2) =
12
2
(0.1)2
(0.9)10
= 0.23
The Binomial Distribution
Binomial Distribution - Examples
Example
Let C denote the number of corrupted bits in a packet. Then in
the first question, we want
P(C ≤ 2) = P(C = 0) + P(C = 1) + P(C = 2).
P(C = 0) =
12
0
(0.1)0
(0.9)12
= 0.282
P(C = 1) =
12
1
(0.1)1
(0.9)11
= 0.377
P(C = 2) =
12
2
(0.1)2
(0.9)10
= 0.23
So P(C ≤ 2) = 0.282 + 0.377 + 0.23 = 0.889.
The Binomial Distribution
Binomial Distribution - Examples
Example
The probability of a packet containing 3 or more corrupted bits is
1 − 0.889 = 0.111.
Let X be the number of packets containing 3 or more corrupted
bits. X can be modelled with a binomial distribution with
parameters n = 6, p = 0.111. The probability that at least one
packet will contain 3 or more corrupted bits is:
The Binomial Distribution
Binomial Distribution - Examples
Example
The probability of a packet containing 3 or more corrupted bits is
1 − 0.889 = 0.111.
Let X be the number of packets containing 3 or more corrupted
bits. X can be modelled with a binomial distribution with
parameters n = 6, p = 0.111. The probability that at least one
packet will contain 3 or more corrupted bits is:
1 − P(X = 0) = 1 −
6
0
(0.111)0
(0.889)6
= 0.494.
The Binomial Distribution
Binomial Distribution - Examples
Example
The probability of a packet containing 3 or more corrupted bits is
1 − 0.889 = 0.111.
Let X be the number of packets containing 3 or more corrupted
bits. X can be modelled with a binomial distribution with
parameters n = 6, p = 0.111. The probability that at least one
packet will contain 3 or more corrupted bits is:
1 − P(X = 0) = 1 −
6
0
(0.111)0
(0.889)6
= 0.494.
The mean of X is µ = 6(0.111) = 0.666 and its standard deviation
is σ = 6(0.111)(0.889) = 0.77.
The Binomial Distribution
Binomial Distribution - Examples
So the probability that X exceeds its mean by more than 2
standard deviations is P(X − µ > 2σ) = P(X > 2.2).
As X is discrete, this is equal to
The Binomial Distribution
Binomial Distribution - Examples
So the probability that X exceeds its mean by more than 2
standard deviations is P(X − µ > 2σ) = P(X > 2.2).
As X is discrete, this is equal to
P(X ≥ 3)
The Binomial Distribution
Binomial Distribution - Examples
So the probability that X exceeds its mean by more than 2
standard deviations is P(X − µ > 2σ) = P(X > 2.2).
As X is discrete, this is equal to
P(X ≥ 3)
P(X = 1) =
6
1
(0.111)1
(0.889)5
= 0.37
P(X = 2) =
6
2
(0.111)2
(0.889)4
= 0.115.
So P(X ≥ 3) = 1 − (.506 + .37 + .115) = 0.009.
The Binomial Distribution

More Related Content

What's hot

Binomial probability distributions ppt
Binomial probability distributions pptBinomial probability distributions ppt
Binomial probability distributions ppt
Tayab Ali
 

What's hot (20)

Alternate Wetting and Drying (AWD) Pilot Initiatives in Bangladesh
Alternate Wetting and Drying (AWD) Pilot Initiatives in BangladeshAlternate Wetting and Drying (AWD) Pilot Initiatives in Bangladesh
Alternate Wetting and Drying (AWD) Pilot Initiatives in Bangladesh
 
Completely randomized design
Completely randomized designCompletely randomized design
Completely randomized design
 
Negative Binomial Distribution
Negative Binomial DistributionNegative Binomial Distribution
Negative Binomial Distribution
 
Binomial distribution
Binomial distributionBinomial distribution
Binomial distribution
 
Discrete probability distributions
Discrete probability distributionsDiscrete probability distributions
Discrete probability distributions
 
compound distribution
compound distributioncompound distribution
compound distribution
 
cropping technology of sesbania.pptx
cropping technology of sesbania.pptxcropping technology of sesbania.pptx
cropping technology of sesbania.pptx
 
Alley Cropping in Agro Forestry - University of Missouri
Alley Cropping in Agro Forestry - University of MissouriAlley Cropping in Agro Forestry - University of Missouri
Alley Cropping in Agro Forestry - University of Missouri
 
Binomial probability distribution
Binomial probability distributionBinomial probability distribution
Binomial probability distribution
 
Geometric Distribution
Geometric DistributionGeometric Distribution
Geometric Distribution
 
Binomial probability distributions ppt
Binomial probability distributions pptBinomial probability distributions ppt
Binomial probability distributions ppt
 
Binomial distribution
Binomial distributionBinomial distribution
Binomial distribution
 
Discrete probability distributions
Discrete probability distributionsDiscrete probability distributions
Discrete probability distributions
 
Probability Distributions
Probability DistributionsProbability Distributions
Probability Distributions
 
0426 The System of Rice Intensification (SRI): Practices - Part II
0426 The System of Rice Intensification (SRI):   Practices - Part II0426 The System of Rice Intensification (SRI):   Practices - Part II
0426 The System of Rice Intensification (SRI): Practices - Part II
 
Poisson Distribution
Poisson DistributionPoisson Distribution
Poisson Distribution
 
The binomial distributions
The binomial distributionsThe binomial distributions
The binomial distributions
 
Probability distribution
Probability distributionProbability distribution
Probability distribution
 
Multivariate and Conditional Distribution
Multivariate and Conditional DistributionMultivariate and Conditional Distribution
Multivariate and Conditional Distribution
 
Experimental design in Plant Breeding
Experimental design in Plant Breeding Experimental design in Plant Breeding
Experimental design in Plant Breeding
 

Viewers also liked

Viewers also liked (10)

Ex 1 2 possion
Ex 1 2  possionEx 1 2  possion
Ex 1 2 possion
 
Bab iii
Bab iiiBab iii
Bab iii
 
Ketertarikan Mahasiswa terhadap Jurusan berdasarkan Jenis Kelamin
Ketertarikan Mahasiswa terhadap Jurusan berdasarkan Jenis KelaminKetertarikan Mahasiswa terhadap Jurusan berdasarkan Jenis Kelamin
Ketertarikan Mahasiswa terhadap Jurusan berdasarkan Jenis Kelamin
 
Prabhuswamy_M_stimulus variation_components
Prabhuswamy_M_stimulus variation_componentsPrabhuswamy_M_stimulus variation_components
Prabhuswamy_M_stimulus variation_components
 
Memento deroulement des carrieres maj juin 2016 cdg 35
Memento deroulement des carrieres maj juin 2016 cdg 35Memento deroulement des carrieres maj juin 2016 cdg 35
Memento deroulement des carrieres maj juin 2016 cdg 35
 
Birthday Paradox explained
Birthday Paradox explainedBirthday Paradox explained
Birthday Paradox explained
 
Astronomi dan
Astronomi danAstronomi dan
Astronomi dan
 
Tarea uno del primer modulo.
Tarea uno del primer modulo.Tarea uno del primer modulo.
Tarea uno del primer modulo.
 
ASAS-ASAS DAN RUANG LINGKUP ILMU ANTROPOLOGI
ASAS-ASAS DAN RUANG LINGKUP ILMU ANTROPOLOGIASAS-ASAS DAN RUANG LINGKUP ILMU ANTROPOLOGI
ASAS-ASAS DAN RUANG LINGKUP ILMU ANTROPOLOGI
 
Matematicas financieras 4-1_egp-27.02.2012
Matematicas financieras 4-1_egp-27.02.2012Matematicas financieras 4-1_egp-27.02.2012
Matematicas financieras 4-1_egp-27.02.2012
 

Similar to Binomia ex 2

Discrete Probability Distributions
Discrete Probability DistributionsDiscrete Probability Distributions
Discrete Probability Distributions
mandalina landy
 
Binomail distribution 23 jan 21
Binomail distribution 23 jan 21Binomail distribution 23 jan 21
Binomail distribution 23 jan 21
Arun Mishra
 
binomialprobabilitydistribution-200508182110 (1).pdf
binomialprobabilitydistribution-200508182110 (1).pdfbinomialprobabilitydistribution-200508182110 (1).pdf
binomialprobabilitydistribution-200508182110 (1).pdf
Hafizsamiullah1791
 
Probability distribution
Probability distributionProbability distribution
Probability distribution
Ranjan Kumar
 
Normal Distribution Presentation
Normal Distribution PresentationNormal Distribution Presentation
Normal Distribution Presentation
sankarshanjoshi
 

Similar to Binomia ex 2 (20)

1630 the binomial distribution
1630 the binomial distribution1630 the binomial distribution
1630 the binomial distribution
 
jjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj
jjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj
jjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj
 
Quantitative Methods for Lawyers - Class #10 - Binomial Distributions, Normal...
Quantitative Methods for Lawyers - Class #10 - Binomial Distributions, Normal...Quantitative Methods for Lawyers - Class #10 - Binomial Distributions, Normal...
Quantitative Methods for Lawyers - Class #10 - Binomial Distributions, Normal...
 
Binomial probability distributions
Binomial probability distributions  Binomial probability distributions
Binomial probability distributions
 
Biostatistics-Week 6.pptx_ Binominal Distribution
Biostatistics-Week 6.pptx_ Binominal DistributionBiostatistics-Week 6.pptx_ Binominal Distribution
Biostatistics-Week 6.pptx_ Binominal Distribution
 
Prob distros
Prob distrosProb distros
Prob distros
 
Module 5 Lecture Notes
Module 5 Lecture NotesModule 5 Lecture Notes
Module 5 Lecture Notes
 
Binomial distribution for mathematics pre u
Binomial distribution for mathematics pre uBinomial distribution for mathematics pre u
Binomial distribution for mathematics pre u
 
Probability distribution
Probability distributionProbability distribution
Probability distribution
 
Probability distribution for Dummies
Probability distribution for DummiesProbability distribution for Dummies
Probability distribution for Dummies
 
Discrete Probability Distributions
Discrete Probability DistributionsDiscrete Probability Distributions
Discrete Probability Distributions
 
Binomail distribution 23 jan 21
Binomail distribution 23 jan 21Binomail distribution 23 jan 21
Binomail distribution 23 jan 21
 
binomialprobabilitydistribution-200508182110 (1).pdf
binomialprobabilitydistribution-200508182110 (1).pdfbinomialprobabilitydistribution-200508182110 (1).pdf
binomialprobabilitydistribution-200508182110 (1).pdf
 
Binomial Probability Distributions
Binomial Probability DistributionsBinomial Probability Distributions
Binomial Probability Distributions
 
Binomial distribution
Binomial distributionBinomial distribution
Binomial distribution
 
Probability distribution
Probability distributionProbability distribution
Probability distribution
 
Normal Distribution Presentation
Normal Distribution PresentationNormal Distribution Presentation
Normal Distribution Presentation
 
Chapter 4 Special Discrete Distribution.pptx
Chapter 4 Special Discrete Distribution.pptxChapter 4 Special Discrete Distribution.pptx
Chapter 4 Special Discrete Distribution.pptx
 
Introduction to Evidential Neural Networks
Introduction to Evidential Neural NetworksIntroduction to Evidential Neural Networks
Introduction to Evidential Neural Networks
 
Theory of Probability-Bernoulli, Binomial, Passion
Theory of Probability-Bernoulli, Binomial, PassionTheory of Probability-Bernoulli, Binomial, Passion
Theory of Probability-Bernoulli, Binomial, Passion
 

More from chener Qadr (14)

Binomial p3 p237
Binomial p3  p237Binomial p3  p237
Binomial p3 p237
 
Binomial ex 4 and 5
Binomial ex 4 and 5Binomial ex 4 and 5
Binomial ex 4 and 5
 
Binomial ex 3
Binomial ex 3Binomial ex 3
Binomial ex 3
 
3 b annual effort
3 b  annual effort3 b  annual effort
3 b annual effort
 
3 a annual effort
3 a annual effort3 a annual effort
3 a annual effort
 
3rd semester
3rd semester3rd semester
3rd semester
 
3 b detail
3 b detail3 b detail
3 b detail
 
3 a detail
3 a detail3 a detail
3 a detail
 
2nd semester detail
2nd semester detail2nd semester detail
2nd semester detail
 
3rd semester-mark
3rd semester-mark3rd semester-mark
3rd semester-mark
 
Solution to 2nd semeter eng. statistics 2015 2016
Solution to 2nd semeter eng. statistics 2015 2016Solution to 2nd semeter eng. statistics 2015 2016
Solution to 2nd semeter eng. statistics 2015 2016
 
Solution to first semester soil 2015 16
Solution to first semester soil 2015 16Solution to first semester soil 2015 16
Solution to first semester soil 2015 16
 
Solution to-2nd-semester-soil-mechanics-2015-2016
Solution to-2nd-semester-soil-mechanics-2015-2016Solution to-2nd-semester-soil-mechanics-2015-2016
Solution to-2nd-semester-soil-mechanics-2015-2016
 
Slide Software- home work
Slide Software- home workSlide Software- home work
Slide Software- home work
 

Recently uploaded

Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
AnaAcapella
 

Recently uploaded (20)

Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 

Binomia ex 2

  • 1. The Binomial Distribution October 20, 2010 The Binomial Distribution
  • 2. Bernoulli Trials Definition A Bernoulli trial is a random experiment in which there are only two possible outcomes - success and failure. 1 Tossing a coin and considering heads as success and tails as failure. The Binomial Distribution
  • 3. Bernoulli Trials Definition A Bernoulli trial is a random experiment in which there are only two possible outcomes - success and failure. 1 Tossing a coin and considering heads as success and tails as failure. 2 Checking items from a production line: success = not defective, failure = defective. The Binomial Distribution
  • 4. Bernoulli Trials Definition A Bernoulli trial is a random experiment in which there are only two possible outcomes - success and failure. 1 Tossing a coin and considering heads as success and tails as failure. 2 Checking items from a production line: success = not defective, failure = defective. 3 Phoning a call centre: success = operator free; failure = no operator free. The Binomial Distribution
  • 5. Bernoulli Random Variables A Bernoulli random variable X takes the values 0 and 1 and P(X = 1) = p P(X = 0) = 1 − p. It can be easily checked that the mean and variance of a Bernoulli random variable are E(X) = p V (X) = p(1 − p). The Binomial Distribution
  • 6. Binomial Experiments Consider the following type of random experiment: 1 The experiment consists of n repeated Bernoulli trials - each trial has only two possible outcomes labelled as success and failure; The Binomial Distribution
  • 7. Binomial Experiments Consider the following type of random experiment: 1 The experiment consists of n repeated Bernoulli trials - each trial has only two possible outcomes labelled as success and failure; 2 The trials are independent - the outcome of any trial has no effect on the probability of the others; The Binomial Distribution
  • 8. Binomial Experiments Consider the following type of random experiment: 1 The experiment consists of n repeated Bernoulli trials - each trial has only two possible outcomes labelled as success and failure; 2 The trials are independent - the outcome of any trial has no effect on the probability of the others; 3 The probability of success in each trial is constant which we denote by p. The Binomial Distribution
  • 9. The Binomial Distribution Definition The random variable X that counts the number of successes, k, in the n trials is said to have a binomial distribution with parameters n and p, written bin(k; n, p). The probability mass function of a binomial random variable X with parameters n and p is The Binomial Distribution
  • 10. The Binomial Distribution Definition The random variable X that counts the number of successes, k, in the n trials is said to have a binomial distribution with parameters n and p, written bin(k; n, p). The probability mass function of a binomial random variable X with parameters n and p is f (k) = P(X = k) = n k pk (1 − p)n−k for k = 0, 1, 2, 3, . . . , n. The Binomial Distribution
  • 11. The Binomial Distribution Definition The random variable X that counts the number of successes, k, in the n trials is said to have a binomial distribution with parameters n and p, written bin(k; n, p). The probability mass function of a binomial random variable X with parameters n and p is f (k) = P(X = k) = n k pk (1 − p)n−k for k = 0, 1, 2, 3, . . . , n. n k counts the number of outcomes that include exactly k successes and n − k failures. The Binomial Distribution
  • 12. Binomial Distribution - Examples Example A biased coin is tossed 6 times. The probability of heads on any toss is 0.3. Let X denote the number of heads that come up. Calculate: (i) P(X = 2) (ii) P(X = 3) (iii) P(1 < X ≤ 5). The Binomial Distribution
  • 13. Binomial Distribution - Examples Example (i) If we call heads a success then this X has a binomial distribution with parameters n = 6 and p = 0.3. P(X = 2) = 6 2 (0.3)2 (0.7)4 = 0.324135 The Binomial Distribution
  • 14. Binomial Distribution - Examples Example (i) If we call heads a success then this X has a binomial distribution with parameters n = 6 and p = 0.3. P(X = 2) = 6 2 (0.3)2 (0.7)4 = 0.324135 (ii) P(X = 3) = 6 3 (0.3)3 (0.7)3 = 0.18522. (iii) We need P(1 < X ≤ 5) The Binomial Distribution
  • 15. Binomial Distribution - Examples Example (i) If we call heads a success then this X has a binomial distribution with parameters n = 6 and p = 0.3. P(X = 2) = 6 2 (0.3)2 (0.7)4 = 0.324135 (ii) P(X = 3) = 6 3 (0.3)3 (0.7)3 = 0.18522. (iii) We need P(1 < X ≤ 5) P(X = 2) + P(X = 3) + P(X = 4) + P(X = 5) = 0.324 + 0.185 + 0.059 + 0.01 = 0.578 The Binomial Distribution
  • 16. Binomial Distribution - Example Example A quality control engineer is in charge of testing whether or not 90% of the DVD players produced by his company conform to specifications. To do this, the engineer randomly selects a batch of 12 DVD players from each day’s production. The day’s production is acceptable provided no more than 1 DVD player fails to meet specifications. Otherwise, the entire day’s production has to be tested. (i) What is the probability that the engineer incorrectly passes a day’s production as acceptable if only 80% of the day’s DVD players actually conform to specification? (ii) What is the probability that the engineer unnecessarily requires the entire day’s production to be tested if in fact 90% of the DVD players conform to specifications? The Binomial Distribution
  • 17. Example Example (i) Let X denote the number of DVD players in the sample that fail to meet specifications. In part (i) we want P(X ≤ 1) with binomial parameters n = 12, p = 0.2. P(X ≤ 1) = P(X = 0) + P(X = 1) = 12 0 (0.2)0 (0.8)12 + 12 1 (0.2)1 (0.8)11 = 0.069 + 0.206 = 0.275 The Binomial Distribution
  • 18. Example Example (ii) We now want P(X > 1) with parameters n = 12, p = 0.1. P(X ≤ 1) = P(X = 0) + P(X = 1) = 12 0 (0.1)0 (0.9)12 + 12 1 (0.1)1 (0.9)11 = 0.659 So P(X > 1) = 0.341. The Binomial Distribution
  • 19. Binomial Distribution - Mean and Variance 1 Any random variable with a binomial distribution X with parameters n and p is a sum of n independent Bernoulli random variables in which the probability of success is p. X = X1 + X2 + · · · + Xn. The Binomial Distribution
  • 20. Binomial Distribution - Mean and Variance 1 Any random variable with a binomial distribution X with parameters n and p is a sum of n independent Bernoulli random variables in which the probability of success is p. X = X1 + X2 + · · · + Xn. 2 The mean and variance of each Xi can easily be calculated as: E(Xi ) = p, V (Xi ) = p(1 − p). The Binomial Distribution
  • 21. Binomial Distribution - Mean and Variance 1 Any random variable with a binomial distribution X with parameters n and p is a sum of n independent Bernoulli random variables in which the probability of success is p. X = X1 + X2 + · · · + Xn. 2 The mean and variance of each Xi can easily be calculated as: E(Xi ) = p, V (Xi ) = p(1 − p). 3 Hence the mean and variance of X are given by (remember the Xi are independent) E(X) = np, V (X) = np(1 − p). The Binomial Distribution
  • 22. Binomial Distribution - Examples Example Bits are sent over a communications channel in packets of 12. If the probability of a bit being corrupted over this channel is 0.1 and such errors are independent, what is the probability that no more than 2 bits in a packet are corrupted? If 6 packets are sent over the channel, what is the probability that at least one packet will contain 3 or more corrupted bits? Let X denote the number of packets containing 3 or more corrupted bits. What is the probability that X will exceed its mean by more than 2 standard deviations? The Binomial Distribution
  • 23. Binomial Distribution - Examples Example Let C denote the number of corrupted bits in a packet. Then in the first question, we want P(C ≤ 2) = P(C = 0) + P(C = 1) + P(C = 2). The Binomial Distribution
  • 24. Binomial Distribution - Examples Example Let C denote the number of corrupted bits in a packet. Then in the first question, we want P(C ≤ 2) = P(C = 0) + P(C = 1) + P(C = 2). P(C = 0) = 12 0 (0.1)0 (0.9)12 = 0.282 The Binomial Distribution
  • 25. Binomial Distribution - Examples Example Let C denote the number of corrupted bits in a packet. Then in the first question, we want P(C ≤ 2) = P(C = 0) + P(C = 1) + P(C = 2). P(C = 0) = 12 0 (0.1)0 (0.9)12 = 0.282 P(C = 1) = 12 1 (0.1)1 (0.9)11 = 0.377 P(C = 2) = 12 2 (0.1)2 (0.9)10 = 0.23 The Binomial Distribution
  • 26. Binomial Distribution - Examples Example Let C denote the number of corrupted bits in a packet. Then in the first question, we want P(C ≤ 2) = P(C = 0) + P(C = 1) + P(C = 2). P(C = 0) = 12 0 (0.1)0 (0.9)12 = 0.282 P(C = 1) = 12 1 (0.1)1 (0.9)11 = 0.377 P(C = 2) = 12 2 (0.1)2 (0.9)10 = 0.23 So P(C ≤ 2) = 0.282 + 0.377 + 0.23 = 0.889. The Binomial Distribution
  • 27. Binomial Distribution - Examples Example The probability of a packet containing 3 or more corrupted bits is 1 − 0.889 = 0.111. Let X be the number of packets containing 3 or more corrupted bits. X can be modelled with a binomial distribution with parameters n = 6, p = 0.111. The probability that at least one packet will contain 3 or more corrupted bits is: The Binomial Distribution
  • 28. Binomial Distribution - Examples Example The probability of a packet containing 3 or more corrupted bits is 1 − 0.889 = 0.111. Let X be the number of packets containing 3 or more corrupted bits. X can be modelled with a binomial distribution with parameters n = 6, p = 0.111. The probability that at least one packet will contain 3 or more corrupted bits is: 1 − P(X = 0) = 1 − 6 0 (0.111)0 (0.889)6 = 0.494. The Binomial Distribution
  • 29. Binomial Distribution - Examples Example The probability of a packet containing 3 or more corrupted bits is 1 − 0.889 = 0.111. Let X be the number of packets containing 3 or more corrupted bits. X can be modelled with a binomial distribution with parameters n = 6, p = 0.111. The probability that at least one packet will contain 3 or more corrupted bits is: 1 − P(X = 0) = 1 − 6 0 (0.111)0 (0.889)6 = 0.494. The mean of X is µ = 6(0.111) = 0.666 and its standard deviation is σ = 6(0.111)(0.889) = 0.77. The Binomial Distribution
  • 30. Binomial Distribution - Examples So the probability that X exceeds its mean by more than 2 standard deviations is P(X − µ > 2σ) = P(X > 2.2). As X is discrete, this is equal to The Binomial Distribution
  • 31. Binomial Distribution - Examples So the probability that X exceeds its mean by more than 2 standard deviations is P(X − µ > 2σ) = P(X > 2.2). As X is discrete, this is equal to P(X ≥ 3) The Binomial Distribution
  • 32. Binomial Distribution - Examples So the probability that X exceeds its mean by more than 2 standard deviations is P(X − µ > 2σ) = P(X > 2.2). As X is discrete, this is equal to P(X ≥ 3) P(X = 1) = 6 1 (0.111)1 (0.889)5 = 0.37 P(X = 2) = 6 2 (0.111)2 (0.889)4 = 0.115. So P(X ≥ 3) = 1 − (.506 + .37 + .115) = 0.009. The Binomial Distribution