[R] how calculate seasonal component & cyclic component of time series?

sagarnikam123 sagarnikam123 at gmail.com
Wed Mar 21 08:10:22 CET 2012

i am new to time series,whatever i know up till now,from that
i have uploaded time series file & what to build arma model,but for that i
want p & q values(orders)
tell me how to calculate best p & q values to find best AIC values for model

i am doing but giving error
>bhavar<-read.table(file.choose())  #taking time series file
> decompose(bhavar$V1)
Error in decompose(bhavar$V1) : time series has no or less than 2 periods

what this error is telling ?

http://r.789695.n4.nabble.com/file/n4491470/tinku.txt tinku.txt 

View this message in context: http://r.789695.n4.nabble.com/how-calculate-seasonal-component-cyclic-component-of-time-series-tp4491470p4491470.html
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list