--- Maarten wrote:
> > One step you can take is to call the program -msm- you created,
> > outside -bootstrap- and see if it works, you can call it a second
> > time and you will see that it no longer works because several
> > variables are-generate-ed which already exist (where created during
> > the first call to -msm-). How did I know to call -msm- twice? I
> > made the same mistake you made many many times...
--- Michael McCulloch <[email protected]> wrote:
> My temporary elation is tempered by the nagging discomfort of not
> knowing why the use of temporary variables resolved the issue. I'll
> proceed with your suggested -trace- approach. Many thanks, Michael
So, your program needs to create a number of variables. It leaves those
variables behind after it has finished. With -bootstrap- you run your
program multiple times (as many as you specify in the -reps()-
options). So now when you try to run the program multiple times, -msm-
tries to -generate- variables that already exist (were made by the
previous call to -msm-). This causes errors, as a result it returns no
results to -bootstrap- causing to display red X instead green dots.
Hope this helps,
Maarten
-----------------------------------------
Maarten L. Buis
Department of Social Research Methodology
Vrije Universiteit Amsterdam
Boelelaan 1081
1081 HV Amsterdam
The Netherlands
visiting address:
Buitenveldertselaan 3 (Metropolitan), room Z434
+31 20 5986715
http://home.fsw.vu.nl/m.buis/
-----------------------------------------
___________________________________________________________
Want ideas for reducing your carbon footprint? Visit Yahoo! For Good http://uk.promotions.yahoo.com/forgood/environment.html
*
* 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/