This project applies statistical techniques and time series modelling to analyse monthly inflation levels in Uzbekistan over the past 15 years and to forecast future inflation levels. The data was obtained from the official website of the Government of Uzbekistan. The study explores the statistical properties of the series, tests for stationarity and normality, and fits a SARIMA model for forecasting future inflation levels.
Dataset: Monthly inflation rate in Uzbekistan (Jan 2010 - Oct 2024)
Programming Language: R,
Libraries: quantmod, fpp, forecast, tseries
Statistical Tests: ADF, Ljung-Box, Shapiro-Wilk
Methods Applied:
- Detrending via linear regression
- ACF & PACF diagnostics
- Ljung-Box test for autocorrelation
- Augmented Dickey-Fuller (ADF) & KPSS tests for stationarity
- Normality tests: Lilliefors, Anderson-Darling, Shapiro-Francia
- SARIMA modelling with manual selection and auto.arima comparison
- Residual diagnostics (mean, variance, autocorrelation)
- Obtain the time series.
- Detrend the series.
- Create ACF & PACF. Determine if it is a unit root.
- Check for autocorrelation.
- Check for stationarity.
- Normality tests (Kolmogoros-Smirnov, Anderson-Darling, Shapiro-Francia).
- Fit an ARMA model & determine the best lag.
- Make a 1-step forecast.
- Check the ARMA model fits the series well (residuals have zero mean and autocovariance, finite and constant variance).
Want to reproduce the analysis and forecasts yourself? Follow these steps to run the code:
- Clone the repository:
git clone https://github.com/Arslan2003/Uz_Inflation.git cd Uz_Inflation - Ensure your files are in place:
Uz_Inflation.R- the main R script containing the code.
Uzb_monthly_inflation.csv- dataset of monthly inflation changes. - Install required R packages:
Uncomment this line in the code file by removing the
## install.packages(c(zoo", "fpp", "forecast", "tseries", "lmtest", "nortest")) - Run the R script:
Open R or RStudio, and run:
source("Uz_Inflation.R") - Experiment!
This project can be used to practice using the tools or applying the methods listed above. If you are looking to contribute to the project, I will be happy to collaborate! Here are a few ideas to get you started on how you could contribute to this project:
- Extend to SARIMA for seasonality modelling.
- Compare with Machine Learning models (e.g., LSTM).
- Broaden the dataset to include other macroeconomic indicators.
Arslonbek Ishanov - First-Class Data Science Graduate.
This project is licensed under the MIT License.
See the LICENSE file for full terms.
- Dataset: National Statistics Committee of the Republic of Uzbekistan.
- Adhikari, R., & Agrawal, R. K. (2013). Forecasting strong seasonal time series with ARIMA. Computational Statistics & Data Analysis, 61, 157–168.
- Frain, J. (1992). Time Series Analysis in Econometrics. Springer.
Do you want to find out more details about this project? Read the report.
R Time-Series Statistics Econometrics ARMA Uzbekistan Inflation Forecasting



