Generates i.i.d. Gaussian shocks whose standard deviation shifts permanently
from sigma to sigma * ratio at observation tau * n, for use
as sim_psy1(..., e = sim_vol_break(...)). This is the non-stationary
volatility process (the single break of Cavaliere & Taylor 2007) under which the
standard critical values of radf lose size control. The
volatility-robust tests (radf_tt, radf_kp,
radf_sbz, radf_sign and radf_wb_cv) are
designed for it. Stationary conditional heteroskedasticity
(sim_vol_garch) is different, because its variance profile is
asymptotically flat.
Arguments
- n
Number of innovations to generate.
- tau
Break fraction in (0, 1): the shift happens after observation
floor(tau * n).- ratio
Positive ratio of the post-break to the pre-break standard deviation.
ratio > 1is an upward break, the case in whichradf()over-rejects the most, andratio < 1is a downward one.- sigma
A positive scalar indicating the standard deviation of the innovations.
- seed
An object specifying if and how the random number generator (rng) should be initialized. It is either NULL or an integer, which is passed to
set.seedbefore the simulation. If you set it, the value is saved as the "seed" attribute of the returned value. The default, NULL, leaves the state of the rng unchanged and returns .Random.seed as the "seed" attribute. Results are reproducible across the parallel and the non-parallel option when you use the same seed.
References
Cavaliere, G. & Taylor, A.M.R. (2007). "Testing for unit roots in time series models with non-stationary volatility." Journal of Econometrics, 140, 919-947. Harvey, D.I., Leybourne, S.J., Sollis, R. & Taylor, A.M.R. (2016). "Tests for explosive financial bubbles in the presence of non-stationary volatility." Journal of Empirical Finance, 38, 548-574.


