qmixinvgamma | R Documentation |
Quantiles of a mixture of invserse gamma distributions
qmixinvgamma(p, w, shape, rate)
p |
vector of probabilities |
w |
weights which sum up to one |
shape |
shape parameter |
rate |
rate parameter |
n <- c(800000, 400000) x <- c(rgamma(n[1], shape = 3, rate = 2), rgamma(n[2], shape = 5, rate = 4)) quantile(1/x, probs = 0.75) qmixinvgamma(p = 0.75, w = n/sum(n), shape = c(3, 5), rate = c(2,4))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.