powered by
VARFIMA.sim returns a sample from a VARFIMA(1,1)-process.
VARFIMA.sim
VARFIMA.sim(phi, THETA, d.vec, T, Sigma, approx = 100, burnin = 100)
AR(1)-parameter.
MA(1)-matrix.
vector of memory parameters.
desired sample size.
Variance-Covariance-Matrix of the innovations.
order of the AR-approximation that is supposed to be used. Default is approx=100.
approx=100
length of the burnin period that is discarded. Default is burnin=100.
burnin=100
add details here.
Lutkepohl, H. (2007): New introduction to multiple time series analysis. Springer.
# NOT RUN { series<-VARFIMA.sim(phi=0.4, THETA=matrix(c(0,0,0,0),2,2), d.vec=c(0.4,0.3), T=1000, Sigma=matrix(c(1,0.4,0.4,1),2,2)) ts.plot(series, col=1:2) acf(series, lag=100) # }
Run the code above in your browser using DataLab