R:计算遵循 Gumbel 分布的结果的概率

R: calculating the probability of an outcome following Gumbel distribution

我有一个形式为

的等式

P[x>y]

其中 x, y 服从 Gumbel(类型 1)分布。我得到了 x, y 并且需要计算概率。搜索后发现这两个函数:

  1. pgumbel 在包 gumbel 中,但这是针对参数为 alpha
  2. 的 Gumbel Coupla
  3. pgumbelII 在包 VGAM 中,但那是针对 Gumbel II

如有任何指示,我们将不胜感激。

(我是新手,刚开始使用 R。我无法在网上找到答案 - 但如果这是一个重复的问题,请随时引导我找到合适的解决方案)

Extreme Value Distributions 包中的函数如何?

library(evd)

q <- 1
pgumbel(q)

当然,如果你没有evd,运行

install.packages("evd")

Windows 10 x64,Microsoft R Open r3.5.3