Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | Clyde B Schechter <clyde.schechter@einstein.yu.edu> |
To | "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu> |
Subject | st: Re: st: Bootstrapping standard errors of regression coefficients whilst applying bysort command |
Date | Sat, 28 Apr 2012 23:06:19 +0000 |
If I understand what George Murray wants to do, the following should work: levelsof V0, local(v0_levels) foreach v0 of local v0_levels { bootstrap, reps(100) seed(1): reg V1 V2 V3 V4 if V0 == `v0' } Hope this helps. Clyde Schechter Albert Einstein College of Medicine Bronx, NY, USA * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/statalist/faq * http://www.ats.ucla.edu/stat/stata/