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

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

[Octave-bug-tracker] [bug #39280] Wrong results of empirical_pdf


From: Michael Godfrey
Subject: [Octave-bug-tracker] [bug #39280] Wrong results of empirical_pdf
Date: Wed, 19 Jun 2013 17:22:54 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:21.0) Gecko/20100101 Firefox/21.0

Follow-up Comment #1, bug #39280 (project octave):

empirical_pdf is given as:

function pdf = empirical_pdf (x, data)

  if (nargin != 2)
    print_usage ();
  endif

  if (! isvector (data))
    error ("empirical_pdf: DATA must be a vector");
  endif

  pdf = discrete_pdf (x, data, ones (size (data)));

endfunction

It is appears that the documentation is incorrect.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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