tailrisk_return_level
Estimate the level exceeded once per return period for 1-in-N events. Converts a return period into a threshold-equivalent VaR, using tail data to quantify extreme risk.
Instructions
Estimate the level exceeded once per return period.
This is the same POT quantile as VaR in a different vocabulary: a 100-period return level equals the 99% VaR on data at that frequency. Use it when the question is phrased as a 1-in-N event rather than a confidence level.
Returns:
str: JSON with return_period, return_level,
equivalent_var_confidence, threshold and shape.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |