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

# skfolio.measures.evar

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

### skfolio.measures.evar(returns, beta=0.95)

Compute the EVaR (entropic value at risk) and its associated risk aversion.

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

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

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

