rtvvar {ssaBSS} | R Documentation |
Simulation of Time Series with Time-varying Variance
Description
Simulating time-varying variance based on TV-VAR model
Usage
rtvvar(n, alpha, beta = 1, simple = FALSE)
Arguments
n |
Length of the time series |
alpha |
Parameter |
beta |
Parameter |
simple |
A logical vector indicating whether |
Details
Time varying variance (TV-VAR) process with parameters
and
is of the form
where, if simple = FALSE
,
where are iid
,
and
,
and if simple = TRUE
,
Value
The simulated series as a ts
object.
Author(s)
Sara Taskinen, Markus Matilainen
References
Patilea V. and Raïssi H. (2014) Testing Second-Order Dynamics for Autoregressive Processes in Presence of Time-Varying Variance, Journal of the American Statistical Association, 109 (507), 1099-1111.
Examples
n <- 5000
X <- rtvvar(n, alpha = 0.2, beta = 0.5, simple = FALSE)
plot(X)
[Package ssaBSS version 0.1.1 Index]