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
Use of bma/wals on binary dependent variableHi there...I have a binary dependent variable (use foxtlogit analysis)...I am now at a point of cons…
Trouble printing value in a local in a loop using putexcelHi, The following code takes in information from a survey, disaggregates it by region, compares the …
inter-rater reliability and iccHi all, I am trying to calculate inter-rater reliability with a complicated study and data structur…
How to create a string variable with the string value of the variable name?I am trying to use merge on two data sets, one which has a value for PID for approximately 1700 obse…
Cem for panelHi Statlist, I would like to perform CEM (coarsened exact matching) on the following panel: Code:…
Subscribe to:
Post Comments (Atom)
0 Response to Saving the coefficients of the time fixed effect and averaging it
Post a Comment