Is there a CPAN module for creating the CDF for a given list?
-
28-09-2019 - |
Question
It's not too difficult to implement, but it seems like Cumulative distribution function is a very basic Statistics::Descriptive
function, doesn't it?
It seems Statistics::Descriptive::Weighted
has it, but using Weighted
(with equal points to all data...) instead of the simpler Statistics::Descriptive
seems to have a large overhead.
Solution
There is Statistics::KernelEstimation. I have not used it but it looks OK.
Using Statistics::Descriptive::Weighted, you can omit the weights and each point will be assigned a unit weight by default.
OTHER TIPS
A CPAN search came up with this: PDL::GSL::CDF
. Its part of the PDL
, the Perl Data Language (though this CDF module makes use of the GNU Scientific Library).
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow