Serving the Quantitative Finance Community

 
User avatar
robbie
Topic Author
Posts: 1
Joined: November 1st, 2002, 1:16 pm

corr(X,log(1+c exp(X)))

November 20th, 2010, 9:00 pm

Hi,I am interested in computing the correlation between X and log(1 + c exp(X)) for X being a N(a,b^2) random variable. c is a constant and > 1 (but not very much larger than 1).I thought this would be reasonably simple by expanding the log bit around x=a but I only seem to end up with something like corr(X,const*X)=1.Through numerical experiment with c=1, a=0, b=1 I get a correlation of about 0.955. Increasing c to 1.1 gives a correlation of 0.958.Any ideas??Many thanks!
 
User avatar
Alan
Posts: 3050
Joined: December 19th, 2001, 4:01 am
Location: California
Contact:

corr(X,log(1+c exp(X)))

November 22nd, 2010, 1:53 pm

rho = E[(X - a) (Y(X) - ybar)]/(b sig(Y)) = Num/Den = bunch of 1D integrals, immediate in any CAS. (mathematica ,matlab, etc) Num = int (x-a) (Y(x) - ybar) e^{-(x-a)^2/(2 b^2)}/sqrt{2 pi), etc
 
User avatar
robbie
Topic Author
Posts: 1
Joined: November 1st, 2002, 1:16 pm

corr(X,log(1+c exp(X)))

November 23rd, 2010, 11:05 am

Thanks Alan!I was hoping to find a reasonable analytical approximation, but in principle I think your method would work just as fine in practise (as 1D integrals are quick and easy).Great!