On 1/13/07, Steven Gorl� <[email protected]> wrote:
Dear Neil,
Thanks for the tip! I am a new stata user and sometimes small issues like
this can take a lot of time and worry.
I am still discovering the possibilities of stata.
* gen pw = 8564/200
* gen fpc = 8564
These commands were indeed superfluous in this loop. But I have a similar
loop in which I take the surveydesign into account.
I wonder if the standard errors will be the same...
First I did a bootstrap, but I didn't find an option ('without
replacement'). (Or does it exist?)
That's why I used the - sample- command in a loop.
Not a problem.
One possibility would be to have a look at the -bs- command (although
the help indicates that this is with replacement, but from your code I
don't see how your currently avoiding replacement).
For future reference, you can do searches on keywords using the
-search- and -findit- commands, in this instance -findit bootstrap-
points to a wealth of possible hits.
Neil
--
"Every great advance in natural knowledge has involved the absolute
rejection of authority." - Thomas H. Huxley
Email - [email protected] / [email protected]
Website - http://slack.ser.man.ac.uk/
Photos - http://www.flickr.com/photos/slackline/
*
* 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/