Hi - I'm trying to estimate an unobserved components model using a subsample of my data and then predict the trend component out-of-sample using information only from the subsample. But when I try to do that I get an error message that suggests that subsample estimation is not allowed with with unobserved component models.
Specifically my code is:
ucm loggdp, model(strend) cycle(1) if inrange(date, tq(1955q1), tq(2010q1))
I then get the following error message
options if inrange if inrange(date, tq(1955q1), tq(2010q1)) are not allowed
Is there a way of doing this?
Specifically my code is:
ucm loggdp, model(strend) cycle(1) if inrange(date, tq(1955q1), tq(2010q1))
I then get the following error message
options if inrange if inrange(date, tq(1955q1), tq(2010q1)) are not allowed
Is there a way of doing this?
Comment