Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | SAM McCaw <sam2stata@gmail.com> |
To | "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu> |
Subject | Re: st: Varying results for levpet |
Date | Wed, 10 Oct 2012 00:43:47 -0400 |
Thank you. Sent from my iPad On Oct 8, 2012, at 9:22 AM, "Brian P. Poi" <bpoi@stata.com> wrote: > On 10/05/2012 04:38 PM, SAM MCCAW wrote: >> Hi All, >> >> I have run into an issue with my stata results when I run levpet >> industry by industry. >> >> When I run the following command for Levihnson-Petrin I get different >> results each time. >> >> eststo: levpet lnY if industry_no == 1, free (lnl) proxy (lnM) capital >> (lnK1) revenue >> >> For example, the first and second set of results are posted below. Is >> this a similar effect to bootstrapping? >> >> Thanks a lot. >> >> SAM > > Sam, > > -levpet- uses the bootstrap to obtain the standard errors, so you will get different standard errors each time unless you first set the random-number seed. See -help seed- for information about setting the random-number seed. > > -- Brian Poi > -- bpoi@stata.com > * > * For searches and help try: > * http://www.stata.com/help.cgi?search > * http://www.stata.com/support/faqs/resources/statalist-faq/ > * http://www.ats.ucla.edu/stat/stata/ * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/faqs/resources/statalist-faq/ * http://www.ats.ucla.edu/stat/stata/