What Are the Correct Limits for Y in This Random Variable Transformation?

In summary, the conversation discusses a homework problem involving finding the cdf and pdf of a random variable Y, defined as a piecewise function of another random variable X. The conversation includes a discussion of how to properly calculate the cdf and pdf in different intervals, as well as addressing some mistakes in the original solution.
  • #1
windowsxp
3
0

Homework Statement



part iv confuse me,especially the limits for y
please look to my answer for this part and comment

Homework Equations





The Attempt at a Solution



i) I got c = 1/3
ii) P(X^2 >=1)=P(X>=1) + P(X<= -1) = 7/9
iii) P(X-1>=-1/4) = P(X>= -1/4+1)=37/576

iv) we find cdf of X
F(x) = integral from ( -2 to x ) of f(x) = int (1/3x^2) = (1/9)[ x^3 + 8]

the cdf of Y:
P(Y<=y) = P(-X<=y) = P(X>=-y) = 1- P(X<=-y) = 1-F(-y) = 1-(1/9)[- y^3 + 8]
the limits of Y ?

pdf of Y: f(y) = dF(y)/dy = (1/3) y^2

------------------------------------------------
the correct answer:
pdf of Y : f(y) = 1/9 * impulse(y) , y =0
= 1/3 y^2 , 0<y<2
why?
 

Attachments

  • 12.jpg
    12.jpg
    16.8 KB · Views: 366
Physics news on Phys.org
  • #2
Welcome to PF, windowsxp!

You need to be more careful about the conditions on x when deriving the cdf. You should be getting piecewise functions.

For instance, your result for the cdf of X is incorrect. If I take x = 1000, your formula gives [itex] F_X(x) = \frac{1000^3 + 8}{9} = 111,111,112 [/itex], which can't possibly be right. Similarly, if I choose a large negative number, your formula yields a negative probability, which is impossible. However, for values between -2 and 1, your formula is right. Just make sure you look at the piecewise definition of the density function when calculating the cdf. Your result have the form
[tex]
F_X(x)=
\begin{cases}
? & \text{if} \quad x>1,
\\
\frac{x^3 + 8}{9} & \text{if} \quad -2 \leq x \leq 1,
\\
? & \text{if} \quad x < -2
\end{cases}
[/tex]

and you should be able to fill in the question marks without too much difficulty.

Similarly for the rest of part iv), you need to take into consideration the fact that Y is also defined as a piecewise function. So there are two cases, [itex] X \leq 0[/itex] and [itex] X > 0 [/itex]. The strange thing is that [itex] \mathbf{P}\{Y = 0\}[/itex] is nonzero, which is why the correct answer for the pdf has that extra condition.
 
  • #3
spamiam said:
Welcome to PF, windowsxp!

You need to be more careful about the conditions on x when deriving the cdf. You should be getting piecewise functions.

For instance, your result for the cdf of X is incorrect. If I take x = 1000, your formula gives [itex] F_X(x) = \frac{1000^3 + 8}{9} = 111,111,112 [/itex], which can't possibly be right. Similarly, if I choose a large negative number, your formula yields a negative probability, which is impossible. However, for values between -2 and 1, your formula is right. Just make sure you look at the piecewise definition of the density function when calculating the cdf. Your result have the form
[tex]
F_X(x)=
\begin{cases}
? & \text{if} \quad x>1,
\\
\frac{x^3 + 8}{9} & \text{if} \quad -2 \leq x \leq 1,
\\
? & \text{if} \quad x < -2
\end{cases}
[/tex]

and you should be able to fill in the question marks without too much difficulty.

Similarly for the rest of part iv), you need to take into consideration the fact that Y is also defined as a piecewise function. So there are two cases, [itex] X \leq 0[/itex] and [itex] X > 0 [/itex]. The strange thing is that [itex] \mathbf{P}\{Y = 0\}[/itex] is nonzero, which is why the correct answer for the pdf has that extra condition.

thanx a lot for your comments.

the cdf of X is
F_X(x)=
\begin{cases}
0 & \text{if} \quad x>1,
\\
\frac{x^3 + 8}{9} & \text{if} \quad -2 \leq x \leq 1,
\\
1 & \text{if} \quad x < -2
\end{cases}
[/tex]
right!

Y is defined by two intervals
when X < 0 , Y= -X
from the cdf of X, F(x) = (1/9)[ x^3 + 8] , -2<x< 0
since -2<x< 0 , 0< y< 2
P(Y<=y) = P(-X<=y) = P(X>=-y) = 1- P(X<=-y) = 1-F(-y) = 1-(1/9)[- y^3 + 8]
pdf of Y: f(y) = dF(y)/dy = (1/3) y^2 ,0< y< 2

when X >0 , Y=0
from the cdf of X, F(x) = (1/9)[ x^3 + 8] , 0<x< 1
.....?
 
  • #4
windowsxp said:
thanx a lot for your comments.

the cdf of X is
F_X(x)=
\begin{cases}
0 & \text{if} \quad x>1,
\\
\frac{x^3 + 8}{9} & \text{if} \quad -2 \leq x \leq 1,
\\
1 & \text{if} \quad x < -2
\end{cases}
[/tex]
right!
Almost, you just mixed up the 0 and the 1. But you have the right idea! :smile:
Y is defined by two intervals
when X < 0 , Y= -X
from the cdf of X, F(x) = (1/9)[ x^3 + 8] , -2<x< 0
since -2<x< 0 , 0< y< 2
P(Y<=y) = P(-X<=y) = P(X>=-y) = 1- P(X<=-y) = 1-F(-y) = 1-(1/9)[- y^3 + 8]
pdf of Y: f(y) = dF(y)/dy = (1/3) y^2 ,0< y< 2

when X >0 , Y=0
from the cdf of X, F(x) = (1/9)[ x^3 + 8] , 0<x< 1
.....?

The problem is, if you assume [itex] X \leq 0 [/itex], then you're actually calculating a conditional probability. It's clearer to write the event [itex]\{Y \leq x\} [/itex] as the disjoint union [itex] \{Y \leq x \; \text{and} \; X \leq 0\} \cup \{Y \leq x \; \text{and} \; X > 0\} [/itex]. Then
[tex]
\mathbf{P}\{Y \leq x\} = \mathbf{P}\{Y \leq x \; \text{and} \; X \leq 0\} + \mathbf{P}\{Y \leq x \; \text{and} \; X > 0\}.
[/tex]
Now let's look at the first term:
[tex]
\mathbf{P}\{Y \leq x \; \text{and} \; X \leq 0\} = \mathbf{P}\{-X \leq x \; \text{and} \; X \leq 0\}= \cdots
[/tex]

Can you figure out the first term from there? The second term should be easy from the piecewise definition of Y.
 

FAQ: What Are the Correct Limits for Y in This Random Variable Transformation?

What is a random variable transform?

A random variable transform is a mathematical function that maps one random variable to another. It allows us to transform the probability distribution of a random variable into a different distribution, which can be useful in statistical analysis and modeling.

Why is random variable transform important?

Random variable transform is important because it allows us to manipulate and analyze random variables in different ways. It helps us to simplify complex distributions, identify patterns, and make predictions about future outcomes.

What are some common types of random variable transforms?

Some common types of random variable transforms include linear transformations, logarithmic transformations, and power transformations. These transformations can help to normalize skewed distributions, reduce the impact of outliers, and improve the interpretability of data.

How is random variable transform used in statistics?

In statistics, random variable transform is used to convert data from one distribution to another, such as from a normal distribution to a uniform distribution. This allows us to apply different statistical tests and models that require normally distributed data.

Are there any limitations to random variable transform?

Yes, there are some limitations to random variable transform. It may not always be possible to find a transformation that will result in a desired distribution, and the transformed data may not accurately represent the original data. It is important to carefully consider the assumptions and potential biases of any transformation used in data analysis.

Back
Top