Page 1 of 1

MatLab code of bivariate and trivariate normal ???

Posted: July 8th, 2010, 12:57 pm
by LeonAtWilmott
Hi everyone,Is there anyone here having the "MatLab code" of the cumulative distribution function of bivariate and trivarite normal distribution? I know there are codes in ESPEN's book. However those are in VBA. I also realise Mathwork has the codes in the Statistical tool box. But my university does not purchase its license. So if anyone of you has the MatLab code (or the link) and is willing to share, I will be super grateful for your kindness.If the code is based on Genz's 2004 papaer, I will be even more touched by your mercy. Thanks in advance.

MatLab code of bivariate and trivariate normal ???

Posted: July 8th, 2010, 1:11 pm
by Hansi
VBA to Matlab translation should be quite trivial also might want to check mathworks: http://www.mathworks.com/matlabcentral/fileexchange/

MatLab code of bivariate and trivariate normal ???

Posted: July 8th, 2010, 1:54 pm
by LeonAtWilmott
Dear Hansi,I know it is trivial. But the annoying bit is there are two 10X3 matrices both including 14-decimal number in all components, which are needed to be inputted manually and correctly. But, if there is no one willing to share, I guess I have no choice but doing it with my non-nimble fingers. Anyway, thanks.

MatLab code of bivariate and trivariate normal ???

Posted: July 8th, 2010, 2:17 pm
by Hansi
Doesn't Espen's book come with a CD with the code that you can just copy over?

MatLab code of bivariate and trivariate normal ???

Posted: July 8th, 2010, 2:38 pm
by LeonAtWilmott
Ya, good idea, I am such an idiot. Thanks again.

MatLab code of bivariate and trivariate normal ???

Posted: July 8th, 2010, 3:05 pm
by quantmeh

MatLab code of bivariate and trivariate normal ???

Posted: November 30th, 2010, 2:38 pm
by rmeenaks
See Genz's implementation in Matlab at his website: http://www.math.wsu.edu/faculty/genz/so ... Cheers,Ram