Re: [R] help in calculating ar on ranked vector

2011-01-14 Thread Uwe Ligges
Works for my examples. But you have not specified what you actual call to ar() was. Uwe Ligges On 12.01.2011 21:17, Raymond Wong wrote: I was using ar(stats) to calculate autoregressive coefficient. It works on vector z, but it will not work on vector rz-rank (z, ties.method=average).

[R] help in calculating ar on ranked vector

2011-01-12 Thread Raymond Wong
I was using ar(stats) to calculate autoregressive coefficient. It works on vector z, but it will not work on vector rz -rank (z, ties.method=average).  What did I miss? Any info will be greatly appreciated.  TIA [[alternative HTML version deleted]]