Comprehensive analysis and forecasting of the global lithium market, examining demand trends, export dynamics, and the impact of key market events on lithium prices and production.
Time Series Analysis, Sustainable Energy, Forecasting Models
- About the Project
- Key Features
- Key Results
- Data Overview
- Methodology
- Screenshots and Graphs
- Technologies Used
- Setup & Installation
- Usage
- Contributing
This project provides a comprehensive analysis of the lithium market, focusing on demand and production trends, and uses various time series and forecasting models. The work examines lithium exports from Chile and Australia, factors affecting demand due to clean technology adoption, and future trends. Ultimately, it aims to provide insights into lithium’s role in sustainable energy and the market’s untapped potential.
- Lithium Market Analysis: Detailed study of lithium demand, production, and export patterns.
- Forecasting Models: Applied Holt’s Exponential Smoothing, ARIMA, ARMAX, and other advanced models to predict trends.
- Comparison of Lithium Exports: Focused on export dynamics of key producers, Chile and Australia.
- Impact Assessment: Examined how significant market events influence lithium prices and production.
- Forecasting Accuracy:
- For Australia: Holt’s Exponential Smoothing showed the best Mean Absolute Percentage Error (MAPE) at 13.64.
- For Chile: ARMAX with explanatory variables (SQM, lithium battery trends, Mineral Resources stock) had the lowest MAPE.
- Market Potential: The Bass and Generalized Bass Models indicate the lithium market’s growth potential has not been fully realized, with future demand expected to increase moderately.
- Influential Factors: Key variables such as Google Trends for lithium batteries, Mineral Resources stock, and electric vehicle adoption significantly impact lithium demand.
The dataset includes the following sources and variables:
- Lithium Export Data: Kilotons of lithium exported from Australia and Chile.
- Economic Indicators: GDP data for Australia and Chile.
- Energy Data: Electric vehicle stock and charging infrastructure (global, by region).
- Google Trends: Search interest in e-cars, lithium, and batteries.
- Stock Market Data: Stock prices for companies like Albemarle, Mineral Resources, and SQM.
The following methods and models were employed in this analysis:
- Time Series Analysis: Analyzed the trend and seasonality of lithium exports.
- Bass and Generalized Bass Model (GBM): Estimated market potential and assessed shock impacts.
- Competition Model: Compared exports from Australia and Chile.
- Forecasting Models:
- Holt’s Exponential Smoothing: Basic forecasting with emphasis on MAPE.
- KNN Regression: Adapted for time series with lagged values.
- ARIMA and ARMAX: Time series with drift and explanatory variables (like GDP and electric vehicle stock).
Here are some key visualizations to consider including: [Under Construction]
🛠️ Highlighting the primary tools and methods employed in this project.
- : Primary language for data processing, analysis, and forecasting.
- 📉 Time Series Analysis: Used for trend and seasonality analysis in lithium exports.
- 🔮 Forecasting Models: Implemented models including Holt’s Exponential Smoothing, ARIMA, ARMAX, and KNN Regression to predict lithium trends.
Clone the repository and follow these steps to run the analysis:
# Clone the repository
git clone https://github.com/username/lithium_forecasting.git
# Navigate to the project directory
cd lithium_forecasting
# Run the data preparation scripts
Rscript load_data.R
Rscript transform_data.R
# Run forecasting models
Rscript models.R # Runs all models except ARIMA
Rscript arima_armax.R # Runs ARIMA/ARMAX models
The repository includes the following R scripts:
load_data.R
: Downloads data from the GitHub repository.transform_data.R
: Performs necessary data transformations.models.R
: Executes forecasting models (excluding ARIMA).arima_armax.R
: Runs ARIMA/ARMAX models.
To run the analysis, execute each script sequentially or as needed.
Contributions are welcome! Please see the contributing guidelines for more details.