[英]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 distribution function is a very basic Statistics::Descriptive
function, doesn't it? 实现起来不是很困难,但是累积分布函数似乎是一个非常基本的Statistics::Descriptive
函数,不是吗?
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. 似乎Statistics::Descriptive::Weighted
拥有它,但是使用Weighted
(所有数据的点均相等...)而不是更简单的Statistics::Descriptive
似乎有很大的开销。
There is Statistics::KernelEstimation . 有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. 使用Statistics :: Descriptive :: Weighted ,您可以忽略权重,默认情况下,将为每个点分配一个单位权重。
A CPAN search came up with this: PDL::GSL::CDF
. CPAN搜索得出了这样的内容: PDL::GSL::CDF
。 Its part of the PDL
, the Perl Data Language (though this CDF module makes use of the GNU Scientific Library ). 它是PDL
一部分, Perl数据语言 (尽管此CDF模块使用了GNU科学库 )。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.