pnormweibull | R Documentation |
Cumulative Distribution Function of a Gaussian Variable Plus an Weibull Variable
pnormweibull(q, scale, shape, rho)
## Not run:
n <- 1e6
pnormweibull(0.1, scale = 1/2, shape = 1, rho = 1.5)
pnormweibull(0.8, scale = 1/2, shape = 1, rho = 1.5)
mean(rnorm(n) + 1.5 * rweibull(n, scale = 1/2, shape = 1) <= 0.1)
mean(rnorm(n) + 1.5 * rweibull(n, scale = 1/2, shape = 1) <= 0.8)
pnormweibull(0.1, scale = 1/2, shape = 1, rho = -1.5)
pnormweibull(0.8, scale = 1/2, shape = 1, rho = -1.5)
mean(rnorm(n) - 1.5 * rweibull(n, scale = 1/2, shape = 1) <= 0.1)
mean(rnorm(n) - 1.5 * rweibull(n, scale = 1/2, shape = 1) <= 0.8)
pnormweibull(0.1, scale = 1/2, shape = 2, rho = -1.5)
pnormweibull(0.8, scale = 1/2, shape = 2, rho = -1.5)
mean(rnorm(n) - 1.5 * rweibull(n, scale = 1/2, shape = 2) <= 0.1)
mean(rnorm(n) - 1.5 * rweibull(n, scale = 1/2, shape = 2) <= 0.8)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.