Re: [Tutor] How to calculate the cumulative normal distribution

2015-10-02 Thread Oscar Benjamin
On Wed, 30 Sep 2015 10:14 Laura Creighton wrote: In a message of Wed, 30 Sep 2015 09:12:20 +0300, Michel Guirguis writes: >Good afternoon, > >How to calculate the cumulative normal distribution function CND in order to use this figure to calculate the call option based on the Black and Scholes mo

Re: [Tutor] How to calculate the cumulative normal distribution

2015-09-30 Thread Steven D'Aprano
On Wed, Sep 30, 2015 at 09:12:20AM +0300, Michel Guirguis wrote: > Good afternoon, > > How to calculate the cumulative normal distribution function CND in > order to use this figure to calculate the call option based on the > Black and Scholes model. > > >>> from math import* > >>> def CND(X):

Re: [Tutor] How to calculate the cumulative normal distribution

2015-09-30 Thread Steven D'Aprano
On Wed, Sep 30, 2015 at 09:12:20AM +0300, Michel Guirguis wrote: > Good afternoon, > > How to calculate the cumulative normal distribution function CND in > order to use this figure to calculate the call option based on the > Black and Scholes model. > > >>> from math import* > >>> def CND(X):

Re: [Tutor] How to calculate the cumulative normal distribution

2015-09-30 Thread Steven D'Aprano
On Wed, Sep 30, 2015 at 11:13:04AM +0200, Laura Creighton wrote: > In a message of Wed, 30 Sep 2015 09:12:20 +0300, Michel Guirguis writes: > >Good afternoon, > > > >How to calculate the cumulative normal distribution function CND in > >order to use this figure to calculate the call option based o

Re: [Tutor] How to calculate the cumulative normal distribution

2015-09-30 Thread Laura Creighton
In a message of Wed, 30 Sep 2015 09:12:20 +0300, Michel Guirguis writes: >Good afternoon, > >How to calculate the cumulative normal distribution function CND in order to >use this figure to calculate the call option based on the Black and Scholes >model. The easy way is to install scipy. Then y

[Tutor] How to calculate the cumulative normal distribution

2015-09-30 Thread Michel Guirguis
Good afternoon, How to calculate the cumulative normal distribution function CND in order to use this figure to calculate the call option based on the Black and Scholes model. >>> from math import* >>> def CND(X): m = abs(X) [a1,a2,a3,a4,a5]=(0.31938153,-0.356563782,1.781477937