Estimating Option-Implied Distributions for Asset Pricing

This example shows how to create a forecast for the performance of an asset, starting with relatively scarce option price data.
1.4K Downloads
Updated 2 Oct 2023

Estimating Option-Implied Probability Distributions for Asset Pricing

View Estimating Option-Implied Probability Distributions for Asset Pricing on File Exchange

Open in MATLAB Online

Forecasting the performance of an asset and quantifying the uncertainty associated with such a forecast is a difficult task: one that is frequently made more difficult by a shortage of observed market data.

Recently, there has been interest from central banks in using observed option price data for creating forecasts, particularly during periods of financial uncertainty. Call and put options on an asset are influenced by how the market believes that asset will perform in the future.

This code, along with the corresponding technical article, describes a workflow in which MATLAB® is used to create a forecast for the performance of an asset, starting with relatively scarce option price data observed from the market.

The main steps in this workflow are:

  • Computing implied volatility from market data
  • Creating additional data points using SABR interpolation
  • Estimating implied probability densities
  • Simulating future asset prices
  • Presenting the forecast uncertainty in a fan chart

Installation and Getting Started

The examples are provided in a MATLAB project.

  1. Double-click on the project archive (Options.mlproj) to extract it using MATLAB.
  2. With MATLAB open, navigate to the newly-created project folder and double-click on the project file (Options.prj) to open the project.
  3. The main example file is the live script DistributionsForAssetPricing.mlx within the project.
  4. The examples rely on simulated option price data created by the function generateSampleOptionData.mlx.

MathWorks® Product Requirements

This example was updated using MATLAB release R2022b.

License

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

Copyright 2015-2023 The MathWorks, Inc.

Community Support

MATLAB Central

Cite As

Ken Deeley (2024). Estimating Option-Implied Distributions for Asset Pricing (https://github.com/mathworks/estimating-option-implied-probability-distributions-for-asset-pricing/releases/tag/v1.0.4), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2015a
Compatible with R2022b and later releases
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.