Serving the Quantitative Finance Community

 
User avatar
ShKalen
Topic Author
Posts: 0
Joined: December 15th, 2010, 7:19 pm

Java cumulative standard normal distribution

December 20th, 2010, 11:07 am

Hello,I need to compute the Phi = cumulative standard normal distribution in Java. I need for Black-Scholes.Somebody know: what is the forward zero curve? (for rating category)
Last edited by ShKalen on December 19th, 2010, 11:00 pm, edited 1 time in total.
 
User avatar
acastaldo
Posts: 14
Joined: October 11th, 2002, 11:24 pm

Java cumulative standard normal distribution

December 21st, 2010, 2:41 am

The so called Hart method works well for the cumulative normal distribution. I do not know of a version in Java but it should not be difficult to take the VBA version of Cumnorm by Graeme West (for example) and translate it to the language of your choice. Another well known method is Abramovitz and Stegun, also widely implemented, and if I recall correctly printed in the Hull Derivatives book.When asking two questions please post them separately.
 
User avatar
ShKalen
Topic Author
Posts: 0
Joined: December 15th, 2010, 7:19 pm

Java cumulative standard normal distribution

December 21st, 2010, 6:50 am

Thank you a lot!
 
User avatar
hli7
Posts: 0
Joined: February 7th, 2005, 8:25 pm

Java cumulative standard normal distribution

December 22nd, 2010, 6:50 am

Here you goSuanShu Java statistics
Last edited by hli7 on May 31st, 2011, 10:00 pm, edited 1 time in total.