> ## Documentation Index
> Fetch the complete documentation index at: https://docs.activeviam.com/llms.txt
> Use this file to discover all available pages before exploring further.

# IMCC calculations

The following measures walk through the IMCC calculation and can be found in the bookmark: Basel Framework → IMA → IMCC.

* The calculations start with the P\&L vectors.  These can be queried using the [PnL Expand](https://docs.activeviam.com/solutions/frtb/6.0/cube/measures/internalmodelapproach.md#pnl-expand) measure.
  The P\&L vectors are defined per **Liquidity Horizon**, **Risk Class**, and **Data Set**.  Aggregation across these levels is not defined, so each of these levels must be present in queries for this measure.
  Additionally, **PnL Expand** expands the P\&L vector along the Scenarios analysis hierarchy.

* Next, the [ES (Basic)](https://docs.activeviam.com/solutions/frtb/6.0/cube/measures/internalmodelapproach.md#es-basic) measure calculates the expected shortfall from the P\&L vector.
  Again, there is no aggregation across the **Liquidity Horizon**, **Risk Class**, and **Data Set** levels and they must be present in queries for this measure.
  The confidence level comes from the `ima.es.confidence-level` parameter, and defaults to 97.5%.

* The [ES (Liquidity Adj.)](https://docs.activeviam.com/solutions/frtb/6.0/cube/measures/internalmodelapproach.md#es-liquidity-adj) measure combines the expected shortfall across liquidity horizons, by performing the liquidity adjustment of {baselLink("MAR", 33, 4)}.
  The **Data Set** and **Risk Class** levels must still be present in queries for this measure.
  The value of *T* comes from the `ima.base-horizon` parameter, and defaults to 10.

* The [ES (Model Variation)](https://docs.activeviam.com/solutions/frtb/6.0/cube/measures/internalmodelapproach.md#es-model-variation) measure is the ratio of the expected shortfall of the reduced, current dataset with the full, current dataset.  As per {baselLink("MAR", 33, 5, "[MAR33.5(2)(b)]")}, this should be at least 75%.
  The **Risk Class level** must still be present in queries for this measure.

* The [ES (Capital)](https://docs.activeviam.com/solutions/frtb/6.0/cube/measures/internalmodelapproach.md#es-capital) measure combines the expected shortfall across datasets to calibrate it to the period of stress, according to {baselLink("MAR", 33, 6)}.
  The **Risk Class** level must still be present in queries for this measure.

* The [ES (Capital Constrained)](https://docs.activeviam.com/solutions/frtb/6.0/cube/measures/internalmodelapproach.md#es-capital-constrained) measure is the sum of **ES (Capital)** over the risk-classes, excluding the "allin" risk-class.

* The [ES (Capital Unconstrained)](https://docs.activeviam.com/solutions/frtb/6.0/cube/measures/internalmodelapproach.md#es-capital-unconstrained) measure is the **ES (Capital)** filtered by "allin" risk-class.

* The [Omega](https://docs.activeviam.com/solutions/frtb/6.0/cube/measures/internalmodelapproach.md#omega) measure is the value of ω in the {baselLink("MAR", 33, 15)} FAQ.

* The [IMCC](https://docs.activeviam.com/solutions/frtb/6.0/cube/measures/internalmodelapproach.md#imcc) measure uses the **ES (Capital Constrained)** and **ES (Capital Unconstrained)** measures to calculate *IMCC* in {baselLink("MAR", 33, 15)}.
  The value of ρ comes from the `ima.rho.imcc` parameter, and defaults to 0.5.
