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 <- as.ts(read.table(choose.files()))
> x <- as.ts(A[,10])
> plot(x)
> > plot(smooth(x))

plot(smooth(x)) looks exactly like plot(x).  Also,

> StructTS(x)
Error in optim(init[mask], getLike, method = "L-BFGS-B", lower = rep(0,  :
 L-BFGS-B needs finite values of 'fn'

The HoltWinters smoothing or the Kalman smoothing don't work either for
various errors... I'm not quite sure what's wrong.

Thanks.
-- 
View this message in context: 
http://www.nabble.com/Time-Series-smoothing-tp24852054p24852054.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to