Hi,
I'd like to do out-of-sample prediction after estimating a threshold model. I follow the examples in the manuals:
tsthresholdpostestimation.pdf (stata.com)
I tried (1) one-step ahead prediction and (2) dynamic predictions. The results are the same. Correct me if I am wrong -- I feel that these are actually in-sample fit for the model. What I want is the true "out-of-sample" forecasting. In the above example, all I want to do is
a. to estimate the model from 1950Q1 to 2002Q4, and predict 2003Q1
b. to estimate the model from 1950Q1 (recursive) or from 1950Q2 (rolling) to 2003Q1, and predict 2003Q2 .....
....
How can I do it?
What is the difference between dynamic forecasting here and in-sample fit?
Thanks,
J
Related Posts with Out-of-sample prediction with threshold regression
Logistic Regression Model on mortgage portfolioHi all, Currently I am working with a mortgage portfolio on which I would like to perform a logisti…
Marginsplot: using the original values instead of log values in the x-scaleDear all, I have run a panel probit model and I want to plot marginal effects for different values …
How to rank the values of all variables to one id in one year for panel data? Many thanks! Code: * Example generated by -dataex-. To install: ssc install dataex clear input float id double y…
How to draw ln(odds) against category?Hello everyone, This is my data. Chlordecone level category Total births Preterm births No prete…
U-shaped - Sasabuchi test?Dear Statalisters, I am trying to test for an inversed U-shaped between credit risk index and adju…
Subscribe to:
Post Comments (Atom)
0 Response to Out-of-sample prediction with threshold regression
Post a Comment