Skip to content
Prev 130136 / 398500 Next

Different freq returned by spec.ar() and spec.pgram()

Frequency has units (1/wavelength), and this is just a question of using 
different units.  For monthly series, is this per month or per year?

The functions were written for R at different times by different people: 
it would seem to make sense to alter spec.ar to use the per year 
interpretation.  It would be unusual to use spec.ar on a series with known 
frequency (I have never seen it done), and it is arguable that the per-lag 
interpretation is more natural for that method.
On Wed, 21 Nov 2007, Eric Thompson wrote: