In this project we use ARIMA, GARCH and VAR(Vector Autoregression Model) models to forecast the trend and value of the USD/EUR exchange rate.
Obtain the data of the exchange rate of USD/EUR from the site of The European Central Bank.
The data of indicators (money supply (in US and Europe), GDP (in US and Europe),CPI ( in US and Europe) ,Philadelphia Gold and Silver Index(XAU) and West Texas Intermediate(WTI)) are from https://fred.stlouisfed.org/. The time frame of our dataset is one month starting from Jan. 2015 to Feb. 2020.
Taking into account that the rate is noise and non-stationary, we assume that the historical data is the result of incorporation of all the behaviors including inflation, economic growth, changes of interest rates and etc, .
- ARIMA
- RNN(Recurrent Neural Network)
- GARCH
- VAR(Vector Autoregression Model)
The best model is selected based on the prediction of the future trend and the accuracy of models with Mean Absolute Error (MAE), Mean Absolute Percentage Error (MAPE) and Root Mean Squared Error (RMSE).
-
"LSTM.py" is raw code for LSTM model.
"rate.csv" is the data of LSTM model in "LSTM.py".
"LSTM.pdf" is the result of "LSTM.py".
-
"GARCH.rmd" is raw R code for ARIMA, GARCH, VEC, DCC.
"rate.csv" is the data of ARIMA, GARCH model.
"data.csv" is the data of VEC model.
"US_part.xlsx" and "DAILY_part.xlsx" is the data of DCC.
"GARCH.pdf" is the result of "GARCH.rmd".
-
"VAR.rmd" and "VAR.pdf" are raw R code and results of VAR model.
"data.csv" is the data of VAR model.
"VAR.pdf" is the result of "VAR.rmd".