Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: making a dataset of results


From   Steve Vaisey <[email protected]>
To   [email protected]
Subject   st: making a dataset of results
Date   Thu, 15 Dec 2005 14:11:37 -0500

Hello everyone,

I'm bootstrapping a whole bunch of ratios and would like to know if there's a way to save the ratios and se's in a new dataset. At this point, I'm cutting and pasting from the results window, but I know there's a better way! I've tried to figure it out with help files and such, but to no avail.

Here's the basic program I'm using to get the ratios now:

foreach var of varlist x1 - x10 {
bootstrap: ratio `var' y
}

The output I want is in the matrices e(b) and e(se) after each loop. How can I save them so that I have two columns with 10 obs each?

Thanks!

Steve

--
====================================================
Stephen B. Vaisey
National Science Foundation Graduate Research Fellow
Caroline H. and Thomas S. Royster, Jr. Fellow
Department of Sociology
University of North Carolina at Chapel Hill
CB #3210, Hamilton Hall
Chapel Hill, NC 27599
====================================================

*
* 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