[R] acf Significance

2009-08-05 Thread Steve Jones
Hi List, I'm trying to calculate the autocorrelation coefficients for a time series using acf at various lags. This is working well, and I can get the coefficients without any trouble. However, I don't seem to be able to obtain the significance of these coefficients from the returned acf object, l

Re: [R] acf Significance

2009-08-06 Thread Steve Jones
Thanks for the pointer to the str function - very handy! The output for the acf object is below - it doesn't seem to contain anything that might tell me the significance level. List of 6 $ acf : num [1:27, 1, 1] 1 0.6309 0.2989 0.0612 -0.2105 ... $ type : chr "correlation" $ n.used: int 27

Re: [R] acf Significance

2009-08-06 Thread David Scott
Steve Jones wrote: Thanks for the pointer to the str function - very handy! The output for the acf object is below - it doesn't seem to contain anything that might tell me the significance level. List of 6 $ acf : num [1:27, 1, 1] 1 0.6309 0.2989 0.0612 -0.2105 ... $ type : chr "correlatio

Re: [R] acf Significance

2009-08-07 Thread Steve Jones
Your suggestion wasn't entirely useless - I didn't know about it before, so I learned something! I've had a look in the plot.acf source and found the bit I need, so it's all good now. Thanks for the suggestions. Steve. markle...@verizon.net wrote: > Hi Steve: Clearly my str suggestions was usel