Re: [R] Time Series smoothing

2009-08-07 Thread Giovanni Petris
My guess is that your data, 'x', has frequency 1, or is not a ts object altogether. In both cases there is no meaningful way of extracting a sesonal component from the data. However, as you can see in the help page, HoltWinters has an argument 'gamma' that, when given the value 0, allows to fit

[R] Time Series smoothing

2009-08-06 Thread voidobscura
I have a set of data (in a matrix). I spliced a column out and parsed it as.ts (time series). I then plotted the time series but I found that it was very noisy. I wanted to smooth it out. However, I am having some problems smoothing and plotting the smoothed version. A -

Re: [R] Time Series smoothing

2009-08-06 Thread Giovanni Petris
Please do read the posting guides and give us a reproducible example. We don't know what the errors you get from HoltWinters are. I guess we need to see the data you are using etc. Giovanni Petris Date: Thu, 06 Aug 2009 11:33:58 -0700 (PDT) From: voidobscura nshah...@gmail.com Sender:

Re: [R] Time Series smoothing

2009-08-06 Thread voidobscura
Hello, [5956] 10242.793600 10233.872700 10229.265400 10230.835200 10230.715500 [5961] 10233.706500 10231.821200 10235.511800 10232.515900 10240.365800 [5966] 10244.216100 10252.208800 10249.710600 10249.591500 10258.640800 [5971] 10263.172300 10263.327800 10271.161200 10268.512200 10268.465800