bugGNU Octave - Bugs: bug #57606, [octave forge] (statistics)...

 
 

bug #57606: [octave forge] (statistics) geometric distribution documentation

Submitter:  Tony Richardson <amrichardson>
Submitted:  Wed 15 Jan 2020 04:54:51 PM UTC
   
 
Category:  Octave Package Severity:  2 - Minor
Priority:  5 - Normal Item Group:  Documentation
Status:  Fixed Assigned to:  lostbard
Originator Name:  Anthony Richardson Open/Closed:  * Closed
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 27 Jul 2020 07:35:16 PM UTC, comment #3: 

closing as fixed

John Donoghue <lostbard>
Group Member
Mon 27 Jul 2020 01:04:43 PM UTC, comment #2: 

OK to close this report as fixed?

John W. Eaton <jwe>
Group administrator
Tue 03 Mar 2020 09:07:28 PM UTC, comment #1: 
John Donoghue <lostbard>
Group Member
Wed 15 Jan 2020 04:54:51 PM UTC, original submission:  

The help documentation for the geo* statistical functions says that the random variable X is the total number of trials until the the first success.  The actual functions returns results that assume that X is the number of failures until the first success (there is on off by one difference).  The documentation needs to be changed to be consistent with the implementation.

You will find both definitions in the literature.  The current Octave implementation seems to be consistent with the MATLAB implementation (based on my looking at the MATLAB documentation).

For geopdf the help documentation says:

The geometric distribution models the number of failures (X-1) of a Bernoulli trial with probability P before the first success (X).

I believe this should be changed to:

The geometric distribution models the number of failures (X) of a Bernoulli trial with probability P before the first success.

Tony Richardson <amrichardson>

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by lostbard (Posted a comment)
  • -email is unavailable- added by lostbard
  • -email is unavailable- added by amrichardson (Submitted the item)
  • -email is unavailable- added by amrichardson
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 10 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-07-27 lostbard StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2020-03-03 lostbard StatusNone Ready For Test
        Assigned toNone lostbard
    2020-01-15 lostbard Carbon-Copy- Added lostbard
    2020-01-15 mtmiller Summary[octave forge] (geometry) geometric distribution documentation [octave forge] (statistics) geometric distribution documentation
    2020-01-15 mtmiller Severity3 - Normal 2 - Minor
        Release5.1.0 dev
        Summarygeometric distribution documentation [octave forge] (geometry) geometric distribution documentation
    2020-01-15 amrichardson Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code