Menu

Potential bug in Gamma.quantile

2013-08-15
2013-12-18
  • Roland Ewald

    Roland Ewald - 2013-08-15

    Sorry to post this here, but the bug tracker does not seem to allow others to create new tickets.

    There might be a problem in Gamma.quantile. It seems to work fine for most values, but not always.

    For example:

    Gamma.quantile(0.42, 617.0, 2.0, true, false)
    

    yields 1206.088240779075, which differs from qgamma in R (3.0.1):

    > qgamma(p=0.42,shape=617.0,scale=2.0,lower.tail=TRUE,log.p=FALSE)
    > 1223.334
    

    Best regards,
    Roland

     
  • Roby Joehanes

    Roby Joehanes - 2013-12-18

    I am sorry that I did not notice this error for quite some time. This turns out a bug in Normal.cumulative function. Fixed in version 0.0.8.

    I put the ticket here:
    https://sourceforge.net/p/jdistlib/tickets/6/

     
  • Roby Joehanes

    Roby Joehanes - 2013-12-18

    Now I figured out how to allow people to post tickets.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.