pweibull 逆 R

pweibull inverse R

假设 x = 1000shape=2scale=1500。 然后 y=pweibull(x=1000, shape = 2, scale = 1500) 产生 y=0.3588196.

我需要找到 x,给定 (y, shape, scale)

然而,pinvweibullqinvweibulllevinvweibull 等的 none 给了我 x

如何找到我有 y=pweibull(x=1000, shape = 2, scale = 1500)x

您正在寻找 qweibull,它是逆 cdf:

qweibull(0.3588196, 2, 1500)
[1] 1000

使用 ?qweibull 检查文档。您将看到密度、cdf、逆 cdf 和随机变量的四个函数 d*p*q*r*。这对于 R 中的分布来说是非常标准的(参见 ?dnorm?dbeta)。