Risk Contagion Using Graph Theory and Markov Chains

This example shows how to analyze aspects of risk contagion in financial time series using various mathematical tools.
923 Descargas
Actualizado 2 oct 2023

Exploring Risk Contagion Using Graph Theory and Markov Chains

View Exploring Risk Contagion Using Graph Theory and Markov Chains on File Exchange

Open in MATLAB Online

Recent financial crises and periods of market volatility have heightened awareness of risk contagion and systemic risk among financial analysts. As a result, financial professionals are often tasked with constructing and analyzing models that will yield insight into the potential impact of risk on investments, portfolios, and business operations.

Several authors have described the use of advanced mathematical and statistical techniques for quantifying the dependent relationships between investments, foreign exchange rates, industrial sectors, or geographical regions. Bridging the gap between formal methods and a working code implementation is a key challenge for analysts.

This code, along with the corresponding technical article shows how MATLAB® can be used to analyze aspects of risk contagion using various mathematical tools. Topics covered include:

  • Data aggregation, preprocessing, and risk benchmarking
  • Quantifying dependent relationships between financial variables
  • Visualizing the resulting network of dependencies together with proximity information
  • Analyzing periods of risk contagion using hidden Markov models

Installation and Getting Started

The examples are provided in a MATLAB project.

  1. Double-click on the project archive (Contagion.mlproj) to extract it using MATLAB.
  2. With MATLAB open, navigate to the newly-created project folder and double-click on the project file (Contagion.prj) to open the project.
  3. The example file is the live script RiskContagion.mlx within the project.

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 2016-2023 The MathWorks, Inc.

Community Support

MATLAB Central

Citar como

Ken Deeley (2024). Risk Contagion Using Graph Theory and Markov Chains (https://github.com/mathworks/exploring-risk-contagion-using-graph-theory-and-markov-chains/releases/tag/v1.2.3), GitHub. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2016a
Compatible con cualquier versión desde R2022b
Compatibilidad con las plataformas
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Versión Publicado Notas de la versión
1.2.3.0

See release notes for this release on GitHub: https://github.com/mathworks/exploring-risk-contagion-using-graph-theory-and-markov-chains/releases/tag/v1.2.3

1.2.2.0

See release notes for this release on GitHub: https://github.com/mathworks/exploring-risk-contagion-using-graph-theory-and-markov-chains/releases/tag/v1.2.2

1.2.1

See release notes for this release on GitHub: https://github.com/mathworks/exploring-risk-contagion-using-graph-theory-and-markov-chains/releases/tag/v1.2.1

1.1.0.1

Updated license

1.1.0.0

Updated description box.

1.0.0.0

Para consultar o notificar algún problema sobre este complemento de GitHub, visite el repositorio de GitHub.
Para consultar o notificar algún problema sobre este complemento de GitHub, visite el repositorio de GitHub.