x2bound: Transform x to a number bounded btw lb and ub by:

View source: R/MinorOptimizationFunctions.R

x2boundR Documentation

Transform x to a number bounded btw lb and ub by:

Description

Transform x to a number bounded btw lb and ub by:

Usage

x2bound(x, lb, ub, nargout)

Arguments

x

number to be transformed (scalar)

lb

lower bound (scalar)

ub

upper bound (scalar)

nargout

"1" or "2" (scalar)

References

This function is based on the "x2bound" 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


MultiATSM documentation built on April 4, 2025, 1:40 a.m.