Given a negative return series obj$Loss, the corresponding Expected
Shortfall (ES) estimates obj$ES and a parameter beta that
defines the opportunity cost of capital, four different definitions of loss
functions are considered.
Let \(K\) be the number of observations and \(r_t\) the observed return series.
Following Sarma et al. (2003)
$$l_{t,1} = \{\widehat{ES}_t (\alpha) + r_t \}^2,$$
if \(-r_t > \widehat{ES}_t(\alpha)\)
$$l_{t,1} = \beta * \widehat{ES}_t (\alpha),$$
otherwise,
is a suitable loss function (firm's loss function), where \(\beta\) is the
opportunity cost of capital. The regulatory loss function
is identical to the firm's loss function with the exception of
\(l_{t,1} = 0\) for \(-r_t \leq \widehat{ES}_t (\alpha)\).
Abad et al. (2015) proposed another loss function
$$l_{t,a} = \{\widehat{ES}_t(\alpha) + r_t\}^2,$$
if \(-r_t > \widehat{ES}_t(\alpha)\)
$$l_{t,a} = \beta * (\widehat{ES}_t (\alpha) + r_t),$$
otherwise,
that, however, also considers opportunity costs for \(r_t > 0\). An adjustment has
been proposed by Feng. Following his idea,
$$l_{t,2} = \{\widehat{ES}_t(\alpha) + r_t\}^2,$$
if \(-r_t > \widehat{ES}_t (\alpha)\)
$$l_{t,2} = \beta * \min\{\widehat{ES}_t(\alpha) + r_t, \widehat{ES}_t(\alpha)\},$$
otherwise,
should be considered as a compromise of the regulatory and the firm's loss
functions. Note that instead of the ES, also a series of Value-at-Risk values
can be inserted for the argument obj$ES. However this is not possible if
a list returned by the varcast function is directly passed to
lossfunc.