invgamma | R Documentation |
Density, distribution function, quantile function, and random draws from the inverse gamma distribution.
dinvgamma(x, shape, rate, logscale = FALSE)
pinvgamma(x, shape, rate, lower.tail = TRUE, logscale = FALSE)
qinvgamma(p, shape, rate, lower.tail = TRUE, logscale = FALSE)
rinvgamma(n, shape, rate)
x |
A vector of deviates where the density or distribution function is to be evaluated. |
p |
A vector of probabilities representing CDF values (if
|
n |
The desired number of draws from the inverse gamma distribution. |
shape |
The shape parameter. |
rate |
The 'rate' parameter. NOTE: The term 'rate' is used to
match the corresponding parameter in |
logscale |
Logical. If |
lower.tail |
Logical. If TRUE then cumulative probabilities are measured from zero, as in a CDF. If FALSE then cumulative are measured from infinity, as in a survivor function. |
rinvgamma
returns draws from the distribution.
dinvgamma
returns the density function.
pinvgamma
returns the cumulative distribution function
(or survivor function, if lower.tail == FALSE
).
qinvgamma
returns quantiles from the distribution.
qinvgamma
and pinvgamma
are inverse functions.
Steven L. Scott steve.the.bayesian@gmail.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.