Cumulative distribution function

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
61 replies · 10K views
ulissess
Messages
36
Reaction score
0
i have two random variables x e y independent and they're uniform on the interval [0, 1] find cumulative distribution function of Z= (x+y)/(x-y)

i just try to solve...

[PLAIN]http://img202.imageshack.us/img202/5647/97250438.jpg

is it right?
 
Last edited by a moderator:
Physics news on Phys.org
For a function F(z) to qualify as a CDF,
  • The function must be monotonic: F(z) ≥ F(a) for all z>a
  • The function must be zero at the low end of the range: F(zmin) = 0
  • The function must be one at the high end of the rangeL F(zmax) = 1.

Given that, does your result look like a CDF?

A couple of hints:
1. Your limits of integration aren't right.
2. What values can z take on? Can it be a large negative number? A large positive number? Zero?
 
i don't understand how find the limits of integration :(

if z=0 => F_Z(z)=1/2
if z--> oo ==> F_Z(z)=-1/2

so this isn't a cdf.. can i try change of variables? how can i undestand what to use for solve these type of exercises?
 
Last edited:
thank you for the help..

(x+y)/(x-y)< z ==> i have 2 disequations x-y > 0 and x+y - z(x-y) < 0 with x>y my disequation is valid. So, i believe, i must use that 2 disequations for my integral.
i don't understand your 2. hint, i don't believe exist: [0,1] is an interval all positive.
 
with X=-Y i'll have Z=0 but negative values i cannot have it because my interval is [0,1]
 
y=1, x=-3 ==> z=1/2 but x is negative and it's < 1
y=1, x=-7 ==> z=3/4 .. it's impossible .. so? any value is impossible.. my interval is (-oo,+oo)?
 
ulissess said:
y=1, x=-3 ==> z=1/2 but x is negative and it's < 1
y=1, x=-7 ==> z=3/4 .. it's impossible .. so? any value is impossible.. my interval is (-oo,+oo)?
You are missing my point. Forget about the fact that the probability of obtaining a specific value is "impossible". There is a big difference between drawing 1/2 from U(0,1) than drawing a value of 4. The difference is that the probability of drawing a value in a small but finite neighborhood of 1/2 is non-zero while the probability of drawing a value in a small but finite neighborhood of 4 is zero. Back to the problem at hand, the probability of obtaining a z value in a small but finite neighborhood of zero is zero.
 
now i have understood hehehe (i don't speak very well english language), so z can to have values in (0,1)... so my 2° integral in dy is wrong.. how can i find this interval?
 
How about z = -1/2 ?

One thing you need to do is to get your mapping from (x,z) to y correct. It isn't.

It might be easier to find the PDF f(z) and integrate it to form F(z) rather than finding F(z) directly. To find f(z), try to determine the probability that Z is between z and z+dz, where dz is small (infinitesimally small).
 
[PLAIN]http://img338.imageshack.us/img338/4998/34928228.jpg

[PLAIN]http://img89.imageshack.us/img89/2320/93533692.jpg

z= -1/2 it's negative, the probability is 0, it's right?
 
Last edited by a moderator:
maybe, i believe ( 0< z < 1 --> -1/(z-1) ), ( z<=0 --> 0 ), ( z=>1 --> 1 )

but if i want solve directly F(z) what interval i use?
 
i believe z=-1/2 and z=-3/4 cannot be, because the Domain is (0,1) so only positive quantity between 0 to 1 are accepted
 
ulissess said:
maybe, i believe ( 0< z < 1 --> -1/(z-1) ), ( z<=0 --> 0 ), ( z=>1 --> 1 )
I don't know what you are saying here.

You have yet to answer my question: What (x,y) pairs (if any) with x and y restricted to [0,1] yields a z value of -1/2?

You need to know what values of z are attainable here. Knowing this is crucial to answering the problem.
 
all z[tex]\neq[/tex]1 are attainable here.. because with z=1 become impossibile this fraction -1/(z-1)
 
y=-7x i yield z=-4/3
y=- 3x i yield z=-1/2
y=-1/3x i yield z=1/2
y=-x i yield z=0
y=x=0 i yield z=1
 
Last edited:
[PLAIN]http://img251.imageshack.us/img251/552/97845663.jpg

is it right?
 
Last edited by a moderator:
Z=(x+y)/(x-y)

D: {R^2 \ (x-y[tex]\neq[/tex]0)} so if y=0.5 ==> x[tex]\neq[/tex]0.5

why is it important ? Is the range all the values x-y[tex]\neq[/tex]0 ?
 
You're talking about the domain, not the range. You first have to understand what the allowed values of Z are before you have a hope to figure out its cdf. That's why we are suggesting you plot the function to see the range. You don't need to plot the function to figure out its domain.
 
yes i have understood... but i don't know how to plot a function in 3d.. it's difficult to image it.
 
z=(x+0.5)/(x-0.5)

[PLAIN]http://img34.imageshack.us/img34/6961/37903189.jpg

the function is positive in (-oo; -0.5] U (0.5; +oo) and negative in (-0.5 ; 0.5) so my range is my positive interval?
So my range of my function z=(x+y)/(x-y) is (-oo; -y] U (y; +oo) is it right??
 
Last edited by a moderator: