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

 
 

bug #41547: wrong default mu in lognpdf

Submitted by:  jose <josombio>
Submitted on:  Tue 11 Feb 2014 02:09:09 PM UTC  
 
Category: DocumentationSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Documentation
Status: FixedAssigned to: None
Originator Name: JoséOpen/Closed: Closed
Release: 3.8.0Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

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>
Project 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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by josombio (Submitted the item)
  •  

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

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 11 Feb 2014 10:31:59 PM UTCrik5StatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1