Skip to content

Commit 54de3ac

Browse files
committed
Updated documentation to incorporate the new specifications slot
1 parent 17f5f7c commit 54de3ac

File tree

7 files changed

+26
-14
lines changed

7 files changed

+26
-14
lines changed

R/bootURtests.R

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@
4848
#' \item{\code{p.value}}{The p-value(s) of the unit root test(s);}
4949
#' \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;}
5050
#' \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).}
5253
#' @section Warnings:
5354
#' The function may give the following warnings.
5455
#' \describe{
@@ -211,7 +212,8 @@ boot_ur <- function(data, data_name = NULL, bootstrap = "AWB", B = 1999, block_l
211212
#' \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;}
212213
#' \item{\code{estimate}}{The estimated value of the (gamma) parameter of the lagged dependent variable in the ADF regression.;}
213214
#' \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.}
215217
#' @section Errors and warnings:
216218
#' \describe{
217219
#' \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,
289291
#' \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;}
290292
#' \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;}
291293
#' \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.}
293296
#' @section Errors and warnings:
294297
#' \describe{
295298
#' \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
358361
#' \item{\code{p.value}}{A vector with \code{NA} values, as p-values are not available for the FDR method;}
359362
#' \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});}
360363
#' \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).}
362366
#' @section Errors and warnings:
363367
#' \describe{
364368
#' \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_
481485
#' \item{\code{statistic}}{The value of the test statistic of the unit root tests;}
482486
#' \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};}
483487
#' \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.}
486491
#' @section Errors and warnings:
487492
#' \describe{
488493
#' \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 = "
599604
#' \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;}
600605
#' \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;}
601606
#' \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.}
603609
#' @section Errors and warnings:
604610
#' \describe{
605611
#' \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.}

man/boot_adf.Rd

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/boot_fdr.Rd

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/boot_panel.Rd

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/boot_sqt.Rd

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/boot_union.Rd

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/boot_ur.Rd

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)