On Thu, 8 Jan 2004, Stephen Opiyo wrote:
> I would like to get the result of acf min of lag 2 and max of lag 50.
> When I use time series ( acf, lag.max = 50,
type="covariance"), I
> got lag 0 to lag 50. How do I get lag 2 to lag 50?
Subset the answer in the standard way, as in:
data(Nile)
acf(Nile, lag.max = 50, type="covariance", plot=F)$acf[3:51,,]
--
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 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595