You did not restrict x to [0,1] in that plot. What happens to z when x is outside of [0,1] is irrelevant.
Cumulative distribution function
- Context: Undergrad
- Thread starter ulissess
- Start date
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
61 replies · 10K views
Physics news on Phys.org
ulissess
- 36
- 0
my range is (0.5; 1], if x [tex]\in[/tex] [0,1]
No, it isn't. Look at the plot. Look at the equation.
ulissess
- 36
- 0
if x=1 ==> z=3 so exist a point of the function in x [tex]\in[/tex] [0,1]... or z [tex]\in[/tex] [0,1] too? If z and x [tex]\in[/tex] [0,1] doesn't exist the function in this interval
- 16,224
- 2,895
When x=1, you have z=3. As x decreases toward 0.5, the graph goes up, which means z increases. There's a vertical asymptote at x=0.5, so as you get closer and closer to x=0.5, z grows without bound, right? So you know z takes on some value in [3,∞) when x is in (0.5,1]. What values of z do you get when x is in [0,0.5)?
ulissess
- 36
- 0
oh yes, sorry ... (-∞,-1] when x is in [0,0.5).. so my z has values in (-∞, -1] U [z,∞) ... z=1 if y=0 .
So i can integrate my PDF in those intervals, in (-1,1) instead my PDF is zero because i haven't my function in that interval. All right?
Slowly I'm coming near the solution, thank you !
So i can integrate my PDF in those intervals, in (-1,1) instead my PDF is zero because i haven't my function in that interval. All right?
Slowly I'm coming near the solution, thank you !
Last edited:
Finally! Very good.
ulissess
- 36
- 0
thank you! i have tried to do the integrals...
[PLAIN]http://img51.imageshack.us/img51/4570/97869363.jpg
in [1,+oo] my PDF change? why? have i used good the integrals?
[PLAIN]http://img51.imageshack.us/img51/4570/97869363.jpg
in [1,+oo] my PDF change? why? have i used good the integrals?
Last edited by a moderator:
No, you haven't.
You need to show your work, and please explain your variables and your steps when you do so. If all you show are your final results it is a bit tough to figure out where you went wrong.
You need to show your work, and please explain your variables and your steps when you do so. If all you show are your final results it is a bit tough to figure out where you went wrong.
ulissess
- 36
- 0
yes sorry.. i was thinking this...( 2w/(z-1)^2 is my jacobian)
[PLAIN]http://img600.imageshack.us/img600/79/26405949.jpg
so this is my PDF but now i don't know what interval use for the CDF
[PLAIN]http://img600.imageshack.us/img600/79/26405949.jpg
so this is my PDF but now i don't know what interval use for the CDF
Last edited by a moderator:
You still have something very wrong there. Look back to your post #14, where you essentially got it right for z<-1. It should be obvious what the pdf looks like from z=-1 to z=1.
The only remaining issue is what the pdf looks like for z>1. Hint: Is there any symmetry that you can use here?
The only remaining issue is what the pdf looks like for z>1. Hint: Is there any symmetry that you can use here?
ulissess
- 36
- 0
[PLAIN]http://img121.imageshack.us/img121/5523/84830083.jpg
so maybe this is correct, but i don't understand any things. I've integrated f(z) in dw=dy (z is constant): y is in (0,1) so i have integrated in this interval, the second f(z) I've integrated in dw but i have limited x in (0,1) and i have seen how vary the y. right? How do i understand why the second f(z) is used in z>1 and -1<z<1 and the first in z<-1? I believed the pdf in -1<z<1 was zero, why has it a pdf if it doesn't exist in x (0,1)?
so maybe this is correct, but i don't understand any things. I've integrated f(z) in dw=dy (z is constant): y is in (0,1) so i have integrated in this interval, the second f(z) I've integrated in dw but i have limited x in (0,1) and i have seen how vary the y. right? How do i understand why the second f(z) is used in z>1 and -1<z<1 and the first in z<-1? I believed the pdf in -1<z<1 was zero, why has it a pdf if it doesn't exist in x (0,1)?
Last edited by a moderator:
You need to explain why you are making the steps you are making.
One problem here is that you are assuming that one simple expression describes the pdf from -infinity to infinity. That this is not the case should be obvious given that the pdf has to be identically zero for z between -1 and 1.
One problem here is that you are assuming that one simple expression describes the pdf from -infinity to infinity. That this is not the case should be obvious given that the pdf has to be identically zero for z between -1 and 1.
ulissess
- 36
- 0
Well, i don't know.. i just try to find a solution. I'm thinking from 3 hours. (z-1)/(z+1) i believe is the curve between 1 and +inf so F(z) use that density but for z<-1 use another pdf between (0,1) so .. I'm lost. Suggestion?
- 16,224
- 2,895
It might help you to figure out what the curves z=constant look like in the xy plane.
ulissess
- 36
- 0
[PLAIN]http://img689.imageshack.us/img689/6431/55725049.jpg
[PLAIN]http://img262.imageshack.us/img262/1655/46800016.jpg
i've solved so..
[PLAIN]http://img262.imageshack.us/img262/1655/46800016.jpg
i've solved so..
Last edited by a moderator:
- 16,224
- 2,895
What is that diagram supposed to represent?
ulissess
- 36
- 0
[tex]y=(z+1)/(z-1)*x[/tex]
ulissess
- 36
- 0
sorry I'm very shallow...
with z in (-oo,-1)
[PLAIN]http://img256.imageshack.us/img256/1354/unoir.jpg
[tex]F_z(z)=1*(z+1)/(z-1)[/tex]*0.5 (area of triangle)
with z in (1,+oo)
[PLAIN]http://img26.imageshack.us/img26/4328/duep.jpg
[tex]F_z(z)=1*(z-1)/(z+1)[/tex]*0.5 (area of triangle)
with z in (-oo,-1)
[PLAIN]http://img256.imageshack.us/img256/1354/unoir.jpg
[tex]F_z(z)=1*(z+1)/(z-1)[/tex]*0.5 (area of triangle)
with z in (1,+oo)
[PLAIN]http://img26.imageshack.us/img26/4328/duep.jpg
[tex]F_z(z)=1*(z-1)/(z+1)[/tex]*0.5 (area of triangle)
Last edited by a moderator:
- 16,224
- 2,895
Ah, that's better, but you got the fractions upside down. From earlier in the thread, you correctly had
[tex]y=\frac{1-z}{1+z}x[/tex]
which doesn't match with what you have on your diagrams.
If you want to go straight to FZ(z) by computing areas, you need to make sure you're looking at the right areas, so think about which lines z=±1 and z=±∞ correspond to. (Note you can also use this to figure out what the correct limits on your earlier integrals should be.)
[tex]y=\frac{1-z}{1+z}x[/tex]
which doesn't match with what you have on your diagrams.
If you want to go straight to FZ(z) by computing areas, you need to make sure you're looking at the right areas, so think about which lines z=±1 and z=±∞ correspond to. (Note you can also use this to figure out what the correct limits on your earlier integrals should be.)
ulissess
- 36
- 0
oh sure .. [tex]y=\frac{z-1}{z+1}x[/tex]
with z in (1,+oo)
[PLAIN]http://img525.imageshack.us/img525/2809/unoj.jpg
if (z->+oo) ==> [tex]F_z(z)=\int_{0}^{1}xdx=0.5[/tex]
if z=1 ==>[tex]F_z(z)=\int_{0}^{0}1dx=0[/tex]
[tex]F_z(z)=\int_{0}^{1}\frac{z-1}{z+1}dx=\frac{z-1}{2(z+1)}[/tex]
with z in (-oo,-1)
[PLAIN]http://img689.imageshack.us/img689/4300/duex0.jpg
[tex]F_z(z)=\int_{0}^{1}\frac{z+1}{z-1}dy=\frac{z+1}{2(z-1)}[/tex]
if (z->-oo) ==>[tex]F_z(z)=\int_{0}^{1}ydy=0.5[/tex]
if z=-1 ==>[tex]F_z(z)=1[/tex] because y->+oo
with z in (1,+oo)
[PLAIN]http://img525.imageshack.us/img525/2809/unoj.jpg
if (z->+oo) ==> [tex]F_z(z)=\int_{0}^{1}xdx=0.5[/tex]
if z=1 ==>[tex]F_z(z)=\int_{0}^{0}1dx=0[/tex]
[tex]F_z(z)=\int_{0}^{1}\frac{z-1}{z+1}dx=\frac{z-1}{2(z+1)}[/tex]
with z in (-oo,-1)
[PLAIN]http://img689.imageshack.us/img689/4300/duex0.jpg
[tex]F_z(z)=\int_{0}^{1}\frac{z+1}{z-1}dy=\frac{z+1}{2(z-1)}[/tex]
if (z->-oo) ==>[tex]F_z(z)=\int_{0}^{1}ydy=0.5[/tex]
if z=-1 ==>[tex]F_z(z)=1[/tex] because y->+oo
Last edited by a moderator:
- 16,224
- 2,895
FZ(z) = Pr(Z<z), right? So are you really claiming the following?
FZ(∞) = Pr(Z<∞) = 0.5
FZ(1) = Pr(Z<1) = 0
FZ(-1) = Pr(Z<-1) = 1
FZ(-∞) = Pr(Z<-∞) = 0.5
FZ(∞) = Pr(Z<∞) = 0.5
FZ(1) = Pr(Z<1) = 0
FZ(-1) = Pr(Z<-1) = 1
FZ(-∞) = Pr(Z<-∞) = 0.5
Since you are having so much trouble with this, ulissess, I help out a bit more than we normally do here.vela said:If you want to go straight to FZ(z) by computing areas, you need to make sure you're looking at the right areas, so think about which lines z=±1 and z=±∞ correspond to. (Note you can also use this to figure out what the correct limits on your earlier integrals should be.)
That graphical view is a good way to go, but you do need to get things right. (Nothing special there; you need to get things right when you are using an integral approach as well.)
Using that unit square with the x and y axes in their standard positions (e.g. exactly the way you have drawn it),
- Draw a diagonal line from the origin to (1,1). Note this line separates negative z values from positive ones. The upper triangle (left triangle) represents (x,y) pairs that map to negative z while the lower triangle (right triangle) represents (x,y) pairs that map to positive z values.
- Except for the origin, all points on the x-axis will map to the same z value. What is this z value for points on the x axis?
- Except for the origin, all points on the y-axis will also map to a single z value. What is this z value for points on the y axis?
- In fact, all points on any line emanating from the origin except for the origin itself will map to a single z value. Prove this.
- With this in mind, draw that diagonal line segment from the origin to (1,1) and another line segment from the origin to a point (x,1) on the upper edge of the unit square.
- Suppose you want this line to represent a specific z value, obviously a negative z value given the discussion in item 1 above. What is the value of x that makes all points on this second line segment represent the (x,y) pairs that map to this value of z?
- Note that these two line segments split the unit square into three triangles. One of these triangles represents all z values from -∞ to your selected z value. Which of the three triangles is this, and what is its area?
- To deal with positive z values, do the same thing but replace the line to (x,1) with a line to (1,y). This line segment plus the diagonal once again divides the unit square into three triangles, each representing some set of z values. What does this tell you about the CDF for positive z values?
ulissess
- 36
- 0
1Except for the origin, all points on the x-axis will map to the same z value. What is this z value for points on the x axis?
-1Except for the origin, all points on the y-axis will also map to a single z value. What is this z value for points on the y axis?
[tex]\frac{z+1}{z-1}[/tex]Suppose you want this line to represent a specific z value, obviously a negative z value given the discussion in item 1 above. What is the value of x that makes all points on this second line segment represent the (x,y) pairs that map to this value of z?
[PLAIN]http://img683.imageshack.us/img683/7565/duegu.jpg (the black area)Note that these two line segments split the unit square into three triangles. One of these triangles represents all z values from -∞ to your selected z value. Which of the three triangles is this, and what is its area?
[tex]1=F_z(z)+\frac{1}{2}+\frac{z+1}{2(z-1)}=>F_z(z)=\frac{1}{2}-\frac{z+1}{2(z-1)}=\frac{1}{1-z}[/tex]
[PLAIN]http://img694.imageshack.us/img694/5990/unokc.jpgTo deal with positive z values, do the same thing but replace the line to (x,1) with a line to (1,y). This line segment plus the diagonal once again divides the unit square into three triangles, each representing some set of z values. What does this tell you about the CDF for positive z values?
my function is [tex]y=\frac{z-1}{z+1}x[/tex] so ..
when z=1 => y=0
when z->+oo ==> y=x
so, my [tex]\frac{z-1}{z+1}[/tex] go near y=0 for z->1 values and go near y=x for z->+oo values
Last edited by a moderator:
Finally! You have yet to obtain the CDF for z>1. What is it?
Now put it all together: What is the CDF for all z, from -∞ to +∞?
Now put it all together: What is the CDF for all z, from -∞ to +∞?
ulissess
- 36
- 0
[PLAIN]http://img687.imageshack.us/img687/742/unos.jpg
[tex]1=F_z(z)+\frac{1}{2}+\frac{z-1}{2(z+1)}=>F_z(z)=\frac{1}{2}-\frac{z-1}{2(z+1)}=\frac{1}{1+z}[/tex]
for z in (-1,1)
[PLAIN]http://img217.imageshack.us/img217/1504/trehc.jpg
[tex]F_z(z)=\frac{1}{2}[/tex]
[tex]1=F_z(z)+\frac{1}{2}+\frac{z-1}{2(z+1)}=>F_z(z)=\frac{1}{2}-\frac{z-1}{2(z+1)}=\frac{1}{1+z}[/tex]
for z in (-1,1)
[PLAIN]http://img217.imageshack.us/img217/1504/trehc.jpg
[tex]F_z(z)=\frac{1}{2}[/tex]
Last edited by a moderator:
- 16,224
- 2,895
If the black areas are meant to represent FZ(z), your pictures aren't correct. Again, keep in mind that FZ(z) is the probability that Z<z.
Also, your expression for FZ(z) for z>1 isn't correct either. The CDF is an increasing function of z and its limit as z→∞ is 1. Neither of those is true for your FZ(z).
Also, your expression for FZ(z) for z>1 isn't correct either. The CDF is an increasing function of z and its limit as z→∞ is 1. Neither of those is true for your FZ(z).
ulissess
- 36
- 0
[tex]F_Z(z)= P(Z<z)[/tex]
i don't understand find this relation.. maybe for z>1
[tex]F_z(Z)= P(Z<z)= P( \frac{x+y}{x-y}<=z>1 )[/tex]
right? but i don't know how find the right area.. z>1 is all triangle (0,1)*(1,1)*0.5 but i don't know how to continue..
i don't understand find this relation.. maybe for z>1
[tex]F_z(Z)= P(Z<z)= P( \frac{x+y}{x-y}<=z>1 )[/tex]
right? but i don't know how find the right area.. z>1 is all triangle (0,1)*(1,1)*0.5 but i don't know how to continue..
In your first diagram in post #56, what values of z does your shaded triangle represent? Hint: One edge is the diagonal. What kind of z value do you obtain for a point just to the right (or just below) that diagonal line?
ulissess
- 36
- 0
[tex]y>\frac{z-1}{z+1}x==>z>\frac{y+x}{x-y}[/tex]
Similar threads
- sofanglom
- · Replies 1 ·
- Set Theory, Logic, Probability, Statistics
- Replies
- 1
- vincentvance
- · Replies 1 ·
- Set Theory, Logic, Probability, Statistics
- Replies
- 1
- Julio1
- · Replies 3 ·
- Set Theory, Logic, Probability, Statistics
- Replies
- 3
- DavidGuimont
- · Replies 1 ·
- Set Theory, Logic, Probability, Statistics
- Replies
- 1
- tiffyuyu
- · Replies 1 ·
- Set Theory, Logic, Probability, Statistics
- Replies
- 1
- songoku
- · Replies 4 ·
- Precalculus Mathematics Homework Help
- Replies
- 4
- Dr ps
- · Replies 1 ·
- Set Theory, Logic, Probability, Statistics
- Replies
- 1
- xeon123
- · Replies 3 ·
- Set Theory, Logic, Probability, Statistics
- Replies
- 3
- invictor
- · Replies 4 ·
- Set Theory, Logic, Probability, Statistics
- Replies
- 4
- TheFallen018
- · Replies 1 ·
- Calculus
- Replies
- 1