Upload
others
View
1
Download
0
Embed Size (px)
Citation preview
6. and 7. Continuous Random Variables and Special Continuous Distributions
โข Definition 6.1 on P.243:
Let X be a random variable. Suppose that there exists a nonnegative real-values function ๐: ๐ โ 0,โ such that for any subset of real numbers A that can be constructed from intervals by a countable number of set operations,
๐ ๐ โ ๐ด = ๐ด
๐ ๐ฅ ๐๐ฅ.
Then X is called absolutely continuous, or for simplicity, continuous. The f is called the probability density function (p.d.f., or pdf) of X. F(t)= โโ
๐ก๐ ๐ฅ ๐๐ฅ is called the (cumulative)
distribution function (c.d.f., or cdf) of X.
6.1 Probability Density Function
6.2 Density Function of a Function of a Random Variable
6.3 Expectations and Variances
1
6. Continuous Random Variables
โข Properties of p.d.f. (pdf) and c.d.f. (cdf):
The probability density function (p.d.f.) f and its distribution function F of a continuous random variable X has the following properties.
(a) ๐น ๐ก = โโ๐ก๐(๐ฅ) ๐๐ฅ. ๐ด = (โโ, ๐ก], ๐น ๐ก = ๐ ๐ โค ๐ก = ๐ ๐ โ ๐ด .
(b) ๐ ๐ โ ๐ = โโโ๐ ๐ฅ ๐๐ฅ = 1.
(c) If f is continuous, then ๐นโฒ ๐ฅ = ๐ ๐ฅ .
(d) For ๐ โค ๐, ๐ ๐ โค ๐ โค ๐ = ๐๐๐ ๐ฅ ๐๐ฅ.
(e) ๐ ๐ < ๐ < ๐ = ๐ ๐ โค ๐ < ๐ = ๐ ๐ < ๐ โค ๐ = ๐ ๐ โค ๐ โค ๐ .
2
๐ ๐ฅ =1
2๐โ๐ฅ/2 and ๐น ๐ฅ = 1 โ ๐โ๐ฅ/2 (pdf vs. cdf)
๐ ๐ฅ =๐
2sin ๐๐ฅ vs. ๐น ๐ฅ =
1
2(1 โ cos(๐๐ฅ))
Example 6.1 on P.245
Example 6.1 Experience has shown that while walking in a certain park, the time X, in minutes, between seeing two people smoking has a probability density function of the form
โข f(x)= ๐๐ฅ๐โ๐ฅ
0,
๐ฅ > 0๐๐กโ๐๐๐ค๐๐ ๐
(a) Calculate the value ๐. Ans: ๐ = 1.
(b) Find the distribution function of X. ๐น ๐ก = 1 โ ๐ก + 1 ๐โ๐ก ๐๐ ๐ก โฅ 0.
(c) What is the probability that Jeff, who has just seen a person smoking, will see another person smoking in 2 to 5 minutes? in at least 7 minutes? P(2<X<5)โ 0.37, ๐(๐ โฅ 7) โ 8๐โ7 โ 0.007.
5
Example 6.2 on P.246
(6.2)(a) Sketch the graph of the function
๐ ๐ฅ = 1
2โ1
4๐ฅ โ 3 , 1 โค ๐ฅ โค 5
0 ๐๐กโ๐๐๐ค๐๐ ๐
and show that it is the probability density function of a r.v. X.
(b) Find F, the distribution function of X, and sketch its graph.
(c*) Show that F is continuous.
Remark 6.1 on P.249.
6
Exercise 3 on P.250
3. The time it takes for a student to finish an aptitude test (in hours) has a probability density function of the form
๐ ๐ฅ = ๐ ๐ฅ โ 1 2 โ ๐ฅ ๐๐ 1 < ๐ฅ < 2
(a) Determine the constant c. Ans: 12๐ ๐ฅ ๐๐ฅ = 1, ๐ ๐ ๐ = 6.
(b) Calculate the distribution function of the time it takes for a randomly selected student to finish the aptitude test.
Ans: ๐น ๐ฅ = 1
๐ฅ๐ ๐ก ๐๐ก = โ2๐ฅ3 + 9๐ฅ2 โ 12๐ฅ + 5 ๐๐ 1 < ๐ฅ < 2,
๐๐๐ ๐น ๐ฅ = 1 ๐๐ ๐ฅ โฅ 2.
(a) What is the probability that a student will finish the aptitude test in less that 75 minutes (i.e., 1.25 hours)? Between 1.5 and 2 hours?
2. ๐น ๐ฅ = 1 โ16
๐ฅ2๐๐ ๐ฅ โฅ 4, ๐๐๐ 0 ๐๐กโ๐๐๐ค๐๐ ๐. Then
(a) ๐(๐ฅ) =32
๐ฅ3๐๐๐ ๐ฅ โฅ 4 ๐ ๐๐๐๐ก๐โ ๐น ๐๐๐ ๐ ๐๐๐ ๐ฅ โฅ 4.
๐ ๐ 5 < ๐ < 7 = ๐น 7 โ ๐น(5), d ๐ ๐ โฅ 6 = 1 โ ๐น 6 =16
36=
4
9
7
Density Function of A Function of A R.V. (P.253)
In probability applications, we may face that the probability density function f of X is known but the p.d.f. h(X) is need. One of the solutions is to find the distribution function G of Y=h(X) first and compute the p.d.f of h(X) by g(y)=Gโ(y).Example (6.3) Let X be a continuous r.v. with the probability density function
๐ ๐ฅ = 2
๐ฅ2, ๐๐ 1 < ๐ฅ < 2
0, ๐๐กโ๐๐๐ค๐๐ ๐.
The distribution function and p.d.f. of ๐ = ๐2 can be calculated as
๐บ ๐ฆ = ๐ ๐ โค ๐ฆ = ๐ ๐2 โค ๐ฆ = ๐ 1 < ๐ โค ๐ฆ = 1๐ฆ 2
๐ฅ2๐๐ฅ = 2 โ
2
๐ฆ,
๐ ๐ฆ = ๐บโฒ ๐ฆ =1
๐ฆ ๐ฆfor 1 < ๐ฆ < 4
8
Examples 6.4, 6.5 on P.254
(6.4) Let X be a continuous r.v. with p.d.f. f. In terms of f, find the distribution and probability density functions of ๐ = ๐3.
Hint: ๐บ ๐ก = ๐ ๐ โค ๐ก = ๐ ๐3 โค ๐ก = ๐ ๐ โค 3 ๐ก = ๐น(3 ๐ก), ๐ ๐ก = ๐บโฒ ๐ก .
(6.5) The error X of a measurement has the probability density function
๐ ๐ฅ = 1
2๐๐ โ 1 < ๐ฅ < 1
0 ๐๐กโ๐๐๐ค๐๐ ๐
Find the distribution and probability density functions of Y=|X|.
9
Theorem 6.1 Method of Transformations P.255
Let X be a continuous random variable with probability density function ๐๐ and the set of possible values A. For the invertible function
โ: ๐ด โ ๐ , let ๐ = โ ๐ be a random variable with the set of possible values B=h(A)= โ ๐ : ๐ โ ๐ด . Suppose that the inverse of ๐ฆ = โ ๐ฅ is the function ๐ฅ = โโ1 ๐ฆ , which is differentiable for all values of ๐ฆ โ ๐ต.Then ๐๐, the probability density function of Y, is given by
๐๐ ๐ฆ = ๐๐ โโ1 ๐ฆ โโ1 โฒ ๐ฆ , ๐ฆ โ ๐ต.
See the Proof on P.255
Hint: Compute ๐น ๐ฆ = ๐ ๐ = โ ๐ โค ๐ฆ , ๐กโ๐๐ ๐๐ ๐ฆ = ๐นโฒ ๐ฆ .
10
Example 6.6 on P.256
6.6 Let X be a random variable with the probability density function
๐๐ ๐ฅ = 2๐โ2๐ฅ ๐๐ ๐ฅ > 0
0 ๐๐กโ๐๐๐ค๐๐ ๐
The probability density function of ๐ = ๐ is f y = 4y๐โ2๐ฆ2,๐ฆ > 0
Hint: ๐ด = 0,โ , ๐ต = โ ๐ด = (0,โ)
6.7 Let X be a random variable with the probability function
๐๐ ๐ฅ = 4๐ฅ3 ๐๐ 0 < ๐ฅ < 10 ๐๐กโ๐๐๐ค๐๐ ๐
The probability density function of ๐ = 1 โ 3๐2 is f y =2
91 โ ๐ฆ , ๐ฆ โ (โ2,1)
Hint: A=(0,1), and B=h(A)=(-2,1).
11
6.3 Expectations and Variances on P.259-264
Definition 6.2 If X is a continuous random variable with probability density function f, the expected value of X is defined as
๐ธ ๐ = โโโ๐ฅ๐ ๐ฅ ๐๐ฅ. ๐ or E[X] is an alternative notation.
Definition 6.3 If X is a continuous random variable with ๐ธ ๐ = ๐, then Var(X) and ๐๐, called variance and standard deviation of X, respectively, are defined by
Var ๐ = ๐ธ[ ๐ โ ๐)2 = โโโ
๐ฅ โ ๐ 2๐ ๐ฅ ๐๐ฅ. ๐๐ = ๐๐๐ ๐ .
12
Examples of Expectation and Variance
(6.8) In a group of adult males, the difference between uric acid and 6, the standard value, is a random variable X with the following p.d.f.
๐ ๐ฅ =27
4903๐ฅ2 โ 2๐ฅ ๐๐
2
3< ๐ฅ < 3, ๐ ๐ฅ = 0 ๐๐กโ๐๐๐ค๐๐ ๐.
Find the mean of these differences for the group, that is, E(X). Ans: 2.36
(6.9) A random variable X with the following p.d.f. is called a Cauchy r.v.
๐ ๐ฅ =๐
1+๐ฅ2, โโ < ๐ฅ < โ
(a) Find c. c=1/๐.
(b) Show that E(X) does not exist.
13
Theorems 6.2, 6.3, Corollary, P.261-264 (Skip)
Theorem 6.2 ๐ธ ๐ = 0โ[1 โ ๐น ๐ก ] ๐๐ก โ 0
โ๐น โ๐ก ๐๐ก
Remark 6.4
Theorem 6.3 ๐ธ โ ๐ = โโโโ ๐ฅ ๐(๐ฅ) ๐๐ฅ
Example 6.10 A point X is selected from (0,๐/4) randomly. Calculate
E(cos2X)=2
๐, and E(๐๐๐ 2๐)=
1
2+
1
๐.
Remarks 6.5, 6.6., 6.7: About ๐ธ(๐๐+1)
14
๐ธ(๐๐): The ๐๐กโ ๐๐๐๐๐๐ก ๐๐ ๐
โข Let X be a discrete r.v. with probability mass function f ๐ฅ , then
โข ๐ธ ๐๐ = โโโ๐ฅ๐๐(๐ฅ) ๐๐ฅ is called the ๐๐กโ moment of X if it exists.
โข When ๐ = 1, ๐ธ ๐ ๐๐ ๐กโ๐ ๐๐ฅ๐๐๐๐ก๐๐ ๐ฃ๐๐๐ข๐ ๐๐ ๐๐ฅ๐๐๐๐ก๐๐ก๐๐๐.
โข When ๐ = 2, ๐ธ ๐2 ๐๐ ๐๐๐๐๐๐ ๐กโ๐ ๐ ๐๐๐๐๐ ๐๐๐๐๐๐ก.
โข Note that ๐๐๐ ๐ = ๐ธ ๐2 โ (๐ธ[๐])2
โข Remark: ๐ธ(๐๐+1) exits implies that ๐ธ ๐๐ . See proof on p.184.
A6. Let X be a discrete r.v. with the set of possible values {๐ฅ1, ๐ฅ2, โฏ , ๐ฅ๐}; X is called uniform if ๐ ๐ = ๐ฅ๐ =
1
๐, 1 โค ๐ โค ๐.
E(X)=(๐ + 1)/2 and Var(X)=(๐2 โ 1)/12 for the case that ๐ฅ๐ = ๐, 1 โค ๐ โค ๐.
15
Exercises A1,A6,A7,A10, B13,B14 on P.267-270
(A1) ๐น ๐ฅ = 1 โ 16/๐ฅ2 if ๐ฅ โฅ 4, ๐น ๐ฅ = 0 ๐๐ ๐ฅ < 4. Then
(a) E(X)=8, (b) Show that V(X) does not exist.
(A6) ๐ ๐ฅ = 3๐โ3๐ฅ ๐๐ 0 โค ๐ฅ < โ. Then ๐ธ ๐๐ =3
2.
(A7) ๐ ๐ฅ =1
๐ 1โ๐ฅ2๐๐ โ 1 < ๐ฅ < 1. Then E(X)=0.
(A10) ๐ ๐ฅ =2
๐ฅ2๐๐ 1 < ๐ฅ < 2. Then E lnX = 1 โ ๐๐2.
(B13) ๐ ๐ฅ =1
๐(1+๐ฅ2), ๐๐ โ โ < ๐ฅ < โ.
Prove that ๐ธ(|๐|๐ผ) converges if 0 < ๐ผ < 1 and diverges if ๐ผ โฅ 1.
(B14) ๐ ๐ > ๐ก = ๐ผ๐โ๐๐ก + ๐ฝ๐โ๐๐ก , ๐ก โฅ 0, ๐ผ + ๐ฝ = 1. Then E(X)=๐ผ
๐+
๐ฝ
๐.
16