Statalist The Stata Listserver


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

st: saving bootstrap samples


From   Sheila Olmstead <[email protected]>
To   [email protected]
Subject   st: saving bootstrap samples
Date   Thu, 21 Dec 2006 15:26:54 -0500

Statalisters,

I am using a Monte Carlo simulation to test the bias in a set of estimators. I can implement all but one of the models in Stata. I'm planning to implement 1,000 bootstrap replications of each model, and Stata's bootstrap command makes it easy to do this for the models I will estimate in Stata. But I need to save the same bootstrap samples so that I can import them to Gauss for the final part of the simulation.

I realize that I can use bsample, and then just program the model replications in Stata. But I'd like to use the bootstrap command, since it will save me a good deal of time. Is there any way to save the bootstrap samples generated by the bootstrap command? The samples are not listed under "saved results" in Stata's documentation of the bootstrap command. Alternatively, can I reference samples drawn using bsample, rather than drawing new samples, if I use bootstrap?

I'll be grateful for any help with this!

Sheila



Sheila M. Olmstead
Asst. Professor of Environmental Economics
Yale School of Forestry and Environmental Studies
230 Prospect Street, #204
New Haven, CT 06511
tel. (203) 432-6247
fax (203) 432-0026
[email protected]
*
* 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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index