I'm using the Structural Time Series (STS) module for time series forecasting, specifically with a model that includes a LinearRegression component for exogenous variables.
Currently, when creating the LinearRegression component, the design_matrix argument requires the exogenous variables to be known both for the observed time series and the future period we want to forecast. This can cause problems in many practical applications, where future exogenous variables are not known at the time of model construction and fitting.
I understand from the documentation and the forecast function's current design that it assumes the structure of the time series (including the regression component) to be the same for the observed and forecast periods. However, this is not always a valid assumption in real-world forecasting tasks, and we might have different exogenous variables for the forecast period.
Therefore, I suggest that the STS forecast function be extended to allow the passing in of new exogenous data for the forecast period. This will provide flexibility to users who have models with exogenous variables and need to generate forecasts with new exogenous data.
Thank you for considering this feature request. I believe it would be a valuable addition to TensorFlow Probability's capabilities for time series forecasting.
Hello TensorFlow Probability Team,
I'm using the Structural Time Series (STS) module for time series forecasting, specifically with a model that includes a
LinearRegression
component for exogenous variables.Currently, when creating the
LinearRegression
component, thedesign_matrix
argument requires the exogenous variables to be known both for the observed time series and the future period we want to forecast. This can cause problems in many practical applications, where future exogenous variables are not known at the time of model construction and fitting.I understand from the documentation and the
forecast
function's current design that it assumes the structure of the time series (including the regression component) to be the same for the observed and forecast periods. However, this is not always a valid assumption in real-world forecasting tasks, and we might have different exogenous variables for the forecast period.Therefore, I suggest that the STS
forecast
function be extended to allow the passing in of new exogenous data for the forecast period. This will provide flexibility to users who have models with exogenous variables and need to generate forecasts with new exogenous data.Thank you for considering this feature request. I believe it would be a valuable addition to TensorFlow Probability's capabilities for time series forecasting.
Best regards, Robert