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
interpreting marginal effect of logit dummy regressors at 1.I have a problem interpreting the marginal effect of a dummy variable in a logit model. (I am using …
global or local seed setting in loopDear all, I want to run a loop in which the seed changes for every single run: Code: forvalues m…
How to*create a POST variable to be used for Difference-in-Differences for panel dataI want to create 2 POST variables to observe the effects of a merger on a company. Problem: The rec…
Finding unique values between variablesI am trying to find values that exist in one data set and not another. I have a child table that lik…
Next day dummy variableDear Stata experts, To better present my question, here is a sample of my data, which consists of 3…
Subscribe to:
Post Comments (Atom)
0 Response to Out of sample estimation following xtdpdgmm
Post a Comment