I'm trying to implement a Monte Carlo experiment using ML procedures in
Stata. I'm structuring my code in 3 parts. The first program contains
-postfile- and -postclose-, and in between them I call my second and third
programs. The second is for creating the data set, and the third is where I
code the ML procedure using method d0 (and include the -post- of the
results). This structure is somewhat similar to the one presented in
NetCourse 151, p. 105.
The problem is that when Stata reaches the ML program it issues an error
message ", invalid name", which, after setting trace on, I found out to be
related to the fact that the `b' macro defined in -args todo b lnf- doesn't
show up in the -mleval- part of the code.
Why is that? Does anyone knows how to fix this problem? Thanks in advance.
Regards,
Miguel Foguel
_________________________________________________________________
Use MSN Messenger to send music and pics to your friends
http://www.msn.co.uk/messenger