Hey,
I have the problem that I have multiple regressions of years from 1963 to 2004 and I want the mean of all the coefficients instead of the separate coefficient of every year. So, I would like to have 41 observations of the years in one regression.
years earnings lagged earnings (-1 year)
1963 xxx xxx
1964 xxx xxx
…
2004 xxx xxx
Now I have the command: bysort Year (Company_Key): regress defl_Earnings defl_Earnings_sd_L1
Here I get all the separated 41 regressions insteadof the aggregated coefficients of all the years. Thanks in advance!
Related Posts with How do i get the mean of all the seperate regressions?
Idiosyncratic Volatility - Rolling WindowHello everyone! I am trying to compute idiosyncratic volatility on a rolling basis of 24 months wit…
cross classified multilevel structureDear Stata Forum, I am using mixed estimating a cross-classified multilevel model with three levels…
GMM estimation inside a do loop with foreachDear Friends, I am trying to use GMM to estimate a model that is nonlinear in its parameters. The …
Logic for using matched sample versus unmatched sampleHi all, I am stuck on a problem of when to use a matched versus unmatched sample. I have a list of …
no observations error event studyDear Stata community, I'm trying to run a loop to generate the normal returns for my event study, h…
Subscribe to:
Post Comments (Atom)
0 Response to How do i get the mean of all the seperate regressions?
Post a Comment