help-octave
[Top][All Lists]
Advanced

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

Bug in empirical_pdf?


From: Luke15153
Subject: Bug in empirical_pdf?
Date: Tue, 18 Jun 2013 09:26:53 -0700 (PDT)

Hello,

I tried to to get the probability distribution of measured data using the
empirical_pdf function.
But I get curious result.

I made some tests with some data:

empirical_pdf([1 2 3], [1 2 2 3]) returns 

0.25 0.25 025

but I would expect 0.25 *0.5* 0.25 as the 2 has a probability of 0.5.

Is this a bug or a mistake of my own?

Thanks for your help,

Luke



--
View this message in context: 
http://octave.1599824.n4.nabble.com/Bug-in-empirical-pdf-tp4654443.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

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