Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Tin()


From   Autria Christensen <[email protected]>
To   "[email protected]" <[email protected]>
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
[email protected]


*
*   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/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index