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
Importing multiple text files to StataDear all, I am trying to import ASCII files to Stata. The problem is that there are two ASCII files …
Display values (with error bars) for several percentiles in a bar graphI would like to create a bar graph (with error bars) that dísplays the values (finr) for two categor…
Presenting the list of countries in a tableHello everyone, For my Master' thesis, I am trying to create a table like the one attached below. U…
Calling alternative do files from Master fileDear All, I have a dataset with daily frequency. A small example is attached. Code: * Example gen…
Unexpected error/problem with labmaskDear all, I am trying to use labmask to assign a numeric variable "school_geo_area" the values of (…
Subscribe to:
Post Comments (Atom)
0 Response to Out-of-sample prediction with threshold regression
Post a Comment