Hi,
I am working on the Klein-Spady semiparametric estimator.
I am trying to use call NLPNRA to generate a maximum likelihood estimate. IML gives an ERROR message saying that I am taking log of zero. But I checked the arguments in all the log commands, none of them is zero.
Below is the program and the error message. Thanks for your help.
ERROR: (execution) Invalid argument to function.
operation : LOG at line 296 column 45
operands : _TEM1008
_TEM1008 1 row 1 col (numeric)
0
statement : ASSIGN at line 296 column 1
traceback : module LOGLIK at line 296 column 1
ERROR: NEWRAP Optimization cannot be completed.
ERROR: The function value of the objective function cannot be computed at the starting point.