Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: montecarlo simulation


From   "Austin Nichols" <austinnichols@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: montecarlo simulation
Date   Thu, 27 Mar 2008 12:12:45 -0400

Chiara Mussida <cmussida@gmail.com>:
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 <cmussida@gmail.com> 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/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index