A non-typical estimation/forecasting setup using ForecastX #6905
Unanswered
SultanOrazbayev
asked this question in
Q&A
Replies: 1 comment 5 replies
-
Silly question: from the description above, I thought the first use of Can you explain why the first instance, the code that runs, is not enough? |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I have a problem in which I am trying to predict two variables$y_1$ and $y_2$ (as independent, single-variable predictions) as a function of exogenous variables $X$ and lags of these two variables to be forecasted.
Consider prediction of$y_{1,t}$ : $y_{1,t} = f(X, y_{1,t-1}, y_{2,t-1})$ .
Estimating the coefficients for this problem is not an issue, since all values are known in the training data.$t+2$ requires iteration:
However, forecasting for
Initially, I thought this is something I could do using$y_1$ , forecasting variable $y_2$ is referencing a separate forecaster (not the one for $y_1$ ).
ForecastX
, however it is not clear to me how to handle the iteration above. Kindly note that I am trying to use single-variable forecasters (each column will have its own forecaster), so from the perspective of variableHere's the small code that I started with:
The specific error raised is
TypeError
, however, it seems the core issue is I am trying to perform a non-typical estimation/forecasting operation. There is probably a way to implement it, but it's not clear to me how I should proceed. Any pointers will be appreciated, including if this is not currently feasible usingsktime
.Beta Was this translation helpful? Give feedback.
All reactions