Dear Statalists,
I would like to make out of sample predictions based on a two way fixed effect model. Since I cannot get the time fixed effect for out of sample, I would like to store the estimated time fixed effect coefficients and average it to use it for predictions. For eg: xtreg y x1 x2 x3 i.year, fe. I would like to average all of the estimated coefficients for the year dummy variables so that I can add it to to the estimates from "predict yhat, xb"
Related Posts with Saving the coefficients of the time fixed effect and averaging it
Adding up variables with the same valueHi All, Seeking help on adding up variables (columns) with the same values. I have variables diagn…
Help with 2SLS modellingHello everyone, This question is from a paper that I recently read; Laeven.L, and Levine.R, (2009),…
Panel Data Survival AnalysisI have panel data of 10 firms over 10 years. id=1,2,....,10 and t=1,2,3.....,10. Each firms joins a …
Reshape a db in matrix formHi all, I have the following database Code: * Example generated by -dataex-. To install: ssc inst…
ttest or xtmixedHello everybody, excuse me for my english. I am a french resident and i am doing a research about t…
Subscribe to:
Post Comments (Atom)
0 Response to Saving the coefficients of the time fixed effect and averaging it
Post a Comment