Stata throws a 301 error (last estimates not found) whenever I try to use estimates from a dynamic model (using xtdpdgmm) to predict out of sample output.
Steps I followed:
1- Run regression: xtdpdgmm L(0/1).a L(0/2).b L(0/2).c L(0/2).d L(0/2).e L(0/2).f, collapse model(difference) gmm(l.a, lag(0 1)) gmm(b d f, lag(1 1)) gmm(c e, lag(. .)) teffects vce(robust)
2- est save model1
3- on a different dataset: est use model1 (loads correctly).
4 - predict yhat, xb output: last estimates not found (r(301).
Related Posts with Out of sample estimation following xtdpdgmm
Removing duplicates across several variables in panel data and keep the dup with non-missing valuesHi As the title suggests, I am trying to remove duplicate values across several variables (c30) in …
Graph question for growth model "xtmixed"Hi, I'm having a problem in making a line graph for my growth model. The outcome variable is depress…
xtreghello, I have a dataset on which I want to perform an OLS. The dataset looks like this: dependent v…
Reassigning records with missing values to existing categories considering the existing distribution within the populationDear Statalist, I am struggling to reassign records with a missing value on the categorical variabl…
Seemingly Unrelated Regression with endogeneity and sample selectionHello everyone! I wish to see the impact of income from an activity on various types of household ex…
Subscribe to:
Post Comments (Atom)
0 Response to Out of sample estimation following xtdpdgmm
Post a Comment