Menu

#3177 cdf_binomial raises error for large x and n

None
closed
nobody
None
5
2016-06-18
2016-06-14
Olibuntu
No
load (distrib)$
cdf_binomial(1799,5000,0.35);

raises the error

expt: undefined: 0 to a negative exponent.
#0: cdf_binomial(x=1799,n=5000,p=0.35)(distrib.mac line 1453)
 -- an error. To debug this try: debugmode(true);

observed in wxMaxima 14.12.1. No problem for small x.

Discussion

  • Raymond Toy

    Raymond Toy - 2016-06-18

    What version of maxima? (Use build_info() to find out).

    I don't have this problem with tip of tree version with cmucl. The result is about 0.92867.

     
  • Olibuntu

    Olibuntu - 2016-06-18

    build_info(version="5.29.1",timestamp="2013-01-23 09:18:19",host="i686-pc-linux-gnu"
    ,lisp_name="SBCL",lisp_version="1.0.55.0.debian")

    Then the problem obviously has been fixed in the meantime.

     
  • Raymond Toy

    Raymond Toy - 2016-06-18

    Ah, it looks like it was fixed in bug #2999.

     
  • Raymond Toy

    Raymond Toy - 2016-06-18
    • status: open --> closed
     
  • Raymond Toy

    Raymond Toy - 2016-06-18

    Closed as fixed.

     

Log in to post a comment.

MongoDB Logo MongoDB