Hi Justin,
Your suggestion not to interrupt the running process is quite reasonable!
I was able to get NLME to estimate all of the datasets by resimulating the dataset from CObs = observe(C * (1 + EPS)), rather than C (D-OH!) and freeze() - ing the error(). Even if I appropriately simulate the dataset with error, I would still get the fatal error described previously, though less frequently. It appears the fatal error comes from EPS approaching 0.
What did you mean by C (D-OH!) ?
The fatal error appears when the solver gets in trouble. You cannot avoid it. Even if you change control mode from MPI to local the failed datasets will be different. Hard life of the modellers ))
You do not need to freeze the eps, because simulation engine does not fit the model.
Two new questions - is there a smart way to place bounds on the error to prevent that from happening? I was thinking error(EPS = ERR); stparm(ERR = c(0.1, 1, 10000) or something, however error requires a numeric argument.
If you need some bounds I see 2 options:
1. to use more sophisticated error (CMixRatio or something else, you can tune up in the model text). At least you can rule it partially.
2. To use LL() statement (more complicated but very flexible)
An example for additional error:
fixef(CE = c(0,1,))
stparm(CEst = CE)
LL(CObs, (lnorm((CObs-C), CEst)))
Please note that the results would not be exactly the same as for built-in solution with observe() statement due to numerical issues and some other stuff even without boundaries. Try it at your own risk
Secondly, after the run finished, I got the error "Index was outside the bounds of the array." The run did not output a Theta or Omega table, which is what I really need.
Could you share the project? Support is always happy with new bug found!
BR,
Mittyright