-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
109 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
Examples of calculation thresholds | ||
==================================== | ||
|
||
Estimating thresholds given a multi-period transition matrix set. Example of using portfolioAnalytics to compute multi-period transition thresholds | ||
compatible with a given transition matrix. | ||
|
||
|
||
Rating Transition Thresholds | ||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
* calculate_thresholds.py | ||
* validated_thresholds.py | ||
* visualize_thresholds.py | ||
|
||
Validate computed thresholds. | ||
|
||
The mathematical framework documented in | ||
`Multi-Period Transition Thresholds <https://www.openriskmanual.org/wiki/Multi-Period_Transition_Thresholds>`_ | ||
|
||
.. image:: ../../examples/Thresholds.png | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Examples of calculating variance | ||
======================================== | ||
|
||
Calculating the default rate volatility (variance) of a portfolio requires two inputs: | ||
* a set of suitable portfolio data | ||
* an asset correlation matrix |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
Examples of calculating portolio models | ||
======================================== | ||
|
||
The examples directory includes python scripts and jupyter notebooks to help you get started | ||
|
||
- Generating loss distributions analytically | ||
- Estimating thresholds given a multi-period transition matrix set | ||
|
||
Located in examples/python (For testing purposes all examples can be run using the run_examples.py script | ||
located in the root directory) | ||
|
||
|
||
Portfolio Models | ||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
* portolio_model.py | ||
|
||
Using the portfolio model library to calculate default probabilities in finite | ||
portfolio with N credits | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
Examples of validating transition thresholds | ||
================================================ | ||
|
||
The examples directory includes python scripts and jupyter notebooks to help you get started | ||
|
||
- Generating loss distributions analytically | ||
- Estimating thresholds given a multi-period transition matrix set | ||
|
||
Located in examples/python (For testing purposes all examples can be run using the run_examples.py script | ||
located in the root directory) | ||
|
||
|
||
|
||
Validating Transition Thresholds | ||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
* validate_thresholds.py | ||
|
||
Example of using portfolioAnalytics to compute multi-period transition thresholds | ||
compatible with a given transition matrix. Validate computed thresholds. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
Examples of visualizing thresholds | ||
================================================ | ||
|
||
The examples directory includes python scripts and jupyter notebooks to help you get started | ||
|
||
- Generating loss distributions analytically | ||
- Estimating thresholds given a multi-period transition matrix set | ||
|
||
Located in examples/python (For testing purposes all examples can be run using the run_examples.py script | ||
located in the root directory) | ||
|
||
|
||
Visualizing Rating Transition Thresholds | ||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
* visualize_thresholds.py | ||
|
||
Example of using portfolioAnalytics to compute multi-period transition thresholds | ||
compatible with a given transition matrix. Validate computed thresholds. | ||
|
||
The mathematical framework documented in | ||
`Multi-Period Transition Thresholds <https://www.openriskmanual.org/wiki/Multi-Period_Transition_Thresholds>`_ | ||
|
||
.. image:: ../../examples/Thresholds.png |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters