Using the same parametrization as Stan. More info here.
dinvgamma_stanlike(x, alpha, beta, log = FALSE)qinvgamma_stanlike(p, alpha, beta)
density/quantile value
point where to compute the density
positive real number
positive real number
is log-scale used?
quantile (must be between 0 and 1)
Other functions related to the inverse-gamma distribution:
plot_invgamma(),
priors