arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1603.06687stat.CO
收藏

statmod:逆高斯分布的概率计算

statmod: Probability Calculations for the Inverse Gaussian Distribution

Göknur Giner, Gordon K. Smyth

摘要:

逆高斯分布(IGD)是一种众所周知的且经常使用的概率分布,对于该分布还没有完全可靠的数值算法。我们在本文中的目标是为R编程环境开发该发行版的软件。我们开发了快速、可靠的基本概率函数(dinvgauss、pinvgauss、qinvgauss和rinvgauss),适用于所有可能的参数值,并达到接近全机精度。最具挑战性的任务是计算给定累积概率的分位数,我们开发了一个简单但优雅的数学解决方案来解决这个问题。我们发现,牛顿的方法找到IGD的分位数总是单调收敛时,从模式的分布。简单的泰勒级数展开用于提高精度的对数尺度。IGD概率函数提供了与标准R统计包中提供的概率函数相同的选项并遵循相同的约定。IGD函数是CRAN存储库中statmod包的一部分。

英文摘要:

The inverse Gaussian distribution (IGD) is a well known and often used probability distribution for which fully reliable numerical algorithms have not been available. Our aim in this article is to develop software for this distribution for the R programming environment. We develop fast, reliable basic probability functions (dinvgauss, pinvgauss, qinvgauss and rinvgauss) that work for all possible parameter values and which achieve close to full machine accuracy. The most challenging task is to compute quantiles for given cumulative probabilities and we develop a simple but elegant mathematical solution to this problem. We show that Newton's method for finding the quantiles of a IGD always converges monotonically when started from the mode of the distribution. Simple Taylor series expansions are used to improve accuracy on the log-scale. The IGD probability functions provide the same options and obey the same conventions as do probability functions provided in the standard R stats package. The IGD functions are part of the statmod package available from the CRAN repository.

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

↑