我正在使用 R 并且我有每周数据(总共 660 次观察),我想使用季节性包中的 X-13 Arima-Seats 来季节性地调整我的数据。我将数据存储在 ts 对象中:
library(lubridate)
x <- ts(data, freq=365.25/7, start=decimal_date(ymd("2004-02-01")))
library(seasonal)
x_sa <- seas(x)
但是,我收到错误:
Error: X-13 run failed
Errors:
- Seasonal period too large. See Section 2.7 of the Reference Manual on program limits
- Expected argument name or "}" but found ".1785714285714"
- Time series could not be read due to previously found errors
- Expected specification name but found "}"
- Specify series before user-defined adjustments
- Need to specify a series to identify outliers
我也尝试了较短的时间,但错误仍然相同。