Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: Varying results for levpet


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/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index