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]

st: averaging variables for regression model


From   FredVer <[email protected]>
To   [email protected]
Subject   st: averaging variables for regression model
Date   Wed, 16 May 2012 06:41:34 -0700 (PDT)

dear all,

Another question I have when in a paper says: Country level variables are
averaged by country over the period under study. does the command then mean:

sort country year
by country year: egen new = mean(oldvar) 

Thanks!

--
View this message in context: http://statalist.1588530.n2.nabble.com/averaging-variables-for-regression-model-tp7561833.html
Sent from the Statalist mailing list archive at Nabble.com.
*
*   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