MAR: A funtion to generate a multivariate autoregressive process (MAR) in time
series
Description
The function MAR is used for generating MAR model(s) for examples
of the functions SNSeg_Uni, SNSeg_Multi, and SNSeg_HD.
Usage
MAR(n, reptime, rho)
Value
Returns a matrix of the simulated MAR processes. The number of columns
of this matrix is equivalent to the value of input argument reptime, and
the number of rows is the value of input argument n.