[Questioning] Allows an inverse gamma distribution to be. tuned so that less than 0.01 of its probability mass function falls outside of the specified bounds. This is required when using an inverse gamma prior, for example for a Gaussian process. As no inverse gamma priors are currently in use and this function has some stability issues it may be deprecated at a later date.

tune_inv_gamma(lower = 2, upper = 21)



Numeric, defaults to 2. Lower truncation bound.


Numeric, defaults to 21. Upper truncation bound.


A list of alpha and beta values that describe a inverse gamma distribution that achieves the target truncation.


tune_inv_gamma(lower = 2, upper = 21)
#> $alpha
#> [1] 4.5
#> $beta
#> [1] 21.5