如何有效计算负二项式累积分布函数?

发布于 2024-09-29 15:06:47 字数 286 浏览 2 评论 0原文

这篇文章非常有帮助:

如何有效地计算二项式累积分布函数?

(标题 = 如何有效计算二项式累积分布函数?)

但是,我需要二项式累积分布函数。

有没有办法调整代码以获得累积分布函数?

This post is really helpful:

How can I efficiently calculate the binomial cumulative distribution function?

(Title = How can I efficiently calculate the binomial cumulative distribution function?)

However, I need the negative binomial cumulative distribution function.

Is there a way to tweek the code to get a negative cumulative distribution function?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

通知家属抬走 2024-10-06 15:06:47

您可以通过利用项满足的递推关系对 PMF 的项求和来计算 CDF。级数中的项有点复杂,但连续项的比例很简单。

You can compute the CDF by summing the terms of the PMF taking advantage of the recurrence relationship the terms satisfy. The terms in the series are a little complicated, but the ratio of consecutive terms is simple.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文