Is there a CPAN module for creating the CDF for a given list?
-
28-09-2019 - |
문제
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.
해결책
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).
제휴하지 않습니다 StackOverflow