search for: tnr_moving_average

Displaying 5 results from an estimated 5 matches for "tnr_moving_average".

2018 Jun 01
0
Time-series moving average question
...9) ,.Dim = c(28L, 3L) ,.Dimnames = list(NULL, c("OONNetRev","OONAdjusted" ,"OONCancelled")) ,.Tsp = c(2016, 2018.25, 12), class = c("mts", "ts", "matrix")) head(dat3); nrow(dat3) TNR_moving_average <- forecast(ma(dat3[1:28], order=3), h=8) TNR_moving_average # Warning message: # In ets(object, lambda = lambda, biasadj = biasadj, allow.multiplicative.trend = allow.multiplicative.trend, : # Missing values encountered. Using longest contiguous portion of time series #...
2018 Jun 01
2
Time-series moving average question
...,.Dim = c(28L, 3L) ,.Dimnames = list(NULL, c("OONNetRev","OONAdjusted" ,"OONCancelled")) ,.Tsp = c(2016, 2018.25, 12), class = c("mts", "ts", "matrix")) head(dat3); nrow(dat3) TNR_moving_average <- forecast(ma(dat3[1:28], order=3), h=8) TNR_moving_average # Warning message: # In ets(object, lambda = lambda, biasadj = biasadj, allow.multiplicative.trend = allow.multiplicative.trend, : # Missing values encountered. Using longest contiguous portion of tim...
2018 Jun 01
2
Time-series moving average question
You are right that there are no NAs in the practice data. But there are NAs in the moving average data. To see this, break your work into two separate steps, like this: tnr.ma <- ma(dat3[1:28], order=3) TNR_moving_average <- forecast(tnr.ma, h=8) I think you will find that the warning comes from the second step. Print tnr.ma and you will see some NAs. -Don -- Don MacQueen Lawrence Livermore National Laboratory 7000 East Ave., L-627 Livermore, CA 94550 925-423-1062 Lab cell 925-724-7509 ? From: Bill Poling &...
2018 Jun 01
0
Time-series moving average question
...-project.org> Subject: Re: [R] Time-series moving average question You are right that there are no NAs in the practice data. But there are NAs in the moving average data. To see this, break your work into two separate steps, like this: tnr.ma<http://tnr.ma> <- ma(dat3[1:28], order=3) TNR_moving_average <- forecast(tnr.ma<http://tnr.ma>, h=8) I think you will find that the warning comes from the second step. Print tnr.ma<http://tnr.ma> and you will see some NAs. -Don -- Don MacQueen Lawrence Livermore National Laboratory 7000 East Ave., L-627 Livermore, CA 94550 925-423-1062 Lab...
2018 Jun 01
0
Time-series moving average question
Hello Don, thank you for your response. I appreciate your help. I am using the forecast package, originally I found it following a forecasting example on bloggers.com https://www.r-bloggers.com/time-series-analysis-using-r-forecast-package/ And subsequently located the complete pdf https://cran.r-project.org/web/packages/forecast/forecast.pdf Since I created this practice data using the