Dear R users, I have a seasonal time series of period 4 (my_ts). I would like to apply to my_ts a Seasonal ARMA(2,0) process (only the seasonal part), with Seasonal AR coefficients respectively 0.54 and 0.5. I tried to use the arima command from the stats package, but this code is not correct:
arima(my_ts, order=c(0,0,0), seasonal=list(order=c(2,0,0), sar=c(0.54, 0.5), period=4), n=220) The error is: "Error in optim(init[mask], armaCSS, method = optim.method, hessian = FALSE: initial value in 'vmmin' not finite". I am not even sure of the syntax about sar=c(0.54, 0.5). I looked for this topic in the R archive, but I have not been able to find an example or a useful hint. Could you please help me? Does arima handle seasonal ARMA processes? If yes, how? Is there a better specific package for that? Thank you for your help Stefano Sofia ________________________________ AVVISO IMPORTANTE: Questo messaggio di posta elettronica può contenere informazioni confidenziali, pertanto è destinato solo a persone autorizzate alla ricezione. I messaggi di posta elettronica per i client di Regione Marche possono contenere informazioni confidenziali e con privilegi legali. Se non si è il destinatario specificato, non leggere, copiare, inoltrare o archiviare questo messaggio. Se si è ricevuto questo messaggio per errore, inoltrarlo al mittente ed eliminarlo completamente dal sistema del proprio computer. Ai sensi dell'art. 6 della DGR n. 1394/2008 si segnala che, in caso di necessità ed urgenza, la risposta al presente messaggio di posta elettronica può essere visionata da persone estranee al destinatario. IMPORTANT NOTICE: This e-mail message is intended to be received only by persons entitled to receive the confidential information it may contain. E-mail messages to clients of Regione Marche may contain information that is confidential and legally privileged. Please do not read, copy, forward, or store this message unless you are an intended recipient of it. If you have received this message in error, please forward it to the sender and delete it completely from your computer system. [[alternative HTML version deleted]]
______________________________________________ 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.