I'm trying to solve the following question:
Given an exponential R.V. X with rate parameter λ>0, find the PDF of V=|X−λ|.
In order to find the PDF, I would like to use the CDF method (i.e. finding the CDF and then taking the derivative to obtain the PDF). I realize this function is not one to one on the range between 0 and 2λ, so the CDF should be broken into three parts: 0>w, $0
For the last part, I believe the bounds are $2\lambda
I understand there are probably more efficient ways of solving this, but I'm specifically trying to do it using the CDF method!
Answer
You have done most of the analysis, so I will be to a great extent repeating what you know. We want to find an expression for Pr(V≤w).
In general, V≤w iff |X−λ|≤w iff X−λ≤w and X−λ≥−w, that is, iff
λ−w≤X≤λ+w.
There are three cases to consider, (i) w≤0; (ii) 0<w≤λ; and (ii) w>λ.
Case (i): This is trivial: if w≤0 then Pr(V≤w)=0.
Case (ii): We want Pr(X≤λ+w)−Pr(X<λ−w). This is
(1−e−λ(λ+w))−(1−e−λ(λ−w)).
There is some immediate simplification, to e−λ(λ−w)−e−λ(λ+w), and there are various alternate ways to rewrite things, by introducing the hyperbolic sine.
Case (iii): This one is easier. We simply want Pr(X≤λ+w). For w≥−lambda, this is
1−e−λ(λ+w).
We could have set up the calculations using integrals, but since we already know that FX(x)=1−e−λx (when x>0) there is no need to do that.
Now that we have the cdf of V, it is straightforward to find the density. For w≤0, we have fV(w)=0. For 0<w<λ, we have fV(w)=λe−λ(λ−w)+λe−λ(λ+w). Finally, for w>λ we have fV(w)=λe−λ(λ+w).
Remark: Suppose that we did not have a nice expression for the cdf of X. That happens, for example, with the normal, and a number of other distributions. We could still find the density function by setting up our probabilities as integrals, and differentiating under the integral sign.
No comments:
Post a Comment