Climate Examples: Commodity Volatility Modelling

版本 1.0.3.0 (3.5 MB) 作者: Ken Deeley
This collection of examples analyzes, models, and forecasts the volatility associated with a collection of soft commodities.
36.0 次下载
更新时间 2023/10/2

Commodity Volatility Modelling

View Climate Examples: Commodity Volatility Modelling on File Exchange

Open in MATLAB Online

Modelling and forecasting volatility is a common task in many financial applications. This collection of examples analyzes, models, and forecasts the volatility associated with a collection of soft commodities.

Soft commodities are impacted by uncertainties associated with both short and long-term changes in weather patterns caused by climate change. As these uncertainties increase, we expect volatility modelling to increase in importance as practitioners seek to improve their forecasts of market responses to the impacts of climate change.

The examples in this collection are designed to showcase a range of statistical methods, machine learning techniques, and time-series models which are broadly applicable in the volatility modelling area.

The examples were developed by Phoebe Piercy and Ken Deeley at MathWorks.

Installation and Getting Started

The examples are provided in a MATLAB project.

  1. Double-click on the project archive (Commodities.mlproj) to extract it using MATLAB.
  2. With MATLAB open, navigate to the newly-created project folder and double-click on the project file (Commodities.prj) to open the project.
  3. The example files are the live scripts within the project.
    • S01_DataProcessing.mlx: This script imports and processes the data for subsequent modelling.
    • S02_TrendDecomposition.mlx: This script clusters the commodities based on trend analysis.
    • S03_NonParametricVolatility: This script performs nonparametric volatility estimates and further clustering on the commodities.
    • S04_ModelBasedVolatility: This script forecasts volatility using time-series models for the principal components of the volatility.
  4. The examples rely on external commodity data provided by the World Bank. The example file S01_DataProcessing.mlx downloads this data, and requires an internet connection.

MathWorks® Product Requirements

These examples were developed for MATLAB release R2022b or later.

License

The license for this entry is available in the license.txt file in this GitHub repository.

Copyright 2022-2023 The MathWorks, Inc.

Community Support

MATLAB Central

引用格式

Ken Deeley (2024). Climate Examples: Commodity Volatility Modelling (https://github.com/mathworks/climate-examples-commodity-volatility/releases/tag/v1.0.3), GitHub. 检索来源 .

MATLAB 版本兼容性
创建方式 R2022b
与 R2022b 及更高版本兼容
平台兼容性
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.3.0

See release notes for this release on GitHub: https://github.com/mathworks/climate-examples-commodity-volatility/releases/tag/v1.0.3

1.0.2.0

See release notes for this release on GitHub: https://github.com/mathworks/climate-examples-commodity-volatility/releases/tag/v1.0.2

1.0.1.0

See release notes for this release on GitHub: https://github.com/mathworks/climate-examples-commodity-volatility/releases/tag/v1.0.1

1.0.0

要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库