[R] Query: simple autocorrelation ina time series

Crabb, David david.crabb at ntu.ac.uk
Mon Jan 10 19:03:51 CET 2005


I hope you can help with what might be an easy query.

I am doing some simple simulations where I am generating series of data
from a normal distribution using rnorm. I am then treating these as a
time series. I want to know how I can incorporate correlation in the
series (autocorrelation) i.e. make the observations non-independent,
with a known (but simple) correlation structure. In other words I want
to simulate correlated data.

Many thanks for your help.




DISCLAIMER:\ This email is intended solely for the addressee...{{dropped}}




More information about the R-help mailing list