[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Understanding empirical_pdf
From: |
Jose |
Subject: |
Understanding empirical_pdf |
Date: |
Mon, 27 Oct 2014 14:34:34 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 |
Hello.
In octave 4.8.1, while
->
empirical_cdf ([0:0.1:1], rand(1e3,1))
<-
returns values of a cdf,
->
empirical_pdf ([0:0.1:1], rand(1e3,1))
<-
returns all zero. This behaviour is somehow counter-intuitive to me. I
would like to understand if this is intended and why.
Thanks in advance.
J.
- Understanding empirical_pdf,
Jose <=