Advance Numerical Analysis
Advance Numerical Analysis
Advance Numerical Analysis
( )
!
( ) (1 )
!( )!
x n x
n
f x p p
x n x
=
Binomial Distribution
Binomial Distribution
!
!( )!
n
x n x
!
!( )!
n
x n x
( )
(1 )
x n x
p p
( )
(1 )
x n x
p p
1 f x
n
x n x
p p
x n x
( )
!
!( )!
( )
( )
=
1
1 2
3!
(1) (0.1) (0.9) 3(.1)(.81) .243
1!(3 1)!
f = = =
1 2
3!
(1) (0.1) (0.9) 3(.1)(.81) .243
1!(3 1)!
f = = =
x!
, for x = 0, 1, 2, . . .
where
= mean or average number of occurrences in an interval
x = number of occurrences in the interval
f(x) = probability of x occurrences in the interval
Dr. Chanchal Kundu RGIPT, Rae Bareli
RGIPT, Rae Bareli RGIPT, Rae Bareli
Dr. Dr. Chanchal Chanchal Kundu Kundu
Poisson Distribution
Poisson Distribution
MERCY MERCY
I I Example: Mercy Hospital Example: Mercy Hospital
Patients arrive at the Patients arrive at the
emergency room of Mercy emergency room of Mercy
Hospital at the average Hospital at the average
rate of 6 per hour on rate of 6 per hour on
weekend evenings. weekend evenings.
What is the What is the
probability of 4 arrivals in probability of 4 arrivals in
30 minutes on a weekend evening? 30 minutes on a weekend evening?
RGIPT, Rae Bareli RGIPT, Rae Bareli
Dr. Dr. Chanchal Chanchal Kundu Kundu
Poisson Distribution
Poisson Distribution
I I Using the Poisson Probability Function Using the Poisson Probability Function
4 3
3 (2.71828)
(4) .1680
4!
f
= =
4 3
3 (2.71828)
(4) .1680
4!
f
= =
MERCY MERCY
= 6/hour = 3/half = 6/hour = 3/half- -hour, hour, x x = 4 = 4
Important Discrete Distributions
Exercise
A radioactive emits on the average 2.5 particles per second.
Calculate the probability that two or more particles will be emitted
in an interval of 4 seconds.
Poisson approximation to the Binomial law
Binomial probability
x
e
x!
, ( = np and x = 0, 1, 2, . . .)
Example What is the probability that in a company of 500
employee only one will have BDay on New Years day?
Dr. Chanchal Kundu RGIPT, Rae Bareli
Important Discrete Distributions
Exercise
A radioactive emits on the average 2.5 particles per second.
Calculate the probability that two or more particles will be emitted
in an interval of 4 seconds.
Poisson approximation to the Binomial law
Binomial probability
x
e
x!
, ( = np and x = 0, 1, 2, . . .)
Example What is the probability that in a company of 500
employee only one will have BDay on New Years day?
Dr. Chanchal Kundu RGIPT, Rae Bareli
Important Discrete Distributions
Exercise
A radioactive emits on the average 2.5 particles per second.
Calculate the probability that two or more particles will be emitted
in an interval of 4 seconds.
Poisson approximation to the Binomial law
Binomial probability
x
e
x!
, ( = np and x = 0, 1, 2, . . .)
Example What is the probability that in a company of 500
employee only one will have BDay on New Years day?
Dr. Chanchal Kundu RGIPT, Rae Bareli
Normal Distributions
Part IV
Lecture 5: Important Continuous Distributions
Dr. Chanchal Kundu RGIPT, Rae Bareli
Normal Distributions
Continuous Random Variables
The random variables that may assume any
value in a certain interval or collection of
intervals are called continuous random
variables
Example
1
The drilling depth required to reach oil in an oshore drilling
operation.
2
The lifetime of the picture tube in a new television set.
3
The ight time of an airplane travelling from Delhi to Kolkata.
Probability density function.
Requirements for a valid probability density function.
Probability distribution function.
Dr. Chanchal Kundu RGIPT, Rae Bareli
Normal Distributions
Continuous Random Variables
The random variables that may assume any
value in a certain interval or collection of
intervals are called continuous random
variables
Example
1
The drilling depth required to reach oil in an oshore drilling
operation.
2
The lifetime of the picture tube in a new television set.
3
The ight time of an airplane travelling from Delhi to Kolkata.
Probability density function.
Requirements for a valid probability density function.
Probability distribution function.
Dr. Chanchal Kundu RGIPT, Rae Bareli
Normal Distributions
Continuous Random Variables
The random variables that may assume any
value in a certain interval or collection of
intervals are called continuous random
variables
Example
1
The drilling depth required to reach oil in an oshore drilling
operation.
2
The lifetime of the picture tube in a new television set.
3
The ight time of an airplane travelling from Delhi to Kolkata.
Probability density function.
Requirements for a valid probability density function.
Probability distribution function.
Dr. Chanchal Kundu RGIPT, Rae Bareli
Normal Distributions
Continuous Random Variables
The random variables that may assume any
value in a certain interval or collection of
intervals are called continuous random
variables
Example
1
The drilling depth required to reach oil in an oshore drilling
operation.
2
The lifetime of the picture tube in a new television set.
3
The ight time of an airplane travelling from Delhi to Kolkata.
Probability density function.
Requirements for a valid probability density function.
Probability distribution function.
Dr. Chanchal Kundu RGIPT, Rae Bareli
Normal Distributions
Continuous Random Variables
The random variables that may assume any
value in a certain interval or collection of
intervals are called continuous random
variables
Example
1
The drilling depth required to reach oil in an oshore drilling
operation.
2
The lifetime of the picture tube in a new television set.
3
The ight time of an airplane travelling from Delhi to Kolkata.
Probability density function.
Requirements for a valid probability density function.
Probability distribution function.
Dr. Chanchal Kundu RGIPT, Rae Bareli
Normal Distributions
Continuous Random Variables
The random variables that may assume any
value in a certain interval or collection of
intervals are called continuous random
variables
Example
1
The drilling depth required to reach oil in an oshore drilling
operation.
2
The lifetime of the picture tube in a new television set.
3
The ight time of an airplane travelling from Delhi to Kolkata.
Probability density function.
Requirements for a valid probability density function.
Probability distribution function.
Dr. Chanchal Kundu RGIPT, Rae Bareli
Normal Distributions
Dierences between discrete and continuous random variables
For discrete we talk about the probability of the random
variable taking on a particular value. In continuous we talk
about the probability of the random variable taking value
within some given interval.
The height of a continuous probability density function is not
a probability.
The probability of the random variable taking on a value
within some given interval is dened to be the area under the
graph of the pdf in the interval.
The probability that a continuous random variable takes on
any particular value is zero.
Dr. Chanchal Kundu RGIPT, Rae Bareli
Normal Distributions
Dierences between discrete and continuous random variables
For discrete we talk about the probability of the random
variable taking on a particular value. In continuous we talk
about the probability of the random variable taking value
within some given interval.
The height of a continuous probability density function is not
a probability.
The probability of the random variable taking on a value
within some given interval is dened to be the area under the
graph of the pdf in the interval.
The probability that a continuous random variable takes on
any particular value is zero.
Dr. Chanchal Kundu RGIPT, Rae Bareli
Normal Distributions
Dierences between discrete and continuous random variables
For discrete we talk about the probability of the random
variable taking on a particular value. In continuous we talk
about the probability of the random variable taking value
within some given interval.
The height of a continuous probability density function is not
a probability.
The probability of the random variable taking on a value
within some given interval is dened to be the area under the
graph of the pdf in the interval.
The probability that a continuous random variable takes on
any particular value is zero.
Dr. Chanchal Kundu RGIPT, Rae Bareli
Normal Distributions
Dierences between discrete and continuous random variables
For discrete we talk about the probability of the random
variable taking on a particular value. In continuous we talk
about the probability of the random variable taking value
within some given interval.
The height of a continuous probability density function is not
a probability.
The probability of the random variable taking on a value
within some given interval is dened to be the area under the
graph of the pdf in the interval.
The probability that a continuous random variable takes on
any particular value is zero.
Dr. Chanchal Kundu RGIPT, Rae Bareli
RGIPT, Rae Bareli RGIPT, Rae Bareli
Dr. Dr. Chanchal Chanchal Kundu Kundu
Continuous Probability Distributions
Continuous Probability Distributions
I I The probability of the random variable assuming a The probability of the random variable assuming a
value within some given interval from value within some given interval from x x
1 1
to to x x
2 2
is is
defined to be the defined to be the area under the graph area under the graph of the of the
probability density function probability density function between between x x
1 1
and and x x
2 2
. .
f (x) f (x)
x x
Uniform Uniform
x
1
x x
1 1
x
2
x x
2 2
x x
f f ( (x x) )
Normal Normal
x
1
x x
1 1
x
2
x x
2 2
x
1
x x
1 1
x
2
x x
2 2
Exponential Exponential
x x
f (x) f (x)
x
1
x x
1 1
x
2
x x
2 2
RGIPT, Rae Bareli RGIPT, Rae Bareli
Dr. Dr. Chanchal Chanchal Kundu Kundu
Exponential Probability Distribution
Exponential Probability Distribution
I I The exponential probability distribution is useful in The exponential probability distribution is useful in
describing the time it takes to complete a task. describing the time it takes to complete a task.
I I The exponential random variables can be used to The exponential random variables can be used to
describe: describe:
Time between
vehicle arrivals
at a toll booth
Time between Time between
vehicle arrivals vehicle arrivals
at a toll booth at a toll booth
Time required
to complete
a questionnaire
Time required Time required
to complete to complete
a questionnaire a questionnaire
Distance between
major defects
in a highway
Distance between Distance between
major defects major defects
in a highway in a highway
SLOW
Normal Distributions
Exponential Distribution
Probability density function
f(x) =
e
x
, x 0,
0, x < 0.
Exercise
Suppose that the amount of time one spends in a bank is
exponentially distributed with mean ten minutes, i.e., = 1/10.
What is the probability that a customer will spend more than
fteen minutes in the bank?
Dr. Chanchal Kundu RGIPT, Rae Bareli
Normal Distributions
Exponential Distribution
Probability density function
f(x) =
e
x
, x 0,
0, x < 0.
Exercise
Suppose that the amount of time one spends in a bank is
exponentially distributed with mean ten minutes, i.e., = 1/10.
What is the probability that a customer will spend more than
fteen minutes in the bank?
Dr. Chanchal Kundu RGIPT, Rae Bareli
Normal Distributions
Importance of Normal Distribution
1
Most of the distributions (Binomial, Poisson, etc.) occurring
in practice can be approximated by normal distribution. Also
many of the sampling distributions (Students, F, Chi-square,
etc.) tend to normality for large samples.
2
Even if a variable is not normally distributed, it can sometimes
be brought to normal form by simple transformation of
variable.
3
Normal distribution nds large applications in statistical
Quality Control in industry for setting control limits.
Dr. Chanchal Kundu RGIPT, Rae Bareli
Normal Distributions
Importance of Normal Distribution
1
Most of the distributions (Binomial, Poisson, etc.) occurring
in practice can be approximated by normal distribution. Also
many of the sampling distributions (Students, F, Chi-square,
etc.) tend to normality for large samples.
2
Even if a variable is not normally distributed, it can sometimes
be brought to normal form by simple transformation of
variable.
3
Normal distribution nds large applications in statistical
Quality Control in industry for setting control limits.
Dr. Chanchal Kundu RGIPT, Rae Bareli
Normal Distributions
Importance of Normal Distribution
1
Most of the distributions (Binomial, Poisson, etc.) occurring
in practice can be approximated by normal distribution. Also
many of the sampling distributions (Students, F, Chi-square,
etc.) tend to normality for large samples.
2
Even if a variable is not normally distributed, it can sometimes
be brought to normal form by simple transformation of
variable.
3
Normal distribution nds large applications in statistical
Quality Control in industry for setting control limits.
Dr. Chanchal Kundu RGIPT, Rae Bareli
RGIPT, Rae Bareli RGIPT, Rae Bareli
Dr. Dr. Chanchal Chanchal Kundu Kundu
Heights
of people
Heights Heights
of people of people
Normal Probability Distribution
Normal Probability Distribution
I I It has been used in a wide variety of applications: It has been used in a wide variety of applications:
Scientific
measurements
Scientific Scientific
measurements measurements
RGIPT, Rae Bareli RGIPT, Rae Bareli
Dr. Dr. Chanchal Chanchal Kundu Kundu
Amounts
of rainfall
Amounts Amounts
of rainfall of rainfall
Normal Probability Distribution
Normal Probability Distribution
I I It has been used in a wide variety of applications: It has been used in a wide variety of applications:
Test
scores
Test Test
scores scores
Normal Distributions
Probability density function
f(x) =
1
2
e
1
2
(
x
)
2
for < x < ,
where = mean of the random variable.
2
= variance of the random variable.
Standard Normal Distribution
A random variable that has a mean 0 and standard deviation 1.
The normal random variable X with mean and standard
deviation can be converted to standard normal random variable
by
Z =
X
.
Dr. Chanchal Kundu RGIPT, Rae Bareli
RGIPT, Rae Bareli RGIPT, Rae Bareli
Dr. Dr. Chanchal Chanchal Kundu Kundu
The distribution is symmetric; its skewness
measure is zero.
The distribution is The distribution is symmetric symmetric; its ; its skewness skewness
measure is zero. measure is zero.
Normal Probability Distribution
Normal Probability Distribution
I I Characteristics Characteristics
x x
RGIPT, Rae Bareli RGIPT, Rae Bareli
Dr. Dr. Chanchal Chanchal Kundu Kundu
The entire family of normal probability
distributions is defined by its mean and its
standard deviation .
The entire family of normal probability The entire family of normal probability
distributions is defined by its distributions is defined by its mean mean and its and its
standard deviation standard deviation . .
Normal Probability Distribution
Normal Probability Distribution
I I Characteristics Characteristics
Standard Deviation Standard Deviation
Mean Mean
x x
RGIPT, Rae Bareli RGIPT, Rae Bareli
Dr. Dr. Chanchal Chanchal Kundu Kundu
The highest point on the normal curve is at the
mean, which is also the median and mode.
The The highest point highest point on the normal curve is at the on the normal curve is at the
mean mean, which is also the , which is also the median median and and mode mode. .
Normal Probability Distribution
Normal Probability Distribution
I I Characteristics Characteristics
x x
RGIPT, Rae Bareli RGIPT, Rae Bareli
Dr. Dr. Chanchal Chanchal Kundu Kundu
Normal Probability Distribution
Normal Probability Distribution
I I Characteristics Characteristics
- -10 10 0 0 20 20
The mean can be any numerical value: negative,
zero, or positive.
The mean can be any numerical value: negative, The mean can be any numerical value: negative,
zero, or positive. zero, or positive.
x x
RGIPT, Rae Bareli RGIPT, Rae Bareli
Dr. Dr. Chanchal Chanchal Kundu Kundu
Normal Probability Distribution
Normal Probability Distribution
I I Characteristics Characteristics
= 15 = 15
= 25 = 25
The standard deviation determines the width of the
curve: larger values result in wider, flatter curves.
The standard deviation determines the width of the The standard deviation determines the width of the
curve: larger values result in wider, flatter curves. curve: larger values result in wider, flatter curves.
x x
RGIPT, Rae Bareli RGIPT, Rae Bareli
Dr. Dr. Chanchal Chanchal Kundu Kundu
Probabilities for the normal random variable are
given by areas under the curve. The total area
under the curve is 1 (.5 to the left of the mean and
.5 to the right).
Probabilities for the normal random variable are Probabilities for the normal random variable are
given by given by areas under the curve areas under the curve. The total area . The total area
under the curve is 1 (.5 to the left of the mean and under the curve is 1 (.5 to the left of the mean and
.5 to the right). .5 to the right).
Normal Probability Distribution
Normal Probability Distribution
I I Characteristics Characteristics
.5 .5 .5 .5
x x
RGIPT, Rae Bareli RGIPT, Rae Bareli
Dr. Dr. Chanchal Chanchal Kundu Kundu
Normal Probability Distribution
Normal Probability Distribution
I I Characteristics Characteristics
of values of a normal random variable
are within of its mean.
of values of a normal random variable of values of a normal random variable
are within of are within of its mean. its mean.
68.26%
68.26% 68.26%
+/- 1 standard deviation
+/ +/- - 1 standard deviation 1 standard deviation
of values of a normal random variable
are within of its mean.
of values of a normal random variable of values of a normal random variable
are within of are within of its mean. its mean.
95.44%
95.44% 95.44%
+/- 2 standard deviations
+/ +/- - 2 standard deviations 2 standard deviations
of values of a normal random variable
are within of its mean.
of values of a normal random variable of values of a normal random variable
are within of are within of its mean. its mean.
99.72%
99.72% 99.72%
+/- 3 standard deviations
+/ +/- - 3 standard deviations 3 standard deviations
RGIPT, Rae Bareli RGIPT, Rae Bareli
Dr. Dr. Chanchal Chanchal Kundu Kundu
Normal Probability Distribution
Normal Probability Distribution
I I Characteristics Characteristics
x x
3 3 1 1
2 2
+ 1 + 1
+ 2 + 2
+ 3 + 3
68.26% 68.26%
95.44% 95.44%
99.72% 99.72%
Normal Distributions
Probability density function
f(x) =
1
2
e
1
2
(
x
)
2
for < x < ,
where = mean of the random variable.
2
= variance of the random variable.
Standard Normal Distribution
A random variable that has a mean 0 and standard deviation 1.
The normal random variable X with mean and standard
deviation can be converted to standard normal random variable
by
Z =
X
.
Dr. Chanchal Kundu RGIPT, Rae Bareli
Normal Distributions
Grear Tire Problem
Suppose that the Grear Tire Company just developed a new
steel-belted radial tire that will be sold through a national chain of
discount stores. Because the tire is a new product, Grears
Management believes that the mileage guarantee oered with the
tire will be an important factor in the consumer acceptance of the
product. Before nalizing the tire mileage guarantee policy, Grears
management wants some probability information concerning the
number of miles the tires will last.
From actual road tests with the tires, Grears engineering group
estimates the mean tire mileage at 36500 miles and standard
deviation 5000 miles. What percentage of the tire, then, can be
expected to last more than 40000 miles?
Dr. Chanchal Kundu RGIPT, Rae Bareli
Normal Distributions
Normal Distribution as an approximation of Binomial Distribution
Binomial Distribution Normal Distribution
(mean() = np and standard deviation() =
npq)
Exercise
On the basis of past experience, automobile inspectors in
Pennsylvania have noticed that 5 percent of all cars coming in for
their annual inspection fail to pass. Using the normal
approximation to the binomial, nd the probability that between 7
and 18 of the next 200 cars to enter the Lancaster inspection
station will fail the inspection.
Dr. Chanchal Kundu RGIPT, Rae Bareli
Normal Distributions
Normal Distribution as an approximation of Binomial Distribution
Binomial Distribution Normal Distribution
(mean() = np and standard deviation() =
npq)
Exercise
On the basis of past experience, automobile inspectors in
Pennsylvania have noticed that 5 percent of all cars coming in for
their annual inspection fail to pass. Using the normal
approximation to the binomial, nd the probability that between 7
and 18 of the next 200 cars to enter the Lancaster inspection
station will fail the inspection.
Dr. Chanchal Kundu RGIPT, Rae Bareli
Normal Distributions
Log-normal Distribution
The positive random variable X is said to have a log-normal
distribution if lnX is normally distributed.
Log normal distribution arises in problems of economics, biology,
geology, etc. In particular, it arises in the study of dimensions of
particles under pulverisation.
Probability density function
f
X
(u) =
1
u
2
e
1
2
(
ln u
)
2
for u > 0,
where = mean of the random variable.
2
= variance of the random variable.
Dr. Chanchal Kundu RGIPT, Rae Bareli
Normal Distributions
Log-normal Distribution
The positive random variable X is said to have a log-normal
distribution if lnX is normally distributed.
Log normal distribution arises in problems of economics, biology,
geology, etc. In particular, it arises in the study of dimensions of
particles under pulverisation.
Probability density function
f
X
(u) =
1
u
2
e
1
2
(
ln u
)
2
for u > 0,
where = mean of the random variable.
2
= variance of the random variable.
Dr. Chanchal Kundu RGIPT, Rae Bareli
Normal Distributions
?
Dr. Chanchal Kundu RGIPT, Rae Bareli
Normal Distributions
THANK YOU
Dr. Chanchal Kundu RGIPT, Rae Bareli