0

I have a problem with fitting fitafirma function.

I do have this code:

    fitarfima <- autoarfima(data = bby_ts, ar.max = 0, 
         ma.max = 0, criterion = "AIC", method = "full")

But I get the following error

Error in apply(d[, 1:ar.max, ], 1, "sum") : dim(X) must have a positive length

My ts data is a simple vector with 2 columns. Could you help? Thanks!

Steffen Moritz
  • 7,277
  • 11
  • 36
  • 55
Audrey L
  • 11
  • 2

0 Answers0