Skip to content

This project analyzes Brent oil prices from 1987-2022, detecting structural changes and associating them with major events to provide data-driven insights for the energy industry.

License

Notifications You must be signed in to change notification settings

Daniel-Andarge/AiML-brent-oil-price-analysis

Repository files navigation

Time Series Analysis of Brent Oil Prices: Detecting Changes and Associating Causes

This project analyzes Brent oil prices from 1987-2022, detecting structural changes and associating them with major events to provide data-driven insights for the energy industry.

Table of Contents

  1. Project Objective
  2. Technologies and Tools Used
  3. Exploratory Data Analysis EDA
  4. Statistical and Econometric Models to Refine the Analysis
  5. Other Potential Factors Influencing Oil Prices
  6. Contributing
  7. License

Project Objective

The primary objective of this project is to analyze how significant events such as political decisions, conflicts in oil-producing regions, global economic sanctions, and changes in OPEC policies—impact the price of Brent oil. This project will:

  1. Identify Key Events: Pinpoint the major events over the past decade that have significantly influenced Brent oil prices.

  2. Measure Impact: Assess the degree to which these events contribute to price fluctuations.

  3. Provide Actionable Insights: Deliver clear, actionable insights that will assist investors, policymakers, and energy companies in understanding and responding to these price changes effectively.

By tackling this issue, Birhan Energies aims to empower its clients to make informed decisions, manage risks more efficiently, and optimize strategies for investment, policy development, and operational planning within the energy sector.

Technologies and Tools Used

  • Programming Languages & Frameworks:

    • Python
  • Data Analysis & Manipulation:

    • Pandas
    • NumPy
    • Matplotlib
    • Plotly
    • Jupyter Notebook
  • Machine Learning & Modeling:

    • Scikit-learn
    • PyMC3
    • LSTM
    • ARIMA (AutoRegressive Integrated Moving Average)
  • Statistical Techniques:

    • Bayesian Inference
    • Probability Distributions
    • Statistical Modeling
    • Bayesian Modeling
  • Development Practices:

    • Continuous Integration/Continuous Deployment (CI/CD)
    • Version Control with Git
  • Analysis Techniques:

    • Exploratory Data Analysis (EDA)
    • Policy Analysis

Exploratory Data Analysis (EDA)

This section provides an in-depth Exploratory Data Analysis (EDA) of the Brent oil price dataset. To access the complete EDA, please click the link below:

View Full EDA Notebook

Statistical and Econometric Models to Refine the Analysis

ARIMA model to the Brent oil prices data

ARIMAplot

LSTM (Long Short-Term Memory) Model

The training and validation loss plot ltsm plot

The Actual vs Predicted prices plot ltsm plot

Other Potential Factors Influencing Oil Price

Correlation between GDP growth rates of major economies and oil prices

correlation plot

Brent oil prices and GDP growth rates over time correlation plot

Correlation between Unemployment rates & Oil consumption patterns

Filtering the data points after 2012 and analyzing the correlation correlation plot

correlation plot

Analyzing the Effect of currency fluctuations (the USD) , on oil prices

correlation plot

correlation plot

Analyzing growth in renewable energy sources on oil demand and prices.

correlation plot

correlation plot

Contributing

Contributions are welcome! Please fork the repository and submit a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

This project analyzes Brent oil prices from 1987-2022, detecting structural changes and associating them with major events to provide data-driven insights for the energy industry.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages