<a id="skfolio-measures-edar"></a>

# skfolio.measures.edar

<a id="skfolio.measures.edar"></a>

### skfolio.measures.edar(drawdowns, beta=0.95)

Compute the EDaR (entropic drawdown at risk).

The EDaR is a coherent risk measure which is an upper bound for the DaR and the
CDaR, obtained from the Chernoff inequality. The EDaR can be represented by using
the concept of relative entropy.

* **Parameters:**
  **drawdowns** *ndarray of shape (n_observations,)*
  : Vector of drawdowns.

  **beta** *float, default=0.95*
  : The EDaR confidence level.
* **Returns:**
  **value** *float*
  : EDaR.

