Is there a CPAN module for creating the CDF for a given list?
-
28-09-2019 - |
Pergunta
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.
Solução
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.
Outras dicas
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).
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow