[Rd] Fwd: AR(2) modelling

Christophe Dutang dutangc at gmail.com
Sun Nov 15 19:00:23 CET 2009


Thanks Gabor,

My mistake was I used the 'cor' function rather than the function  
'acf' with "correlation" argument.

Christophe

Le 15 nov. 2009 à 18:13, Gabor Grothendieck a écrit :

> Try this:
>
> debug(stats:::ar.yw.default)
>
> and then run the ar function to step through the ar code so you can
> see the results line by line and understand what it is doing at a very
> detailed level.
>
> On Sun, Nov 15, 2009 at 10:06 AM, Christophe Dutang  
> <dutangc at gmail.com> wrote:
>> As you are sure of the accuracy of your code, why don't you tell me  
>> where is
>> my mistake?
>>
>> Le 15 nov. 2009 à 12:03, Prof Brian Ripley a écrit :
>>
>>>
>>>
>>> --
>>> 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
>>
>> --
>> Christophe Dutang
>> Ph.D. student at ISFA, Lyon, France
>> website: http://dutangc.free.fr
>>
>> ______________________________________________
>> R-devel at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-devel
>>

--
Christophe Dutang
Ph.D. student at ISFA, Lyon, France
website: http://dutangc.free.fr



More information about the R-devel mailing list