Description Usage Arguments Value References See Also Examples
This function runs Ahlgren and Catani's (2016) wild bootstrap (WB) test for error autocorrelation in VAR models. The function uses the test results from the function ACtest
for the argument 'test'
, so that ACtest
must be used before running wildBoot
.
1 2 3 4 5 |
test |
An object of class |
WBtype |
set this to |
B |
the number of bootstrap simulations (default is 199). |
WBdist |
the distribution used for the wild bootstrap error terms. Either |
HCtype |
a vector of the |
univariate |
either |
x |
Object with class attribute ‘wildBoot’. |
... |
further arguments passed to or from other methods. |
a list of class "wildBoot"
.
test |
the |
WBtype |
the |
B |
the number of bootstrap simulations. |
WBdist |
the distribution used for the wild bootstrap error terms.. |
HCtype |
the |
description |
who ran the function and when. |
time |
computation time taken to run the WB test. |
call |
how the function |
numberOfErrors |
number of times the bootstrap simulations gave an error (can happen if one of the matrices becomes computational singular). If this happens, the particular bootstrap sample will be resimulated. |
numberOfNA |
number of times the test from the bootstrap simulations returned NA. If this happens, the particular bootstrap sample will be resimulated. |
WBr.Q |
a B x 5 matrix of the recursive wild bootstrap (if used) Q statistics. Each row is the Q statistics from a bootstrap sample. |
WBr.pv |
the P. values from the recursive design wild bootstrap (if used). |
WBf.Q |
a B x 5 matrix of the fixed wild bootstrap (if used) Q statistics. Each row is the Q statistics from a bootstrap sample. |
WBf.pv |
the P. values from the fixed design wild bootstrap (if used). |
uniList |
a list of the corresponding above items ( |
Ahlgren, N. & Catani, P. (2016). Wild bootstrap tests for autocorrelation in vector autoregressive models. Stat Papers, <doi:10.1007/s00362-016-0744-0>.
ACtest
for the test that is required to be run before the wildBoot
function.
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.