Upload
natalie-brown
View
69
Download
5
Embed Size (px)
DESCRIPTION
Chapter 6.5. Normal Approximation to the Binomial. Normal Approximation to the Binomial. The probabilities associated with binomial experiments are readily obtainable from the formula b ( x ; n , p ) of the binomial distribution or from the table when n is small. - PowerPoint PPT Presentation
Citation preview
President University Erwin Sitompul PBST 9/1
Lecture 9
Probability and Statistics
Dr.-Ing. Erwin SitompulPresident University
http://zitompul.wordpress.com
2 0 1 3
President University Erwin Sitompul PBST 9/2
Normal Approximation to the BinomialChapter 6.5 Normal Approximation to the Binomial
The probabilities associated with binomial experiments are readily obtainable from the formula b(x;n, p) of the binomial distribution or from the table when n is small.
For large n, making the distribution table is not practical anymore. Nevertheless, the binomial distribution can be nicely approximated
by the normal distribution under certain circumstances.
President University Erwin Sitompul PBST 9/3
Normal Approximation to the BinomialChapter 6.5 Normal Approximation to the Binomial
If X is a binomial random variable with mean μ = np and variance σ2 = npq, then the limiting form of the distribution of
X npZ
npq
as n ∞, is the standard normal distribution n(z;0, 1).
Normal approximation of b(x; 15, 0.4) Each value of b(x; 15, 0.4) is
approximated by P(x–0.5 < X < x+0.5)
President University Erwin Sitompul PBST 9/4
Normal Approximation to the BinomialChapter 6.5 Normal Approximation to the Binomial
Normal approximation of
(4;15,0.4)b9
7
( ;15,0.4)x
b x
( 4) (4;15,0.4)P X b
( 4) (3.5 4.5)P X P X
np
npq
( 1.32 0.79)P Z 0.1214
4 1115 4 (0.4) (0.6)C
0.1268
(15)(0.4)(0.6) 1.897
(15)(0.4) 6
9
7
(7 9) ( ;15,0.4)x
P X b x
0.3564
(7 9) (6.5 9.5)P X P X
(0.26 1.85)P Z 0.3652
and
President University Erwin Sitompul PBST 9/5
Normal Approximation to the BinomialChapter 6.5 Normal Approximation to the Binomial
The degree of accuracy, that is how well the normal curve fits the binomial histogram, will increase as n increases.
If the value of n is small and p is not very close to 1/2, normal curve will not fit the histogram well, as shown below.
( ;6,0.2)b x ( ;15,0.2)b x
The approximation using normal curve will be excellent when n is large or n is small with p reasonably close to 1/2.
As rule of thumb, if both np and nq are greater than or equal to 5, the approximation will be good.
President University Erwin Sitompul PBST 9/6
Normal Approximation to the BinomialChapter 6.5 Normal Approximation to the Binomial
Let X be a binomial random variable with parameters n and p. For large n, X has approximately a normal distribution with μ = np and σ2 = npq = np(1–p) and
0
( ) ( ; , )x
k
P X x b k n p
0.5area under normal curve to the left of x
( 0.5)P X x
( 0.5)xP Z
and the approximation will be good if np and nq = n(1–p) are greater than or equal to 5.
President University Erwin Sitompul PBST 9/7
Normal Approximation to the BinomialChapter 6.5 Normal Approximation to the Binomial
The probability that a patient recovers from a rare blood disease is 0.4. If 100 people are known to have contracted this disease, what is the probability that less than 30 survive?
np
npq (100)(0.4)(0.6) 4.899
(100)(0.4) 40 100, 0.4n p
29
0
( 30) ( ;100,0.4)x
P X b x
( 30) ( 29.5)P X P X
( 2.143)P Z
29.5 402.143
4.899z
0.01608 After interpolation
1.608% Can you calculate the
exact solution?
President University Erwin Sitompul PBST 9/8
Normal Approximation to the BinomialChapter 6.5 Normal Approximation to the Binomial
A multiple-choice quiz has 200 questions each with 4 possible answers of which only 1 is the correct answer. What is the probability that sheer guess-work yields from 25 to 30 correct answers for 80 of the 200 problems about which the student has no knowledge?
np
npq 314 4(80)( )( ) 3.873
14(80)( ) 20 1
80,4
n p
3014
25
(25 30) ( ;80, )x
P X b x
(24.5 30.5)P X
(1.162 2.711)P Z
( 2.711) ( 1.162)P Z P Z
0.9966 0.8774 0.1192
1
24.5 201.162,
3.873z
2
30.5 202.711
3.873z
President University Erwin Sitompul PBST 9/9
Normal Approximation to the BinomialChapter 6.5 Normal Approximation to the Binomial
PU Physics entrance exam consists of 30 multiple-choice questions each with 4 possible answers of which only 1 is the correct answer. What is the probability that a prospective students will obtain scholarship by correctly answering at least 80% of the questions just by guessing?
np
npq 314 4(30)( )( ) 2.372
14(30)( ) 7.5 1
30,4
n p
3014
24
( 24) ( ;30, )x
P X b x
1 ( 23.5)P X
1 ( 6.745)P Z
0
23.5 7.56.745
2.372z
It is practically impossible to get scholarship just by pure luck in the entrance exam
President University Erwin Sitompul PBST 9/10
Gamma and Exponential DistributionsChapter 6.6 Gamma and Exponential Distributions
There are still numerous situations that the normal distribution cannot cover. For such situations, different types of density functions are required.
Two such density functions are the gamma and exponential distributions.
Both distributions find applications in queuing theory and reliability problems.
1
0
( ) xx e dx
The gamma function is defined by
for α > 0.
President University Erwin Sitompul PBST 9/11
Gamma and Exponential DistributionsChapter 6.6 Gamma and Exponential Distributions
|Gamma Distribution| The continuous random variable X has a gamma distribution, with parameters α and β, if its density function is given by
11, 0
( )( )
0, elsewhere
xx e xf x
where α > 0 and β > 0.
|Exponential Distribution| The continuous random variable X has an exponential distribution, with parameter β, if its density function is given by
where β > 0.
1, 0
( )
0, elsewhere
xe xf x
President University Erwin Sitompul PBST 9/12
Gamma and Exponential DistributionsChapter 6.6 Gamma and Exponential Distributions
Gamma distributions for certain values of the parameters α and β
The gamma distribution with α = 1 is called the exponential distribution
President University Erwin Sitompul PBST 9/13
Gamma and Exponential DistributionsChapter 6.6 Gamma and Exponential Distributions
The mean and variance of the gamma distribution are2 2
The mean and variance of the exponential distribution are2 2 and
and
President University Erwin Sitompul PBST 9/14
Applications of Gamma and Exponential DistributionsChapter 6.7 Applications of the Gamma and Exponential Distributions
Suppose that a system contains a certain type of component whose time in years to failure is given by T. The random variable T is modeled nicely by the exponential distribution with mean time to failure β = 5. If 5 of these components are installed in different systems, what is the probability that at least 2 are still functioning at the end of 8 years?
5
8
1( 8)
5tP T e dt
5
2
( 2) ( ;5,0.2)x
P X b x
8 5 0.2e 1
0
1 ( ;5,0.2)x
b x
1 0.7373 The probability whether
the component is still functioning at the end of 8 years
The probability whether at least 2 out of 5 such component are still functioning at the end of 8 years
0.2627
President University Erwin Sitompul PBST 9/15
Chapter 6.7 Applications of the Gamma and Exponential Distributions
Suppose that telephone calls arriving at a particular switchboard follow a Poisson process with an average of 5 calls coming per minute. What is the probability that up to a minute will elapse until 2 calls have come in to the switchboard?
20
1( )
xxP X x xe dx
15
0
( 1) 25 xP X xe dx
1 5, 2
5(1)1 (1 5) 0.96e
β is the mean time of the event of calling
α is the quantity of the event of calling
Applications of Gamma and Exponential Distributions
President University Erwin Sitompul PBST 9/16
Chapter 6.7 Applications of the Gamma and Exponential Distributions
Based on extensive testing, it is determined that the average of time Y before a washing machine requires a major repair is 4 years. This time is known to be able to be modeled nicely using exponential function. The machine is considered a bargain if it is unlikely to require a major repair before the sixth year.(a) Determine the probability that it can survive without major repair
until more than 6 years.(b) What is the probability that a major repair occurs in the first
year?
4
6
1( 6)
4tP Y e dt
(a)
(b)
Only 22.3% survives until more than 6 years without major reparation
4
1
1( 1) 1
4tP Y e dt
22.1% will need major
reparation after used for 1 year
6 4 0.223e
1 41 0.221e
14
0
1
4te dt
Applications of Gamma and Exponential Distributions
President University Erwin Sitompul PBST 9/17
Chi-Squared DistributionChapter 6.8 Chi-Squared Distribution
Another very important special case of the gamma distribution is obtained by letting α = v/2 and β = 2, where v is a positive integer.
The result is called the chi-squared distribution, with a single parameter v called the degrees of freedom.
The chi-squared distribution plays a vital role in statistical inference. It has considerable application in both methodology and theory.
Many chapters ahead of us will contain important applications of this distribution.
President University Erwin Sitompul PBST 9/18
Chi-Squared DistributionChapter 6.8 Chi-Squared Distribution
|Chi-Squared Distribution| The continuous random variable X has a chi-squared distribution, with v degrees of freedom, if its density function is given by
2 12
1, 0
2 ( 2)( )
0, elsewhere
v xv
x e xvf x
where v is a positive integer.
The mean and variance of the chi-squared distribution are2 2v v and
President University Erwin Sitompul PBST 9/19
Lognormal DistributionChapter 6.9 Lognormal Distribution
The lognormal distribution is used for a wide variety of applications.
The distribution applies in cases where a natural log transformation results in a normal distribution.
President University Erwin Sitompul PBST 9/20
Lognormal DistributionChapter 6.9 Lognormal Distribution
|Lognormal Distribution| The continuous random variable X has a lognormal distribution if the random variable Y = ln(X) has a normal distribution with mean μ and standard deviation σ. The resulting density function of X is
2 2ln( ) (2 )1, 0
2( )
0, 0
xe xxf x
x
The mean and variance of the chi-squared distribution are2 2 22 2( ) Var( ) ( 1)E X e X e e and
President University Erwin Sitompul PBST 9/21
Lognormal DistributionChapter 6.9 Lognormal Distribution
Concentration of pollutants produced by chemical plants historically are known to exhibit behavior that resembles a log normal distribution. This is important when one considers issues regarding compliance to government regulations. Suppose it is assumed that the concentration of a certain pollutant, in parts per million, has a lognormal distribution with parameters μ = 3.2 and σ = 1. What is the probability that the concentration exceeds 8 parts per million?
( 8) 1 ( 8)P X P X
ln(8) 3.2( 8)
1P X F
F denotes the cumulative distribution function of the standard normal distribution
a. k. a. the area under the normal curve
( 1.12) 0.1314F
President University Erwin Sitompul PBST 9/22
Homework 8AProbability and Statistics
1. (a) Suppose that a sample of 1600 tires of the same type are obtained at random from an ongoing production process in which 8% of all such tires produced are defective. What is the probability that in such sample 150 or fewer tires will be defective?
(Sou18. CD6-13)
(b) If 10% of men are bald, what is the probability that more than 100 in a random sample of 818 men are bald?