inverse_digamma: Inverse digamma function

View source: R/utility.R

inverse_digammaR Documentation

Inverse digamma function

Description

Calculates the inverse digamma function using Newton–Raphson. Works for y > -500. Uses Newton–Raphson with relative tolerance of eps^0.25.

Usage

inverse_digamma(y)

Arguments

y

Values to invert.

Details

The number of iterations are few, 1 for most input values, especially those that are large. The starting value is the lower bound found by Batir (2017).

References

Batir, N. (2017). Inequalities for the inverses of the polygamma functions. arXiv. http://arxiv.org/abs/1705.06547


univariateML documentation built on April 3, 2025, 11:09 p.m.