Hi everyone, I'm currently working on a macroecono...
# neural-forecast
d
Hi everyone, I'm currently working on a macroeconomic time series forecasting project at the Central Bank of Colombia. Our goal is to forecast the IPC (Consumer Price Index) based on the GDP (Gross Domestic Product) data. However, I am facing a challenge in introducing the GDP variable as an exogenous variable since it is observed on a quarterly basis. My question is, how can I handle this issue? thanks 🙂
c
Hi @DAVID FERNANDO PARADA BRIJALBA! The problem is that your target variable has a different sampling frequency, like monthly?
d
yes, that's right
c
I would recommend to do something like
ffill
pandas function, where you assign the same GDP value to all months of the quarter, and complement this with other calendar exogenous like dummy of month, or month of the quarter (eg. 1, 2, 3).
The input dataframe needs one observation of the GDP for each row/timestamp of your data
d
Oh, thanks a lot! @Cristian (Nixtla) I'm gonna give it a try 👍🏻.