https://github.com/fedesgh/arima_model_for_monetary_base_bcra
Read data from an excel file, clean it and build ARIMA model
https://github.com/fedesgh/arima_model_for_monetary_base_bcra
arima statsmodels
Last synced: 4 months ago
JSON representation
Read data from an excel file, clean it and build ARIMA model
- Host: GitHub
- URL: https://github.com/fedesgh/arima_model_for_monetary_base_bcra
- Owner: Fedesgh
- License: apache-2.0
- Created: 2024-09-30T16:07:38.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-24T13:56:46.000Z (over 1 year ago)
- Last Synced: 2024-12-29T18:52:48.186Z (over 1 year ago)
- Topics: arima, statsmodels
- Language: C
- Homepage:
- Size: 29.9 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Read excel file, clean it and build ARIMA model to predict Argentina's monetary base change
The excel file was downloaded from official BCRA website (https://www.bcra.gob.ar/)
## About the notebook
The first task to solve was the multi-heads columns obtained by transforming the excel file into a data frame.

After a bit of cleaning we got a dataframe with multiple columns indexes: **DAILYCHANGE** and **DAILYSTOCK**, both offering the same most important features but one shows the daily change and the other the total stock at a particular day. In addition **DAILYCHANGE** offers additional columns to show certain BCRA assets in more detail.

## ARIMA model
Our aim is to predict the feature **held_by_public_(1)** defined by: monetary circulation that is not in the possession of financial entities.

At first sight we can see that it is not stationary, then we must use differencing

where we apply Dicker-Fuller test obtaining a **p value of 0.00046844795099990213**
Then we get **auto-correlation** and **partial-autocorrelation** functions


## Result


Showing some effectiveness during the first two weeks until approximately 04/15/2024, when it begins to converge towards the media.