View source: R/weighted.SADF.test.R
| supBZ.statistic | R Documentation |
Calculate supBZ statistic
supBZ.statistic(
y,
trim = 0.01 + 1.8/sqrt(length(y)),
sigma.sq = NULL,
generalized = FALSE
)
y |
A time series of interest. |
trim |
The trimming parameter to find the lower and upper bounds of possible break dates. |
sigma.sq |
Local non-parametric estimates of variance. If |
generalized |
Whether to calculate generalized statistic value. |
A list of:
y,
trim,
sigma.sq,
BZ.values: a series of BZ-statistic,
supBZ.value: the maximum of supBZ.values,
h.est: the estimated value of bandwidth if sigma.sq is NULL.
Harvey, David I., Stephen J. Leybourne, and Yang Zu. “Testing Explosive Bubbles with Time-Varying Volatility.” Econometric Reviews 38, no. 10 (November 26, 2019): 1131–51. https://doi.org/10.1080/07474938.2018.1536099.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.