powered by
FI.sim Simulates a
FI.sim
FI.sim(T, q, rho, d, B = diag(q), var = 1, burnin = 250)
positive integer determining the length of the simulated series.
positive integer determining the dimension of the simulated series.
real value between 0 and 1 that determines correlation between the innovations.
vector of memory parameters with length q.
qxq matrix specifying cointegrating relations. By default diag(q).
diag(q)
positive real value that determines the variance of the innovations. Default value is var=1.
var=1
positive integer determining the length of the burnin period. Default is burnin=250.
burnin=250
# NOT RUN { T=1000 series<-FI.sim(T=T,q=2,rho=0.7,d=c(0.4,0.4)) ts.plot(series, col=1:2) cor(series) series<-FI.sim(T=T,q=2,rho=0,d=c(0.1,0.4), B=rbind(c(1,-1),c(0,1))) ts.plot(series, col=1:2) # }
Run the code above in your browser using DataLab