I'm trying with loop command, but i need a way to move on about time like:

ols y y(-1 to -3) z w
fcast 1990:01 1990:02 1

ols y y(-1 to -3) z w
fcast 1990:02 1990:03 1


For the variable i'm using a list (list ylist = y1 y2 y3...) but i cannot do that with time format data, how can i do?

Thanks

Francesco

2015-09-22 17:43 GMT+02:00 Sven Schreiber <svetosch@gmx.net>:
Am 22.09.2015 um 16:22 schrieb Francesco Raffaele P.:
> My model is a blue, it's a simple OLS regression like Y: X Z W
>
> X Z W are standard data (latest aviable) but Y variable uses realtime data.

aha, ok.

>
> So there's a way i can run fcast --rolling command with dependent
> variable changing at every new step.

To be honest, I wasn't really aware of the "--rolling" option of fcast.
(Reading its doc ["fixed starting point"] I would say it's a bit of a
misnomer, because rolling is typically meant to be fixed sample-length,
while with a fixed starting point perhaps "sequential" is a more common
term. But that's a different issue.)

So, no, you cannot do that with fcast. Perhaps in the longer term "fcast
--rolling" should also get this additional feature to work on realtime
data, but it's not trivial in terms of the syntax.

As I indicated, I still think you have to write your own loop, and at
each step re-define your Y variable accordingly. Then do fcast without
any special option.

cheers,
sven
_______________________________________________
Gretl-users mailing list
Gretl-users@lists.wfu.edu
http://lists.wfu.edu/mailman/listinfo/gretl-users