S = summary(ebts)
returns a basic report on the given esbacktestbysim data,
including the number of observations, number of failures, observed confidence
level, and so on (see S for details).
esbacktestbysim (ebts) object,
which contains a copy of the given data (the
PortfolioData, VarData,
ESData, and Distribution
properties) and all combinations of portfolio ID, VaR ID, and VaR levels
to be tested. For more information on creating an
esbacktestbysim object, see esbacktestbysim.
Summary report, returned as a table. The table rows correspond to all
combinations of portfolio ID, VaR ID, and VaR levels to be tested. The
columns correspond to the following information:
'PortfolioID' — Portfolio ID for
the given data
'VaRID' — VaR ID for each of the
VaR data columns provided
'VaRLevel' — VaR level for the
corresponding VaR data column
'ObservedLevel' — Observed
confidence level, defined as the number of periods without
failures divided by number of observations
'ExpectedSeverity' — Expected
average severity ratio, that is, the average ratio of ES to
VaR over the periods with VaR failures
'ObservedSeverity' — Observed
average severity ratio, that is, the average ratio of loss
to VaR over the periods with VaR failures
'Observations' — Number of
observations, where missing values are removed from the
data
'Failures' — Number of failures,
where a failure occurs whenever the loss (negative of
portfolio data) exceeds the VaR
'Expected' — Expected number of
failures, defined as the number of observations multiplied
by 1 minus the VaR level
'Ratio' — Ratio of number of
failures to expected number of failures
'Missing' — Number of periods
with missing values removed from the sample
Note
The 'ExpectedSeverity' and
'ObservedSeverity' ratios are
undefined (NaN) when there are no VaR
failures in the data.