Serving the Quantitative Finance Community

 
User avatar
dreamonstreet
Topic Author
Posts: 0
Joined: March 30th, 2004, 1:44 pm

interview question

August 29th, 2008, 2:47 am

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.
 
User avatar
quantyst
Posts: 0
Joined: June 4th, 2008, 5:08 am

interview question

August 29th, 2008, 9:50 am

Under Modification! See My Next Posts.
Last edited by quantyst on September 1st, 2008, 10:00 pm, edited 1 time in total.
 
User avatar
quantyst
Posts: 0
Joined: June 4th, 2008, 5:08 am

interview question

August 29th, 2008, 9:54 am

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}].
 
User avatar
amit7ul
Posts: 0
Joined: December 7th, 2004, 8:36 am

interview question

September 2nd, 2008, 12:21 pm

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
 
User avatar
NicolasQuant
Posts: 0
Joined: August 28th, 2008, 3:59 pm

interview question

September 2nd, 2008, 1:13 pm

+Infinity?
 
User avatar
quantyst
Posts: 0
Joined: June 4th, 2008, 5:08 am

interview question

September 2nd, 2008, 4:52 pm

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.
 
User avatar
NicolasQuant
Posts: 0
Joined: August 28th, 2008, 3:59 pm

interview question

September 2nd, 2008, 9:32 pm

You were quicker than me quantyst.I had to write down the integral just to figure out it was... indefinite