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

 
 

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

Submitted by:  Tony Richardson <amrichardson>
Submitted on:  Wed 15 Jan 2020 04:54:51 PM UTC  
 
Category:  Octave Forge Package Severity:  2 - Minor
Priority:  5 - Normal Item Group:  Documentation
Status:  Ready For Test Assigned to:  John Donoghue <lostbard>
Originator Name:  Anthony Richardson Open/Closed:  Open
Release:  dev Operating System:  Any

Add a New Comment (Rich Markup)
   

You are not logged in

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

 

Tue 03 Mar 2020 09:07:28 PM UTC, comment #1: 
John Donoghue <lostbard>
Project MemberIn charge of this item.
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 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
  •  

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

    Only project members can vote.

     

     

     

    Follow 8 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    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 richardson.tony@gmail.com

    Back to the top


    Powered by Savane 3.5