View source: R/sb.GSADF.test.R
sb.GSADF.test | R Documentation |
Sign-based SADF test
sb.GSADF.test(
y,
trim = 0.01 + 1.8/sqrt(length(y)),
const = TRUE,
alpha = 0.05,
iter = 999,
urs = TRUE,
seed = round(10^4 * sd(y))
)
y |
A time series of interest. |
trim |
A trimming parameter to determine the lower and upper bounds for a possible break point. |
const |
Whether the constant needs to be included. |
alpha |
Needed level of significance. |
iter |
Number of bootstrapping iterations. |
urs |
Use union of rejections strategy if |
seed |
The seed parameter for the random number generator. |
Refactored original code by Kurozumi et al.
Harvey, David I., Stephen J. Leybourne, and Yang Zu. “Sign-Based Unit Root Tests for Explosive Financial Bubbles in the Presence of Deterministically Time-Varying Volatility.” Econometric Theory 36, no. 1 (February 2020): 122–69. https://doi.org/10.1017/S0266466619000057.
Kurozumi, Eiji, Anton Skrobotov, and Alexey Tsarev. “Time-Transformed Test for Bubbles under Non-Stationary Volatility.” Journal of Financial Econometrics, April 23, 2022. https://doi.org/10.1093/jjfinec/nbac004.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.