[R] Creating two autocorrelated and correlated time series
Daniel Marmander
daniel.marmander at gmail.com
Thu Feb 5 17:50:07 CET 2015
I can create both correlated series and autocorrelated time series with
well defined correlation factors. I am however having trouble creating two
series given fixed autocorrelation for some number of lags in the series
(autocorrelation might differ between the two as well), that also has a
specific correlation between the series.
I have found some help here:
http://stats.stackexchange.com/questions/71211/how-to-generate-normal-random-variable-vector-which-is-spatially-auto-correlated
but I have a hard time implementing it in R, being a R-novice.
Thanks,
Daniel
[[alternative HTML version deleted]]
More information about the R-help
mailing list