bound2x function

Transform a number bounded between a lower bound and upper bound to x by:

Transform a number bounded between a lower bound and upper bound to x by:

bound2x(y, lb, ub)

Arguments

  • y: Number to be transformed (scalar)
  • lb: lower bound (scalar)
  • ub: upper bound (scalar)

References

This function is based on the "bound2x" function by Le and Singleton (2018).

"A Small Package of Matlab Routines for the Estimation of Some Term Structure Models."

(Euro Area Business Cycle Network Training School - Term Structure Modelling). Available at: https://cepr.org/40029

  • Maintainer: Rubens Moura
  • License: GPL-2 | GPL-3
  • Last published: 2025-03-24