Is there a CPAN module for creating the CDF for a given list?
It's not too difficult to implement, but it seems like Cumulative distri开发者_运维知识库bution 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.
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.
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).
精彩评论