Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | "Brian P. Poi" <bpoi@stata.com> |
To | statalist@hsphsun2.harvard.edu |
Subject | Re: st: Varying results for levpet |
Date | Mon, 08 Oct 2012 08:22:10 -0500 |
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/