Re: [R] auto.arima problem

2012-05-29 Thread Prof Brian Ripley
On 29/05/2012 09:44, Actuarial_Labor wrote: Dear all, I would like to ask how my data set contains problems. Here is what I have done. SandP = read.csv("Price.csv") library("forecast") auto.arima(SandP) That's a data frame, not (from the help): x: a univariate time serie

[R] auto.arima problem

2012-05-29 Thread Actuarial_Labor
Dear all, I would like to ask how my data set contains problems. Here is what I have done. SandP = read.csv("Price.csv") library("forecast") auto.arima(SandP) and R shewed this to me Error in model.frame.default(formula = x ~ 1, drop.unused.levels = TRUE) : invalid type (list) f