Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | Autria Christensen <autria@yahoo.com> |
To | "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu> |
Subject | st: Tin() |
Date | Fri, 29 Jun 2012 11:03:03 -0700 |
Hello statalisters! I am wondering if anyone knows if it's possible to use a scalar or loop within tin(). Basically I'm trying to do out of sample forecasts (quarterly data) but each quarter I need to use a new number of parameters and parameter estimates based on updated AICs. So I'd really like to have: reg y l(0/AIC_LAG).y if tin(start_dt, end_dt) Predict yhat if tin(fcast_dt1, fcast_ I'm able to generate the regressions just can't get the tin operator to work. Any help would be greatly appreciated! Have a good weekend! Autria Christensen Autria.christensen@gmail.com * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/statalist/faq * http://www.ats.ucla.edu/stat/stata/