Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Compute means of coefficients


From   Christoph Merkle <chmerkle@rumms.uni-mannheim.de>
To   statalist@hsphsun2.harvard.edu
Subject   st: Compute means of coefficients
Date   Fri, 08 Aug 2008 00:05:15 +0200

Hi,

I'm using the code below for year-by-year regressions in a panel. Is there some possibility to calculate the means of the regression coefficients conveniently in STATA? And also the t-statistics for the means?
(Would that mean to create a variable from the coefficients first or is there a direct approach?)

forvalues year = 1964/1996 {
reg Y_A V_A DD D_BE if year == `year'
}

Thanks

Christoph Merkle
PhD Student
*
* 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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index