Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: How to let Arch give out of sample prediction??


From   "F. Gao" <[email protected]>
To   [email protected]
Subject   st: How to let Arch give out of sample prediction??
Date   Wed, 4 May 2005 22:19:43 -0500

Dear all,

I am using arch command to estimate a time series for a subset of
years, and hoping to get predicted values for fitted values as well as
the conditional variance out of sample (after 1990). I only get the
in-sample predictions somehow. Here is what I did

arch y x if year<1990, archm arch(1) garch(1) 

predict yhat

predict cond_var, variance

Can anyone tell me why the last two commands would not give out of
sample predicitons? Thanks!

Faye Gao

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index