Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: Varying results for levpet
From
SAM McCaw <[email protected]>
To
"[email protected]" <[email protected]>
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" <[email protected]> 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
> -- [email protected]
> *
> * 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/