danielakkerma
- 230
- 0
Hello All!
A recent problem has stuck with me, and I was hoping you could help me resolve it.
Consider the following premise: Let us assume that X \sim \mathcal{U}(-3,3)
(U is the continuous, uniform distribution).
And let the transformation Y be applied thus:
<br /> Y = \left\{<br /> \begin{align*}<br /> X+1, & & -1 \leq X \leq 0 \\<br /> 1-X, & & 0\leq X \leq 1 \\<br /> 0~~~, & & \rm{otherwise}<br /> \end{align*}<br /> \right.<br />
Then one desires to evaluate F_Y(t), Where F(t) is the cumulative dist. func. for Y.
Obviously, the simplest approach would be to find the expression using elementary means -- for example, by plotting the new domain of Y as a function of X.
However, I attempted to obtain the same result by considering the problem from more general principles, particularly, the law of total probability.
I considered the following statement:
<br /> F_Y(t) = \mathbf{P}(Y \leq t)<br />
By LTP:
<br /> \mathbf{P}(Y \leq t) = \sum_{i} P(Y \leq t ~ \mathbf{|} X \in A_i) \cdot P(X \in A_i)<br />
Where {A} is the set of all the regions on which Y is defined, as a function of X. For example, A_1 = [-1,0],A_2 =[0,1], and so forth.
Thus, I would get:
<br /> \mathbf{P}(Y \leq t) = P(Y \leq t ~ \mathbf{|} -1 \leq X \leq 0) \cdot P(-1 \leq X \leq 0) + P(Y \leq t ~ \mathbf{|} 0 \leq X \leq 1) \cdot P(0 \leq X \leq 1) + \\ + P(Y \leq t ~ \mathbf{|} 1 \leq X \leq 3 \cup -3 \leq X \leq -1) \cdot P(1 \leq X \leq 3 \cup -3 \leq X \leq -1)<br />
Then I observe that: P(Y \leq t ~ \mathbf{|} -1 \leq X \leq 0) is merely P(Y \leq t \cap Y = X+1) = P(X+1 \leq t) = F_X(t-1).
This I then apply to all the conditional probabilities(i.e., separating the values of Y according to the constituent Xs(as shown)) and using the CDF for X.
However, I obtain a completely different(and erroneous!) result here, compared with the direct approach(i.e., graphic, and others).
What went wrong?
Is my approach at all correct(or possible/permissible)?
Thank you very much for your attention,
Daniel
A recent problem has stuck with me, and I was hoping you could help me resolve it.
Consider the following premise: Let us assume that X \sim \mathcal{U}(-3,3)
(U is the continuous, uniform distribution).
And let the transformation Y be applied thus:
<br /> Y = \left\{<br /> \begin{align*}<br /> X+1, & & -1 \leq X \leq 0 \\<br /> 1-X, & & 0\leq X \leq 1 \\<br /> 0~~~, & & \rm{otherwise}<br /> \end{align*}<br /> \right.<br />
Then one desires to evaluate F_Y(t), Where F(t) is the cumulative dist. func. for Y.
Obviously, the simplest approach would be to find the expression using elementary means -- for example, by plotting the new domain of Y as a function of X.
However, I attempted to obtain the same result by considering the problem from more general principles, particularly, the law of total probability.
I considered the following statement:
<br /> F_Y(t) = \mathbf{P}(Y \leq t)<br />
By LTP:
<br /> \mathbf{P}(Y \leq t) = \sum_{i} P(Y \leq t ~ \mathbf{|} X \in A_i) \cdot P(X \in A_i)<br />
Where {A} is the set of all the regions on which Y is defined, as a function of X. For example, A_1 = [-1,0],A_2 =[0,1], and so forth.
Thus, I would get:
<br /> \mathbf{P}(Y \leq t) = P(Y \leq t ~ \mathbf{|} -1 \leq X \leq 0) \cdot P(-1 \leq X \leq 0) + P(Y \leq t ~ \mathbf{|} 0 \leq X \leq 1) \cdot P(0 \leq X \leq 1) + \\ + P(Y \leq t ~ \mathbf{|} 1 \leq X \leq 3 \cup -3 \leq X \leq -1) \cdot P(1 \leq X \leq 3 \cup -3 \leq X \leq -1)<br />
Then I observe that: P(Y \leq t ~ \mathbf{|} -1 \leq X \leq 0) is merely P(Y \leq t \cap Y = X+1) = P(X+1 \leq t) = F_X(t-1).
This I then apply to all the conditional probabilities(i.e., separating the values of Y according to the constituent Xs(as shown)) and using the CDF for X.
However, I obtain a completely different(and erroneous!) result here, compared with the direct approach(i.e., graphic, and others).
What went wrong?
Is my approach at all correct(or possible/permissible)?
Thank you very much for your attention,
Daniel
Last edited: