Page 1 of 1
interview question
Posted: August 29th, 2008, 2:47 am
by dreamonstreet
x1 and x2 are i.i.d. random variables on [0,\infinity) with pdf. f(x)=sqrt(2/pi)*e^(-x^2/2). The question is to findE[max{x1,x2}/min{x1,x2}], i.e., the expected ratio between the big number and the small number.
interview question
Posted: August 29th, 2008, 9:50 am
by quantyst
Under Modification! See My Next Posts.
interview question
Posted: August 29th, 2008, 9:54 am
by quantyst
QuoteOriginally posted by: dreamonstreetx1 and x2 are i.i.d. random variables on [0,\infinity) with pdf. f(x)=sqrt(2/pi)*e^(-x^2/2). The question is to findE[max{x1,x2}/min{x1,x2}], i.e., the expected ratio between the big number and the small number.Maybe it would be more interesting to compute E[min{x1,x2}/max{x1,x2}].
interview question
Posted: September 2nd, 2008, 12:21 pm
by amit7ul
or equivalently E ( max ( x1/x2, x2/x1 ) ) and x1/x2 for x1,x2~N is a well known distribution is it.. would that help
interview question
Posted: September 2nd, 2008, 1:13 pm
by NicolasQuant
+Infinity?
interview question
Posted: September 2nd, 2008, 4:52 pm
by quantyst
Here's a commando approach:We know max{x1,x2}/min{x1,x2} >= (x2 / x1); hence E[max{x1,x2}/min{x1,x2}] >= E[x2 / x1]=Infinity.
interview question
Posted: September 2nd, 2008, 9:32 pm
by NicolasQuant
You were quicker than me quantyst.I had to write down the integral just to figure out it was... indefinite