Re: [R] ACF normalization and Nesed For loops

2009-12-22 Thread alok juneja
Thanks for the suggestions.. I must admit that on the R-help one of my coworker is asking the same question named "Nested For loops". My question "ACF normalization" and his question both lead to the same problem. So now I merge both the questions. Sorry for the inconvenience. The main problem

Re: [R] ACF normalization and Nesed For loops

2009-12-22 Thread alok juneja
ch one. As when I used ACF, I simply used it like acf(distance,lag.max=l0,plot=FALSE) but I am not sure by default generic ACF is using either ACF.gls or ACF.lme Please guide so that I can kick start. Best Alok & Baloo --- On Tue, 12/22/09, ONKELINX, Thierry wrote: > From: ONKELINX, T

Re: [R] ACF normalization.

2009-12-22 Thread ONKELINX, Thierry
: R help Onderwerp: Re: [R] ACF normalization. May be please inform where I can find the source code for "nlme:::ACF.gls" and "nlme:::ACF.lme". Sorry to ask. As I have looked into the R directory but don't find that. Best Alok --- On Tue, 12/22/09, Prof Brian Ripley

Re: [R] ACF normalization.

2009-12-22 Thread alok juneja
May be please inform where I can find the source code for "nlme:::ACF.gls" and "nlme:::ACF.lme". Sorry to ask. As I have looked into the R directory but don't find that. Best Alok --- On Tue, 12/22/09, Prof Brian Ripley wrote: > From: Prof Brian Ripley > Sub

Re: [R] ACF normalization.

2009-12-22 Thread Prof Brian Ripley
On Tue, 22 Dec 2009, alok juneja wrote: Hi, My earlier email was sent as html so no visible properly. I am now posting it as text. Sorry for the duplication of the message. Can anyone please provide the formula used to compute ACF(nlme). I believe the one that is used in R is of the type me

Re: [R] ACF normalization.

2009-12-22 Thread alok juneja
Hi, My earlier email was sent as html so no visible properly. I am now posting it as text. Sorry for the duplication of the message. Can anyone please provide the formula used to compute ACF(nlme). I believe the one that is used in R is of the type mentioned on the website (http://www.itl.nis

[R] ACF normalization.

2009-12-22 Thread alok juneja
Hi, Can anyone please provide the formula used to compute ACF(nlme). I believe the one that is used in R is of the type mentioned on the website. Please correct me if I am wrong. The normalization of the numerator (Ch) has been done by 'N' where as I would like to do it by 'N-k'. Is there anywa