|
48 | 48 | #' \item{\code{p.value}}{The p-value(s) of the unit root test(s);} |
49 | 49 | #' \item{\code{rejections}}{For \code{"mult_htest"} only. A vector with logical indicators for each time series whether the null hypothesis of a unit root is rejected (\code{TRUE}) or not (\code{FALSE}). This is only supplied when an optional significance level is given, otherwise \code{NULL} is returned;} |
50 | 50 | #' \item{\code{details}}{For \code{"mult_htest"} only. The details of the performed tests in a matrix containing parameter estimate. test statistic and p-value for each time series.} |
51 | | -#' \item{\code{series.names}}{For \code{"mult_htest"} only. The names of the series that the tests are performed on.} |
| 51 | +#' \item{\code{series.names}}{For \code{"mult_htest"} only. The names of the series that the tests are performed on;} |
| 52 | +#' \item{\code{specifications}}{The specifications used in the test(s).} |
52 | 53 | #' @section Warnings: |
53 | 54 | #' The function may give the following warnings. |
54 | 55 | #' \describe{ |
@@ -211,7 +212,8 @@ boot_ur <- function(data, data_name = NULL, bootstrap = "AWB", B = 1999, block_l |
211 | 212 | #' \item{\code{alternative}}{A character string specifying the direction of the alternative hypothesis relative to the null value. The alternative postulates that the series is stationary;} |
212 | 213 | #' \item{\code{estimate}}{The estimated value of the (gamma) parameter of the lagged dependent variable in the ADF regression.;} |
213 | 214 | #' \item{\code{statistic}}{The value of the test statistic of the unit root test;} |
214 | | -#' \item{\code{p.value}}{The p-value of the unit root test.} |
| 215 | +#' \item{\code{p.value}}{The p-value of the unit root test;} |
| 216 | +#' \item{\code{specifications}}{The specifications used in the test.} |
215 | 217 | #' @section Errors and warnings: |
216 | 218 | #' \describe{ |
217 | 219 | #' \item{\code{Error: Multiple time series not allowed. Switch to a multivariate method such as boot_ur, or change argument data to a univariate time series.}}{The function is a simple wrapper around \code{\link{boot_ur}} to facilitate use for single time series. It does not support multiple time series, as \code{\link{boot_ur}} is specifically suited for that.} |
@@ -289,7 +291,8 @@ boot_adf <- function(data, data_name = NULL, bootstrap = "AWB", B = 1999, |
289 | 291 | #' \item{\code{alternative}}{A character string specifying the direction of the alternative hypothesis relative to the null value. The alternative postulates that the series is stationary;} |
290 | 292 | #' \item{\code{estimate}}{For the union test, the estimated value of the (gamma) parameter of the lagged dependent variable in the ADF regression is not defined, hence NA is given;} |
291 | 293 | #' \item{\code{statistic}}{The value of the test statistic of the unit root test;} |
292 | | -#' \item{\code{p.value}}{The p-value of the unit root test.} |
| 294 | +#' \item{\code{p.value}}{The p-value of the unit root test;} |
| 295 | +#' \item{\code{specifications}}{The specifications used in the test.} |
293 | 296 | #' @section Errors and warnings: |
294 | 297 | #' \describe{ |
295 | 298 | #' \item{\code{Error: Multiple time series not allowed. Switch to a multivariate method such as boot_ur, or change argument data to a univariate time series.}}{The function is a simple wrapper around \code{\link{boot_ur}} to facilitate use for single time series. It does not support multiple time series, as \code{\link{boot_ur}} is specifically suited for that.} |
@@ -358,7 +361,8 @@ boot_union <- function(data, data_name = NULL, bootstrap = "AWB", B = 1999, bloc |
358 | 361 | #' \item{\code{p.value}}{A vector with \code{NA} values, as p-values are not available for the FDR method;} |
359 | 362 | #' \item{\code{rejections}}{A vector with logical indicators for each time series whether the null hypothesis of a unit root is rejected (\code{TRUE}) or not (\code{FALSE});} |
360 | 363 | #' \item{\code{details}}{The details of the performed tests in a matrix containing for each step the test statistics and critical value, up to non-rejection.} |
361 | | -#' \item{\code{series.names}}{The names of the series that the tests are performed on.} |
| 364 | +#' \item{\code{series.names}}{The names of the series that the tests are performed on;} |
| 365 | +#' \item{\code{specifications}}{The specifications used in the test(s).} |
362 | 366 | #' @section Errors and warnings: |
363 | 367 | #' \describe{ |
364 | 368 | #' \item{\code{Error: Resampling-based bootstraps MBB and SB cannot handle missing values.}}{If the time series in \code{data} have different starting and end points (and thus some series contain \code{NA} values at the beginning and/or end of the sample, the resampling-based moving block bootstrap (MBB) and sieve bootstrap (SB) cannot be used, as they create holes (internal missings) in the bootstrap samples. Switch to another bootstrap method or truncate your sample to eliminate \code{NA} values.} |
@@ -481,8 +485,9 @@ boot_fdr <- function(data, data_name = NULL, bootstrap = "AWB", B = 1999, block_ |
481 | 485 | #' \item{\code{statistic}}{The value of the test statistic of the unit root tests;} |
482 | 486 | #' \item{\code{p.value}}{A vector with \code{NA} values, as p-values per inidividual series are not available.The p-value for each test in the sequence can be found in \code{details};} |
483 | 487 | #' \item{\code{rejections}}{A vector with logical indicators for each time series whether the null hypothesis of a unit root is rejected (\code{TRUE}) or not (\code{FALSE});} |
484 | | -#' \item{\code{details}}{The details of the performed tests in a matrix containing for each step the stationary units undr the null and alternative hypothesis, the test statistic and the p-value.} |
485 | | -#' \item{\code{series.names}}{The names of the series that the tests are performed on.} |
| 488 | +#' \item{\code{details}}{The details of the performed tests in a matrix containing for each step the stationary units undr the null and alternative hypothesis, the test statistic and the p-value;} |
| 489 | +#' \item{\code{series.names}}{The names of the series that the tests are performed on;} |
| 490 | +#' \item{\code{specifications}}{The specifications used in the tests.} |
486 | 491 | #' @section Errors and warnings: |
487 | 492 | #' \describe{ |
488 | 493 | #' \item{\code{Error: Resampling-based bootstraps MBB and SB cannot handle missing values.}}{If the time series in \code{data} have different starting and end points (and thus some series contain \code{NA} values at the beginning and/or end of the sample, the resampling-based moving block bootstrap (MBB) and sieve bootstrap (SB) cannot be used, as they create holes (internal missings) in the bootstrap samples. Switch to another bootstrap method or truncate your sample to eliminate \code{NA} values.} |
@@ -599,7 +604,8 @@ boot_sqt <- function(data, data_name = NULL, steps = 0:NCOL(data), bootstrap = " |
599 | 604 | #' \item{\code{alternative}}{A character string specifying the direction of the alternative hypothesis relative to the null value. The alternative postulates that the series is stationary;} |
600 | 605 | #' \item{\code{estimate}}{For the union test, the estimated value of the (gamma) parameter of the lagged dependent variable in the ADF regression is not defined, hence NA is given;} |
601 | 606 | #' \item{\code{statistic}}{The value of the test statistic of the unit root test;} |
602 | | -#' \item{\code{p.value}}{The p-value of the unit root test.} |
| 607 | +#' \item{\code{p.value}}{The p-value of the unit root test;} |
| 608 | +#' \item{\code{specifications}}{The specifications used in the test.} |
603 | 609 | #' @section Errors and warnings: |
604 | 610 | #' \describe{ |
605 | 611 | #' \item{\code{Error: Resampling-based bootstraps MBB and SB cannot handle missing values.}}{If the time series in \code{data} have different starting and end points (and thus some series contain \code{NA} values at the beginning and/or end of the sample, the resampling-based moving block bootstrap (MBB) and sieve bootstrap (SB) cannot be used, as they create holes (internal missings) in the bootstrap samples. Switch to another bootstrap method or truncate your sample to eliminate \code{NA} values.} |
|
0 commit comments