Forces parameter estimates between defined boundaries.
Forces parameter estimates between defined boundaries.
bound.parameters is a utility function called during estimation runs. It forces the parameter estimates to remain within the boundaries defined in the .csv file of initial estimates. bound.parameters is typically not called directly by users.
bound.parameters(x =NULL, lb =NULL, ub =NULL)
Arguments
x: A vector of p parameter estimates.
lb: A vector of p lower boundaries.
ub: A vector of p upper boundaries.
Returns
Returns a vector of p values. The ith element of the returned vector is: