[英]A time series with 2 kinds of periods
我試圖分析一個明確表示兩種時期的時間序列。 時間序列每周周期性波動,此外,每個月末周期性波動。
我正在嘗試使用ARIMA模型進行分析,但是如何在ARIMA函數中設置兩種不同的周期? 還是有其他更好的模型可以更好地解釋該系列?
謝謝。
有一個非常方便的程序包稱為forecast ,它具有接受多個頻率的功能,
forecast
install.packages('forecast') library(forecast) i1 <- msts(your_series, seasonal.periods = c(period_1, period_2)) forecast(i1, h = no. of points to forecast)
該鏈接提供了有關如何定義季節的一些信息
否則,如果要在ARIMA手動進行操作,則必須添加每周和每月虛擬變量並將其作為參數傳遞。 這篇文章將闡明這種方法
ARIMA
[英]Time series with multiple periods and non negative values
[英]Time series has no or less than 2 periods
[英]Expand a Time Series to a specific number of periods
[英]Time Series for Periods Over One Year
[英]Plotting time series data from data frame with time periods as columns
[英]R time series dataset - Lag date and time - Irregular data periods
[英]Plot time series knowing only start time/date and sampling periods
[英]How can I get Forecast of Time Series with periods the right way?
[英]ERROR in R: decompose(y) : time series has no or less than 2 periods
[英]R find periods with non missing values from list of time series
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.