[Tutor] Cumulative distribution function

Laura Creighton lac at openend.se
Thu Oct 1 12:26:26 CEST 2015


In a message of Thu, 01 Oct 2015 10:57:18 +0200, Peter Otten writes:
>$ python cumulative.py 
>d1 = 0.106066017178
>d2 = -0.0353553390593
>call = 2.9087784079
>
>Not exactly 2.9081, but closer :)

And sort of in the 'this is a float not a decimal' range I consider
usual for such errors,  not the huge difference you reported.

>Assuming 2.9088 is the correct value, but for some reason you cannot use 
>scipy the problem is with your cumdist() function.

I think we should work on getting you scipy.  I think you are going to
need plenty of things from there ...

Laura


More information about the Tutor mailing list