Re: [R] Time-series moving average question

2018-06-04 Thread Bill Poling
-project.org) Subject: Re: [R] Time-series moving average question For your first question, you’re doing moving averages of 3 points (I assume that’s what order=3 does). For any given time point of your input data, that would be one before, one at, and one after the given time point. Do all of

Re: [R] Time-series moving average question

2018-06-01 Thread MacQueen, Don via R-help
-- 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 Date: Friday, June 1, 2018 at 10:43 AM To: "MacQueen, Don" , array R-help Subject: RE: [R] Time-series moving average question Hi Don

Re: [R] Time-series moving average question

2018-06-01 Thread Bill Poling
to:bill.pol...@zelis.com>> Date: Friday, June 1, 2018 at 8:58 AM To: "MacQueen, Don" mailto:macque...@llnl.gov>>, array R-help mailto:r-help@r-project.org>> Subject: RE: [R] Time-series moving average question Hello Don, thank you for your response. I appreciate your

Re: [R] Time-series moving average question

2018-06-01 Thread MacQueen, Don via R-help
; , array R-help Subject: RE: [R] 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-

Re: [R] Time-series moving average question

2018-06-01 Thread Bill Poling
, Don [mailto:macque...@llnl.gov] Sent: Friday, June 01, 2018 11:24 AM To: Bill Poling ; r-help (r-help@r-project.org) Subject: Re: [R] Time-series moving average question My guess would be that if you inspect the output from ma(dat3[1:28], order=3) you will find some NAs in it. And then forecast

Re: [R] Time-series moving average question

2018-06-01 Thread MacQueen, Don via R-help
My guess would be that if you inspect the output from ma(dat3[1:28], order=3) you will find some NAs in it. And then forecast() doesn't like NAs. But I can't check, because I can't find the ma() and forecast() functions. I assume they come from some package you installed; it would be helpful

[R] Time-series moving average question

2018-06-01 Thread Bill Poling
Good morning, I hope someone can help with these questions, or perhaps suggest one of the other R-lists? I have two questions: 1. Why am I getting this warning? 2. Why is the second example "Point Forecast" the same value, I do not see that in previous attempts with similar but different