5 ContinuousDiscributions
5 ContinuousDiscributions
5 ContinuousDiscributions
TeacherµQiang Ma(êr)
[email protected]
Some Continuous Probability Distributions
Contents
1 Uniform Distribution
2 Normal Distributions
6 Chi-Squared Distribution
Some Continuous Probability Distributions
Uniform Distribution
Uniform Distribution
Figure 1.1: The density function for a random variable on the interval [1, 3].
Theorem 2
The (cumulative)distribution function F (x) of the uniform random
variable is
0, x < A
x−A
F (x; A, B) = B−A , A≤x<B
1, x ≥ B
Some Continuous Probability Distributions
Uniform Distribution
Example 3
Suppose that a large conference room at a certain company can be
reserved for no more than 4 hours. Both long and short conferences
occur quite often. In fact, it can be assumed that the length X of a
conference has a uniform distribution on the interval [0, 4].
1 What is the probability density function?
2 What is the probability that any given conference lasts at least 3
hours?
Some Continuous Probability Distributions
Uniform Distribution
Example 3
Suppose that a large conference room at a certain company can be
reserved for no more than 4 hours. Both long and short conferences
occur quite often. In fact, it can be assumed that the length X of a
conference has a uniform distribution on the interval [0, 4].
1 What is the probability density function?
2 What is the probability that any given conference lasts at least 3
hours?
1
, 0 ≤ x ≤ 4,
1 f (x; A, B) = 4
0, elsewhere.
R4
2 P (x ≥ 3) = 3 41 dx = 14 .
Some Continuous Probability Distributions
Uniform Distribution
Theorem 4
The mean and variance of the uniform distribution are
A+B 2 (B − A)2
µ= ,σ = .
2 12
Some Continuous Probability Distributions
Uniform Distribution
Theorem 4
The mean and variance of the uniform distribution are
A+B 2 (B − A)2
µ= ,σ = .
2 12
Proof.
The mean is computed by
Z +∞ Z B x 1 B A+B
µ= xf (x)dx = dx = x2 = .
−∞ A B−A 2(B − A) A 2
Then the variance is evaluated as
Z +∞ (A + B)2
σ 2 = µ x2 − µ 2 = x2 f (x)dx −
−∞ 4
B 3 − A3 A2 + 2AB + B 2
= −
3(B − A) 4
(B − A)2
= .
12
Some Continuous Probability Distributions
Normal Distributions
Normal distribution
Normal Curve
Figure 2.2 shows two normal curves having the same standard
deviation but different means.
These two curves are identical in form but are centered at different
positions along the horizontal axis.
Some Continuous Probability Distributions
Normal Distributions
Figure2.3 shows two normal curves with the same mean but different
standard deviations.
Two curves are centered at exactly the same position on the
horizontal axis, but the curve with the larger standard deviation σ is
lower and spreads out farther.
Some Continuous Probability Distributions
Normal Distributions
Figure 2.4 shows shows two normal curves having different means
and different standard deviations.
They are centered at different positions on the horizontal axis and
their shapes reflect the two different values of σ.
Some Continuous Probability Distributions
Normal Distributions
Theorem 6
The mean and variance of n(x; µ, σ) are µ and σ 2 ,
respectively. Hence, the standard deviation is σ.
Definition 7
The distribution of a normal random variable with mean 0 and variance 1
is called a standard normal distribution.
1 x2
n(z; 0, 1) = √ e− 2 .
2π
Φ(z) = P (Z < z)
then
P (x1 < X < x2 ) = Φ(z2 ) − Φ(z1 ).
Since the density function n(z; 0, 1) is an even function, we have
Φ(−z) = 1 − Φ(z).
Some Continuous Probability Distributions
Areas under the Normal Curve
Example 8
Given a standard normal distribution, find the area under the curve that
lies (a) to the right of z = 1.84 and (b) between z = −1.97 and z = 0.86.
Some Continuous Probability Distributions
Areas under the Normal Curve
Example 8
Given a standard normal distribution, find the area under the curve that
lies (a) to the right of z = 1.84 and (b) between z = −1.97 and z = 0.86.
Example 8
Given a standard normal distribution, find the area under the curve that
lies (a) to the right of z = 1.84 and (b) between z = −1.97 and z = 0.86.
Example 9
Given a standard normal distribution, find the value of k such that (a)
P (Z > k) = 0.3015 and (b) P (k < Z < −0.18) = 0.4197.
Some Continuous Probability Distributions
Areas under the Normal Curve
Example 9
Given a standard normal distribution, find the value of k such that (a)
P (Z > k) = 0.3015 and (b) P (k < Z < −0.18) = 0.4197.
Example 9
Given a standard normal distribution, find the value of k such that (a)
P (Z > k) = 0.3015 and (b) P (k < Z < −0.18) = 0.4197.
Example 10
Given a random variable X having a normal distribution with µ = 50 and
σ = 10, find the probability that X assumes a value between 45 and 62.
Some Continuous Probability Distributions
Areas under the Normal Curve
Example 10
Given a random variable X having a normal distribution with µ = 50 and
σ = 10, find the probability that X assumes a value between 45 and 62.
45 − 50 X − 50 62 − 50
P (45 < X < 62) = P ( < < ) = P (−0.5 < Z < 1.2)
10 10 10
= Φ(1.2) − Φ(−0.5) = 0.8849 − 0.3085 = 0.5764
Some Continuous Probability Distributions
Areas under the Normal Curve
Solution: (a) When P (Z < −0.13) = Φ(z) = 0.45, so the desired z value
is −0.13. Hence, z = x−µ
σ , ⇒ x = σ(−0.13) + µ = 39.22
Some Continuous Probability Distributions
Areas under the Normal Curve
Solution: (a) When P (Z < −0.13) = Φ(z) = 0.45, so the desired z value
is −0.13. Hence, z = x−µ
σ , ⇒ x = σ(−0.13) + µ = 39.22
(b) 1 − Φ(z) = 0.14, ⇒ Φ(z) = 0.86, z = 1.08, then
x = 6 × 1.08 + 40 = 46.48.
Some Continuous Probability Distributions
Normal Approximation to the Binomial
Theorem 12
If X is a binomial random variable with mean µ = np and variance
σ 2 = npq, then the limiting form of the distribution of
X − np
Z= √ ,
npq
Gamma function
Definition 13
The gamma function is defined by
Z ∞
Γ(α) = xα−1 e−x dx, α > 0.
0
Definition 14
The continuous random variable X has a gamma distribution, with
parameters α and β, if its density function is given by
x
(
α
1
xα−1 e− β , x > 0,
f (x; α, β) = β Γ(α) , α > 0 and β > 0.
0, elsewhere,
Chi-Squared(χ2 ) Distribution
Definition 16
The continuous random variable X has a chi-squared distribution, with v
degrees of freedom, if its density function is given by
(
1 −x/2
v/2 v/2−1 e , x>0
f (x; v) = 2 Γ(v/2)x
0, elsewhere