[R] multiple replications of a ts

Prof Brian D Ripley ripley at stats.ox.ac.uk
Thu Feb 28 23:33:39 CET 2002


On Thu, 28 Feb 2002, Claudia Tebaldi wrote:

> Hello
>
> I have several replicates (30) of a -- short --  time series (19 obs) and
> I'd like to estimate the first few lags autocorrelation function.
> Is there an immediate way of handling multiple realizations when computing
> the ACF in R?

I'm not sure I understand, but I if I do would call acf(x[,i], plot=FALSE)
and average them (a weighted average if they differed in length).

> I'm using R-1.4.1 on a Linux Debian box.
> Thanks in advance
>
> claudia
>
> -------------------------------------------------------------------------
> claudia tebaldi                                  NCAR  RAP
> project scientist                                P.O. Box 3000
> (303) 497-2830                                   Boulder, CO 80307
> --------------------------------------------------------------------------
>
>
>
>
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
> Send "info", "help", or "[un]subscribe"
> (in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
>

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list