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
Loosing data on mergeI am merging 2 data sets, in master data set, the variables are byte with no data, and in the using …
Hausman test - gives p value as dot, not even 0.00Please advice why Prob>chi2 is given as a . in my test, rather than a value for me to interpret. …
Time Series and Fixed Effects Estimation ProblemsI am a beginner in Stata and I am having some trouble when undertaking regressions in Stata. For so…
looking at the mean of one variable across another variableWithin stata i have data on the consumption of 10 different alcohol types. Another variable is the r…
Longitudinal administrative health data - flag claimants who received the same treatment accross all observationsGreetings, I have a longitudinal administrative health dataset consisting of over 400,000 observati…
Subscribe to:
Post Comments (Atom)
0 Response to Saving the coefficients of the time fixed effect and averaging it
Post a Comment