Structure within do loop?

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.

2 Answers


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.

You must login to post answers.

Have a Specific Question?

Get a real answer from a real person

Need Support?

Get help from our friendly experts.

Try GAUSS for 14 days for FREE

See what GAUSS can do for your data

© Aptech Systems, Inc. All rights reserved.

Privacy Policy