[Paper Review] Hedging and machine learning driven crude oil data analysis using a refined Barndorff-Nielsen and Shephard model
This paper proposes a machine learning-enhanced refinement of the Barndorff-Nielsen and Shephard (BN-S) stochastic volatility model for crude oil price analysis, using volatility and duration-based classification to extract a deterministic parameter θ. The refined model significantly reduces quadratic hedging error compared to the classical BN-S model, demonstrating superior performance in capturing long-range dependence and crash-like market dynamics in Bakken crude oil data.
In this paper, a refined Barndorff-Nielsen and Shephard (BN-S) model is implemented to find an optimal hedging strategy for commodity markets. The refinement of the BN-S model is obtained with various machine and deep learning algorithms. The refinement leads to the extraction of a deterministic parameter from the empirical data set. The problem is transformed to an appropriate classification problem with a couple of different approaches: the volatility approach and the duration approach. The analysis is implemented to the Bakken crude oil data and the aforementioned deterministic parameter is obtained for a wide range of data sets. With the implementation of this parameter in the refined model, the resulting model performs much better than the classical BN-S model.
Motivation & Objective
- To address the long-range dependence limitation of the classical Barndorff-Nielsen and Shephard (BN-S) stochastic volatility model in commodity markets.
- To improve the accuracy of quadratic hedging strategies for crude oil by refining the BN-S model using data-driven techniques.
- To investigate whether machine learning can effectively extract a deterministic parameter (θ) from empirical oil price data to enhance model performance.
- To evaluate the effectiveness of two distinct classification approaches—volatility and duration—for identifying crash-like market events in crude oil time series.
- To demonstrate that data science-driven model refinement leads to more robust and accurate commodity market modeling and risk management.
Proposed method
- A refined BN-S model is formulated with a deterministic parameter θ ∈ [0,1], which controls the relative contribution of two independent subordinators (Z and Z(b)) to the volatility process.
- The volatility approach classifies data based on realized volatility over rolling 20-day windows, using maximum percentage return as a crash indicator.
- The duration approach classifies data based on the length of drawdowns—defined as the time from a local peak to the next local trough—identifying extended market declines.
- Supervised machine learning models (Logistic Regression, Random Forest, Neural Networks, LSTM, and Bayesian Networks) are trained to predict θ using features derived from volatility and duration.
- The refined model incorporates long-range dependence by allowing two jump components, with the parameter θ learned from data via classification, preserving the model's tractability.
- Quadratic hedging is applied to the refined model to minimize hedging error, and performance is evaluated using precision, recall, and F1-score across multiple time windows.
Experimental results
Research questions
- RQ1Can machine learning techniques effectively extract a deterministic parameter θ from crude oil price data to refine the classical BN-S model?
- RQ2Does the volatility-based classification approach provide a reliable method for identifying crash-like market events in crude oil time series?
- RQ3Can the duration-based classification of drawdowns improve the detection of prolonged market downturns and enhance model robustness?
- RQ4How does the performance of the refined BN-S model compare to the classical BN-S model in terms of quadratic hedging error and risk management?
- RQ5To what extent can data science and deep learning techniques be used to enhance the predictive power of stochastic volatility models in commodity markets?
Key findings
- The refined BN-S model with machine learning-derived θ significantly outperforms the classical BN-S model in minimizing quadratic hedging error across multiple Bakken crude oil data windows.
- The LSTM model achieved the highest F1-score of 0.95 for θ = 0 in the volatility approach (Table 20), indicating strong performance in identifying non-crash periods.
- In the duration approach, the Bayesian Network (BN) model achieved an F1-score of 0.65 for θ = 0 and 0.62 for θ = 1 in the 2013–2014 data window (Table 21), showing strong generalization across different market regimes.
- The volatility approach consistently yielded higher F1-scores (e.g., 0.85–0.95) than the duration approach (e.g., 0.54–0.65), suggesting it is more effective for crash detection in this dataset.
- The model with θ learned via machine learning demonstrated long-range dependence, as evidenced by the correlation structure in Equation (2.6), which captures persistent volatility clustering.
- The data-driven approach successfully extracted a deterministic parameter θ from empirical data, enabling the model to incorporate long-term memory without altering its core stochastic structure.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.