Re: [R] About simulations

From: Prof Brian Ripley <>
Date: Fri 17 Jun 2005 - 19:26:59 EST

ARMAacf() will give you the acf for an autoregression, and toeplitz() wil turn this into a correlation matrix. Then just multiply by the desired variance.

I am not sure what this has to do with your subject line, and ?arima.sim might be helpful for that.

On Fri, 17 Jun 2005, Caroline TRUNTZER wrote:

> Hello
> I would like to generate covariance matrix with autoregressive
> structure. I saw some functions in nlme such as corAR1 for example but I
> don't know how to use it for my goal. Could someone help me or advise me
> another function?
> Thank you in advance
> Caroline

Brian D. Ripley,        
Professor of Applied Statistics,
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________ mailing list
PLEASE do read the posting guide!
Received on Fri Jun 17 19:34:41 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:32:46 EST