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
Test for differences between Cumulative Incidence Function curvesHello, I have a two-arm trial where an event can either occur or does not occur because of a compet…
Multiple twoway lines in same graph region.Dear All, I have a 50 US state panel by day. A policy of interest is implemented in the different s…
New Stata module to estimate permanent-transitory state space modelscdecompose: Stata module to estimate permanent-transitory state space models is now available in SSC…
Marginal effects with a heteroskedastic tobitDear all, I am struggling to compute the average marginal effects using a Tobit allowing for hetero…
Accounting for imperfect diagnostic test results on data from an entire populationHello, I have data from a seroprevalence study which collected samples from an entire population (a…
Subscribe to:
Post Comments (Atom)
0 Response to Out of sample estimation following xtdpdgmm
Post a Comment