qnormweibull | R Documentation |
Density of a Gaussian Variable Plus an Weibull Variable
qnormweibull(p, scale, shape, rho)
## Not run:
n <- 5e6
c(qnormweibull(0.5, scale = 1/2, shape = 1, rho = 1.5),
quantile(rnorm(n) + 1.5 * rweibull(n, scale = 1/2, shape = 1), 0.5))
c(qnormweibull(0.95, scale = 10, shape = 1, rho = 1.5),
quantile(rnorm(n) + 1.5 * rweibull(n, scale = 10, shape = 1), 0.95))
c(qnormweibull(0.5, scale = 1/2, shape = 2, rho = 1.5),
quantile(rnorm(n) + 1.5 * rweibull(n, scale = 1/2, shape = 2), 0.5))
c(qnormweibull(0.95, scale = 10, shape = 2, rho = 1.5),
quantile(rnorm(n) + 1.5 * rweibull(n, scale = 10, shape = 2), 0.95))
c(qnormweibull(0.5, scale = 1/2, shape = 1, rho = -1.5),
quantile(rnorm(n) - 1.5 * rweibull(n, scale = 1/2, shape = 1), 0.5))
c(qnormweibull(0.95, scale = 10, shape = 1, rho = -1.5),
quantile(rnorm(n) - 1.5 * rweibull(n, scale = 10, shape = 1), 0.95))
c(qnormweibull(0.5, scale = 1/2, shape = 2, rho = -1.5),
quantile(rnorm(n) - 1.5 * rweibull(n, scale = 1/2, shape = 2), 0.5))
c(qnormweibull(0.95, scale = 10, shape = 2, rho = -1.5),
quantile(rnorm(n) - 1.5 * rweibull(n, scale = 10, shape = 2), 0.95))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.