arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2009.02993cs.SEcs.MSstat.APstat.CO
收藏

distr6:R语言中面向对象的概率分布接口R6

distr6: R6 Object-Oriented Probability Distributions Interface in R

Raphael Sonabend, Franz Kiraly

摘要:

distr 6是一个面向对象(OO)的概率分布接口,它利用了R6的可扩展性和可伸缩性以及Rcpp的速度和效率。目前,该软件包采用了50多种概率分布,包括密度、分布和生成函数等“核心”方法,以及危险和分布函数反导数等更“奇异”的方法。除了简单分布,dist6还支持截断、混合和乘积分布等组合。本文介绍了该软件包的核心功能,并演示了关键用例的示例。此外,本文提供了一个关键的审查面向对象的编程范式在R和描述了一些新的实现设计模式和核心面向对象的功能所引入的包支持dist6组件。

英文摘要:

distr6 is an object-oriented (OO) probability distributions interface leveraging the extensibility and scalability of R6, and the speed and efficiency of Rcpp. Over 50 probability distributions are currently implemented in the package with `core' methods including density, distribution, and generating functions, and more `exotic' ones including hazards and distribution function anti-derivatives. In addition to simple distributions, distr6 supports compositions such as truncation, mixtures, and product distributions. This paper presents the core functionality of the package and demonstrates examples for key use-cases. In addition this paper provides a critical review of the object-oriented programming paradigms in R and describes some novel implementations for design patterns and core object-oriented features introduced by the package for supporting distr6 components.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑