Bookmark and Share

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: Means of the first differences


From   Nick Cox <njcoxstata@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Means of the first differences
Date   Wed, 16 Feb 2011 23:21:40 +0000

Is this what you want?

. webuse grunfeld

. tsset
       panel variable:  company (strongly balanced)
        time variable:  year, 1935 to 1954
                delta:  1 year

. ds
company  year     invest   mvalue   kstock   time

. su D.mvalue

    Variable |       Obs        Mean    Std. Dev.       Min        Max
-------------+--------------------------------------------------------
      mvalue |
         D1. |       190    38.44584    378.6675    -2594.9     1583.2


On Wed, Feb 16, 2011 at 9:51 PM, Ehsan Latif <dhaka2011@hotmail.ca> wrote:

> Can anyone please help me?
>  How do I estimate means of the first differences of the outcome variables in panel structure? What is the relevant Stata command?

*
*   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/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index