octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #57606] geometric distribution documentation


From: Tony Richardson
Subject: [Octave-bug-tracker] [bug #57606] geometric distribution documentation
Date: Wed, 15 Jan 2020 11:54:53 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36

URL:
  <https://savannah.gnu.org/bugs/?57606>

                 Summary: geometric distribution  documentation
                 Project: GNU Octave
            Submitted by: amrichardson
            Submitted on: Wed 15 Jan 2020 04:54:51 PM UTC
                Category: Octave Forge Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Documentation
                  Status: None
             Assigned to: None
         Originator Name: Anthony Richardson
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 5.1.0
        Operating System: Any

    _______________________________________________________

Details:

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.





    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?57606>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]