powered by
Simulates a GNAR process with Normally distributed innovations.
GNARsim(n=200, net=GNAR::fiveNet, alphaParams=list(c(rep(0.2,5))), betaParams=list(c(0.5)), sigma=1, tvnets=NULL, netsstart=NULL)
time length of simulation.
network used for the GNAR simulation.
a list containing vectors of auto-regression parameters for each time-lag.
a list of equal length as alphaParams containing the network-regression parameters for each time-lag.
alphaParams
the standard deviation for the innovations.
Only NULL is currently supported.
GNARsim returns the multivariate time series as a ts object, with n rows and a column for each of the nodes in the network.
GNARsim
n
Parameter lists should not be NULL, set unused parameters to be zero. See GNARfit for model description.
Knight, M.I., Nunes, M.A. and Nason, G.P. Modelling, detrending and decorrelation of network time series. arXiv preprint.
# NOT RUN { #Simulate a GNAR(1,[1]) process with the fiveNet network data(fiveNode) GNARsim() # }
Run the code above in your browser using DataLab