Download presentation
Presentation is loading. Please wait.
Published byClaire Pruneau Modified over 5 years ago
1
Tutorial 8: Further Topics on Random Variables 1
Weiwen LIU March 20, 2017
2
Derived distributions
Given π=π(π) of a continuous random variable π and PDF of π, how to calculate the PDF of π? Two step approach
3
Calculation of PDF of π = π(π)
Calculate the CDF πΉ π of π using the formula πΉ π π¦ =π π π β€π¦ = {π₯|π(π₯)β€π¦} π π (π₯)ππ₯ Differentiate πΉ π to obtain the PDF π π of π: π π π¦ = π πΉ π ππ¦ π¦ .
4
Calculation of PDF of π = π(π)
Linear case: The PDF of π=ππ+π in terms of the PDF π. π π π¦ = π πΉ π ππ¦ π¦ = 1 |π| π π π¦βπ π Monotonic Case: Suppose that π is monotonic and that for some function β and all π₯ in the range of π we have π¦=π π₯ if and only if π₯=β(π¦). Assume that β is differentiable. π π π¦ = π π β(π¦) πβ ππ¦ (π¦)
5
Example 1 Let X be a random variable with PDF π π . Find the PDF of the random variable π = |π|, (a) when π π π₯ = , ππ β2<π₯β€1, 0, ππ‘βπππ€ππ π; (b) when π π π₯ = 2 π β2π₯ , ππ π₯>0, 0, ππ‘βπππ€ππ π; (c) for general π π (π₯).
6
Example 1 Since π = π , you can visualize the PDF for any given π¦ as
π π (π¦)= π π π¦ + π π βπ¦ , ππ π¦β₯0 0, ππ π¦<0 Also note that since π = |π|, π β₯ 0.
7
Example 1 (a) Since π π π₯ = 1 3 , ππ β2<π₯β€1, 0, ππ‘βπππ€ππ π;
So, π π (π₯) for β1 β€ π₯ β€ 0 gets added to π π (π₯) for 0 β€ π₯ β€ 1: π π π¦ = , ππ 0β€π¦<1, 1 3 , ππ 1β€π¦<2, , ππ‘βπππ€ππ π;
8
f π y = π π π₯ = 2 π β2π₯ , ππ π₯>0, 0, ππ‘βπππ€ππ π.
Example 1 (b) Here we are told π > 0. So there are no negative values of π that need to be considered. Thus f π y = π π π₯ = 2 π β2π₯ , ππ π₯>0, 0, ππ‘βπππ€ππ π. (c) As explained in the beginning, π π (π¦) = π π (π¦) + π π (βπ¦).
9
Example 2: archer shooting
Two archers shoot at a target. The distance of each shot from the center of the target is uniformly distributed from 0 to 1, independent of the other shot. Question: What is the PDF of the distance of the winning shot from the center?
10
Example 2: archer shooting
Let π and π be the distances from the center of the first and second shots, respectively. π: the distance of the winning shot: π= min π, π . Since π and π are uniformly distributed over 0,1 , we have, for all π§β 0, 1 , π πβ₯π§ =π πβ₯π§ =1βπ§.
11
Example 2: archer shooting
Thus, using the independence of π and π, we have for all π§β 0,1 , πΉ π π§ =1βπ min β‘{π, π} β₯ π§ =1βπ πβ₯π§ π πβ₯π§ =1β 1βπ§ 2 . Differentiating, we obtain π π π§ = 2(1βπ§), if 0β€π§β€1. 0, otherwise.
12
Covariance The covariance of two random variables π and π are defined as cov π,π =E πβE π πβπ π . Alternatively cov π,π =E ππ βE π E π .
13
Correlation Coefficient
For any random variable π, π with nonzero variances, the correlation coefficient π π,π of them is defined as π(π,π)= cov(π,π) var π var(π) . It may be viewed as a normalized version of the covariance cov(π,π). Recall cov π,π =var π . Itβs easily verified that β1β€π(π,π)β€1
14
Example 3 A restaurant serves three fixed-price dinners costing $12, $15, and $20. For a randomly selected couple dinning at this restaurant, let π = π‘βπ πππ π‘ ππ π‘βπ πππβπ ππππππ and π = π‘βπ πππ π‘ ππ π‘βπ π€ππππβπ ππππππ. If the joint PMF of π and π is assumed to be, what is cov π,π ?
15
Example 3 Cov π, π =π[ππ]βπ π π[π] = β 15.9 Β· = β0.755
Similar presentations
© 2024 SlidePlayer.com Inc.
All rights reserved.