Skip to content

auto.arima problem

2 messages · Actuarial_Labor, Brian Ripley

#
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) for variable 'x'


In my data set SandP
it contains 1 column of the daily index of S&P500, which is a US stock
index.


--
View this message in context: http://r.789695.n4.nabble.com/auto-arima-problem-tp4631664.html
Sent from the R help mailing list archive at Nabble.com.
#
On 29/05/2012 09:44, Actuarial_Labor wrote:
That's a data frame, not (from the help):

        x: a univariate time series
And note what it says about 'homework': read the help page is part of 
the expected checks before posting.