bugGNU Octave - Bugs: bug #34362, binopdf.m: Implement high accuracy...


bug #34362: binopdf.m: Implement high accuracy Holder algorithm for n >= 10

Submitted by:  Rik <rik5>
Submitted on:  Fri 23 Sep 2011 04:42:28 AM UTC  
Category: LibrariesSeverity: 3 - Normal
Priority: 3 - LowItem Group: Feature Request
Status: PostponedAssigned to: None
Originator Name: Open/Closed: Open
Release: devOperating System: GNU/Linux

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Fri 23 Sep 2011 06:48:28 AM UTC, comment #1:

I just compiled a C version of the Loader algorithm
as used in R. Simple tests get the right answers,
but it needs quite a bit of clean up.

Is it true that a C-coded version will be OK?
The code contains the following copyright:

  • This program is free software; you can redistribute it and/or modify
  • it under the terms of the GNU General Public License as published by
  • the Free Software Foundation; either version 2 of the License, or
  • (at your option) any later version.

It is an updated version of the Catherine Loader code from

Does anyone want to take this over?

I could do a bit more clean up and then post it.


Michael Godfrey <godfrey>
Project Member
Fri 23 Sep 2011 04:42:28 AM UTC, original submission:

The implementation of binopdf using gammaln is not particularly accurate when the number of tests, n, is large. The Holder algorithm, see the attached paper, describes a more accurate algorithm which is already widely in use by other statistics packages such as R.

This report is being filed to make a record of the need for a better algorithm. Anyone with Octave script file experience is welcome to try implementing the algorithm.

Rik <rik5>
Project Administrator


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

Attached Files
file #24016:  loader2000Fast.pdf added by rik5 (141KiB - application/pdf)


Depends on the following items: None found

   bug dependencies.


Carbon-Copy List
  • -unavailable- added by mtmiller (Updated the item)
  • -unavailable- added by godfrey (Posted a comment)
  • -unavailable- added by rik5 (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 18 Nov 2016 07:57:30 PM UTCmtmillerPriority5 - Normal=>3 - Low
    Tue 13 Mar 2012 11:22:33 PM UTCrik5Dependencies-=>bugs #35827 is dependent
    Fri 23 Sep 2011 04:42:28 AM UTCrik5Attached File-=>Added loader2000Fast.pdf, #24016

    Back to the top

    Powered by Savane 3.1-cleanup1