[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: Compute means of coefficients
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/