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: anonymous
Subject: [Octave-bug-tracker] [bug #39280] Wrong results of empirical_pdf
Date: Wed, 19 Jun 2013 06:35:22 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.110 Safari/537.36

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

                 Summary: Wrong results of empirical_pdf
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Mi 19 Jun 2013 06:35:21 UTC
                Category: Octave Forge Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: Lutz Kelch
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.6.4
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

empirical_pdf should give the probability distribution of empirical data.

A call to empirical_pdf([1 2 3], [1 2 2 3]) gives (0.25 0.25 0.25), but in my
opinion it should by (0.25, 0.5 0.25). 

The value for '2' should be 0.5 as half of the given data are '2'.

Regards, 

Lutz




    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Nachricht gesendet von/durch Savannah
  http://savannah.gnu.org/




reply via email to

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