I am using maxlikmt for estimation. Works great. But when I put it in a do-loop for a Monte Carlo it fails. I suspect it is because I don't know how to use a "struct" command in the do-loop. Must the PV be used? Must it be "reset" before the next loop iteration? Hints would be appreciated.
You do not need to use the
PV structure with the current version of maxlikmt. This maxlikmt blog post shows an example placing the starting parameter values in a matrix.
Can you post the exact error that you are getting and the line of code that GAUSS is reporting as the cause?
I got it finally. Sorry. Thanks for the blog link.