check_inputs {bootUR} | R Documentation |
Auxiliary Function (not accessible to users) to check if all arguments put in by the user are correct, and to perform some preliminary calculations.
Description
Auxiliary Function (not accessible to users) to check if all arguments put in by the user are correct, and to perform some preliminary calculations.
Usage
check_inputs(data, boot_sqt_test, boot_ur_test, level, bootstrap, B,
block_length, ar_AWB, union, min_lag, max_lag, criterion, deterministics,
detrend, steps, do_parallel, cores, data_name)
Arguments
data |
A |
boot_sqt_test |
Logical indicator whether or not to perform the Bootstrap Quantile Test ( |
boot_ur_test |
Logical indicator whether or not to perform the individual ADF Tests ( |
level |
Desired significance level of the unit root test. |
bootstrap |
String for bootstrap method to be used. Options are
|
B |
Number of bootstrap replications. Default is 1999. |
block_length |
Desired 'block length' in the bootstrap. For the MBB, BWB and DWB bootstrap, this is a genuine block length. For the AWB bootstrap, the block length is transformed into an autoregressive parameter via the formula |
ar_AWB |
Autoregressive parameter used in the AWB bootstrap method ( |
union |
Logical indicator whether or not to use bootstrap union tests ( |
min_lag |
Minimum lag length in the augmented Dickey-Fuller regression. |
max_lag |
Maximum lag length in the augmented Dickey-Fuller regression. |
criterion |
String for information criterion used to select the lag length in the augmented Dickey-Fuller regression. Options are: |
deterministics |
Numeric vector indicating the deterministic specification. Only relevant if |
detrend |
String vector indicating the type of detrending to be performed. Only relevant if |
steps |
Numeric vector of quantiles to be tested. Default is to test each unit sequentially. |
do_parallel |
Logical indicator whether bootstrap loop should be executed in parallel. Default is TRUE. |
cores |
The number of cores to be used in the parallel loops. Default is to use all but one. |
data_name |
Optional name for the data, to be used in the output. The default uses the name of the 'data' argument. |