bugGNU Octave - Bugs: bug #41547, wrong default mu in lognpdf

 
 

bug #41547: wrong default mu in lognpdf

Submitter:  jose <josombio>
Submitted:  Tue 11 Feb 2014 02:09:09 PM UTC
   
 
Category:  Documentation Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Documentation
Status:  Fixed Assigned to:  None
Originator Name:  José Open/Closed:  * Closed
Release:  * 3.8.0 Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 11 Feb 2014 10:31:59 PM UTC, comment #1: 

Thanks for catching this typo.  I fixed it here (http://hg.savannah.gnu.org/hgweb/octave/rev/8858d0ccfc93).  It will be a part of the 3.8.1 bug fix release.

Rik <rik5>
Group administrator
Tue 11 Feb 2014 02:09:09 PM UTC, original submission:  

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))

jose <josombio>

 

(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 rik5 (Posted a comment)
  • -email is unavailable- added by josombio (Submitted the item)
  •  

    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 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-02-11 rik5 StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code