Library: | finance |
See also: | spdest2 |
Quantlet: | nnls2 | |
Description: | auxiliary quantlet for spdest2 used in the minimization of nonlinear least squares. |
Usage: | ls = nnls2(x) | |
Input: | ||
x | n x 1 vector, a parameter of the function to minimize | |
Output: | ||
ls | scalar, the function to minimize |