SlideShare une entreprise Scribd logo
1  sur  32
Télécharger pour lire hors ligne
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

Contenu connexe

Tendances

Seed rate calculation
Seed rate calculationSeed rate calculation
Seed rate calculation
Naim Khalid
 
Complete randomized block design - Sana Jamal Salih
Complete randomized block design - Sana Jamal SalihComplete randomized block design - Sana Jamal Salih
Complete randomized block design - Sana Jamal Salih
Sana Salih
 
Export opportunities for agro based products
Export opportunities for agro based productsExport opportunities for agro based products
Export opportunities for agro based products
Diraviam Jayaraj
 

Tendances (20)

market-led extension to enhance producer share
market-led extension to enhance producer share market-led extension to enhance producer share
market-led extension to enhance producer share
 
poisson distribution
poisson distributionpoisson distribution
poisson distribution
 
Chick peas
Chick peasChick peas
Chick peas
 
Binomial probability distributions
Binomial probability distributions  Binomial probability distributions
Binomial probability distributions
 
Soil physical constraints
Soil physical constraintsSoil physical constraints
Soil physical constraints
 
Seed rate calculation
Seed rate calculationSeed rate calculation
Seed rate calculation
 
Crop Production & Management
Crop Production & ManagementCrop Production & Management
Crop Production & Management
 
communication skills
communication skillscommunication skills
communication skills
 
Moments, Kurtosis N Skewness
Moments, Kurtosis N SkewnessMoments, Kurtosis N Skewness
Moments, Kurtosis N Skewness
 
Binomial Probability Distributions
Binomial Probability DistributionsBinomial Probability Distributions
Binomial Probability Distributions
 
Maize crop disorders A Lecture by Mr Allah Dad Khan
Maize  crop disorders A Lecture by Mr Allah Dad Khan Maize  crop disorders A Lecture by Mr Allah Dad Khan
Maize crop disorders A Lecture by Mr Allah Dad Khan
 
Pedigree and bulk SSD
Pedigree and  bulk  SSDPedigree and  bulk  SSD
Pedigree and bulk SSD
 
Complete randomized block design - Sana Jamal Salih
Complete randomized block design - Sana Jamal SalihComplete randomized block design - Sana Jamal Salih
Complete randomized block design - Sana Jamal Salih
 
Cumulative distribution
Cumulative distributionCumulative distribution
Cumulative distribution
 
Role of optimization techniques in agriculture jaslam
Role of optimization techniques in agriculture jaslamRole of optimization techniques in agriculture jaslam
Role of optimization techniques in agriculture jaslam
 
Mean absolute deviation about median
Mean absolute deviation about medianMean absolute deviation about median
Mean absolute deviation about median
 
Application of ICT in Agriculture
Application of ICT in AgricultureApplication of ICT in Agriculture
Application of ICT in Agriculture
 
Diaphnoscope for seed testing
Diaphnoscope for seed testingDiaphnoscope for seed testing
Diaphnoscope for seed testing
 
Export opportunities for agro based products
Export opportunities for agro based productsExport opportunities for agro based products
Export opportunities for agro based products
 
Skewness,Moments & kurtosis
Skewness,Moments & kurtosisSkewness,Moments & kurtosis
Skewness,Moments & kurtosis
 

En vedette

En vedette (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
 

Similaire à 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
 

Similaire à 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...
 
Biostatistics-Week 6.pptx_ Binominal Distribution
Biostatistics-Week 6.pptx_ Binominal DistributionBiostatistics-Week 6.pptx_ Binominal Distribution
Biostatistics-Week 6.pptx_ Binominal Distribution
 
Discrete probability distributions
Discrete probability distributionsDiscrete probability distributions
Discrete probability distributions
 
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 distribution
Binomial distributionBinomial distribution
Binomial distribution
 
Binomial probability distribution
Binomial probability distributionBinomial probability distribution
Binomial probability distribution
 
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
 

Plus de 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
 

Dernier

Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
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
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 
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
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 

Dernier (20)

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
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
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
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Magic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptxMagic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptx
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
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
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
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...
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 

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