I am new in R language. I have a time series data in seconds (15 second interval) for the period of72of 72 hours as shown below. I am using auto.arima()auto.arima()
function for forecasting next 30 points in time series. The result produced by auto.arima()auto.arima()
function is very bad in terms of forecasting values as shown below after the code. I request you to provide your suggestion on what action iI need to take in arima implementation for making batter forecast.
iI created xts time series and did forecast using auto.arima()auto.arima()
function in R
wdata <- read.csv("D:/rwl/seconds/reqseconds1.csv", stringsAsFactors = FALSE)
wdata$Time <- as.POSIXct(wdata$Time, format="%d/%m/%Y %H:%M:%S")
wdata_xts <- xts(x=wdata$Request, order.by=wdata$Time, frequency = 60)
fitarima<-auto.arima(wdata_xts, ic="bic", test="kpss", trace = TRUE)
workloadforecast <- forecast(fitarima, h=12)
wdata <- read.csv("D:/rwl/seconds/reqseconds1.csv", stringsAsFactors = FALSE)
wdata$Time <- as.POSIXct(wdata$Time, format="%d/%m/%Y %H:%M:%S")
wdata_xts <- xts(x=wdata$Request, order.by=wdata$Time, frequency = 60)
fitarima<-auto.arima(wdata_xts, ic="bic", test="kpss", trace = TRUE)
workloadforecast <- forecast(fitarima, h=12)
auto.arima ()auto.arima ()
function produces stable forecast results as following
All forecasted values are similar (around 61). Please provide your suggestions for improving forecasted results.
Thanking You
Cheers
Satish