x: the probability integral transformed series (pit).
alpha: the quantile level for calculating the forecast value at risk and expected shortfall.
lags: the numbers of lags to use for the conditional test.
boot: whether to use bootstrap simulation for estimating the p-values.
n_boot: the bootstrap replications used to calculate the p-value.
...: not currently used.
Returns
An object of class tstest.shortfall_de which has a print and as_flextable method.
Details
The test of Du and Escanciano (2017) combines ideas from Berkowitz (2001) and Christoffersen (1998) to create an unconditional and conditional shortfall test based on the probability integral transformed actuals conditioned on the forecast distribution to evaluate the severity and independence of the residuals shortfall (based on violations of VaR). The unconditional test (severity) checks for the mean of cumulative violations using a t-test, whilst the conditional test (independence) is a Portmanteau test applied to estimated cumulative violations. A bootstrap approach to calculating the distribution of the test statistics is available for finite samples, similar to the suggestions of McNeil (2000).