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
Measures of accuracy of predicted probabilities (QPS), (LPS), (KS) Hello all, I am trying to predict future recessions using a Probit model and now I want to evaluat…
Gini coefficient by group and yearGreetings, Hope everyone is keeping safe. I would like to compute the Gini coefficient for a large…
Does the hierarchical logistic model increase the validity of the pscore?Hi! I have a question about predicting the propensity scores. Based on what I learnt, if the indepen…
non-stationary dependent variableDear all, Hope you are well. I am using panel data and I have found out that my dependent variable …
marginal effect of firthlogitDear Statalists, I tried to calculate the marginal effect of firthlogit. I use "margins , expression…
Subscribe to:
Post Comments (Atom)
0 Response to Out of sample estimation following xtdpdgmm
Post a Comment