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

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

[Octave-bug-tracker] [bug #41547] wrong default mu in lognpdf


From: jose
Subject: [Octave-bug-tracker] [bug #41547] wrong default mu in lognpdf
Date: Tue, 11 Feb 2014 14:09:10 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Iron/29.0.1600.1 Chrome/29.0.1600.1 Safari/537.36

URL:
  <http://savannah.gnu.org/bugs/?41547>

                 Summary: wrong default mu in lognpdf 
                 Project: GNU Octave
            Submitted by: josombio
            Submitted on: Tue 11 Feb 2014 14:09:09 GMT
                Category: Documentation
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Documentation
                  Status: None
             Assigned to: None
         Originator Name: José
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.8.0
        Operating System: GNU/Linux

    _______________________________________________________

Details:

The function lognpdf can be called as 
lognpdf(X)
The documentation says that in this case the default mu and sigma are both 1,
whereas in reality the function uses mu=0 and sigma=1.

assert(lognpdf(1),lognpdf(1,1,1))
assert(lognpdf(1),lognpdf(1,0,1))





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?41547>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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