Chiara Mussida <[email protected]>:
If you have a -program- that does each simulation, then it can be
called within a -foreach- or -forvalues- loop and results can be
written out via e.g. -post-, but -simulate- automates that process in
a convenient way. Beware that -simulate- called without specifying
the saved results will use any changed estimation results even for an
r-class program (rather than using the returned r() results) unless
you -eret clear- at the end of your program.
On Thu, Mar 27, 2008 at 11:57 AM, Chiara Mussida <[email protected]> wrote:
> Hi guys,
> is the command simul the unique option in stata to run a montecarlo
> simulation? are there other specific commands?
>
> thanks
>
> --
> Chiara Mussida
> PhD candidate
> Doctoral school of Economic Policy
> Catholic University, piacenza (Italy)
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/