Serving the Quantitative Finance Community

 
User avatar
Bazman2
Topic Author
Posts: 1
Joined: January 28th, 2004, 2:22 pm

Monte Carlo with non normal distributions

January 28th, 2004, 2:29 pm

Hi all, I want to run a monte caro simulation to model the spread between two indices. Simple in theory simply get distributions fir the 2 indices and the correlation between them and then simulate. My problem is that the indices are not normal and cannot be accurately summerised with the 1st two moments. Does anybody know how to mode a normal distribution with non standard skewness and kurtosis in excel? Does anybody know how to fit other distributions in excel? I need to both calculate which distribution is the best fit and then sample from that distribution during the simulation. Does anybody know of any source code that can do this?
 
User avatar
MikeM
Posts: 0
Joined: March 12th, 2003, 2:23 pm

Monte Carlo with non normal distributions

January 28th, 2004, 7:05 pm

I hate to be picky, but it the distribution has a "non standard skewness and kurtosis" then it is probably not normal. ...Anyway, if you have the inverse cumulative distribution function for the distribution, you can use that in Excel, using the RAND() function as an input. ...I know you don't want the normal, but just for the sake of example, if you wanted some random draws from the standard normal distribution then you could just use:=NORMSINV(RAND())If the CDF of your distribution isn't invertable, there may be a good approximation to the inverse that you can use.As for fitting the distribution, you should probably look to another application. You could do this in Excel, but it wouldn't be easy.
 
User avatar
capcapo
Posts: 0
Joined: July 14th, 2002, 3:00 am

Monte Carlo with non normal distributions

January 30th, 2004, 10:48 am

Why don't you use Historical Data in your MC generation?
 
User avatar
Arnheim
Posts: 1
Joined: July 11th, 2003, 10:36 am

Monte Carlo with non normal distributions

January 30th, 2004, 11:04 am

try gram-charlier/edgeworth expansion (or more generally cornish-fisher) to match moments.this alters just higher moments of normal dist.now sample normal dist and adjust density (or alternatively via dist. function, ie via uniform space)
 
User avatar
asd
Posts: 17
Joined: August 15th, 2002, 9:50 pm

Monte Carlo with non normal distributions

January 30th, 2004, 7:03 pm

You can also try using elliptical distribution functions (like hist or histogram function in MATLAB. Its functionality is also available in Excel as an add-in).Plot a cdf, and do an inv as suggested by MikeM. Hope it helps
Last edited by asd on January 29th, 2004, 11:00 pm, edited 1 time in total.
 
User avatar
Surfer
Posts: 0
Joined: April 8th, 2002, 4:42 pm

Monte Carlo with non normal distributions

January 31st, 2004, 12:52 pm

Y not just take the actual dist of returns and bootstrap (random draws with replacement) them. You'll get a new dist that has the higher moments in it, just not in the identical order as the original.
 
User avatar
JabairuStork
Posts: 0
Joined: February 27th, 2002, 12:45 pm

Monte Carlo with non normal distributions

February 3rd, 2004, 1:35 am

I would not implement gram-charlier or parzen's or anything like that in excel, but maybe that's just my weakness as a vb programmer. However, if you just want to match a finite number of moments, you can do a mixture of normals pretty easily in excel with just spreadsheet functions and some patience.