How Does a Shift in Mean Affect the Moving Average Calculation?

  • Thread starter Thread starter neznam
  • Start date Start date
  • Tags Tags
    Average Proof
AI Thread Summary
A discussion revolves around the impact of a shift in mean on the calculation of a simple moving average for a time series. It highlights the expected value of the moving average under different conditions related to the time period T and the shift from mean m to mean m+b. The confusion arises regarding the correct range for T, specifically whether it should be t1<=T<=t1+N-1, as the original formulation seems to omit values. Participants clarify that the denominator should be upper case N, not lowercase n, and question the accuracy of the formula presented. The conversation emphasizes the need for precise definitions and corrections in mathematical expressions related to moving averages.
neznam
Messages
15
Reaction score
0
Please any help will be greatly appreciated.

Suppose that a simple moving average of span N is used to forecast a time series that varies randomly around a constant mean, that is yt=m (m-mean and yt is y sub t). At the start of the period t1 the process shifts to a new mean level, say, m+b. Show that the exepected value of the moving average is
m when T<=t1-1
m+b-(t1+N-1)b/n when t1<=T<=t1+N-2
m+b when T>=N

I can prove 1st and the last part I am just really confused on the 2nd part--is that condition supposed to be t1<=T<=t1+N-1. Otherwise aren't we missing values if we have N-2? I am sure I am missing something but I don't know what. PLEASE any suggestions will help.

Thanks
 
Physics news on Phys.org
What's the lowercase n in the denominator?
 
Sorry it is not lower case n --just the same upper case N
 
m+b-(t1+N-1)b/N when t1<=T<=t1+N-2
 
You sure it's not m+b-(t1+N-1-T)b/N? EnumaElish found a clear error in your formula, and this is one I'm getting by working out the problem.
 
I picked up this problem from the Schaum's series book titled "College Mathematics" by Ayres/Schmidt. It is a solved problem in the book. But what surprised me was that the solution to this problem was given in one line without any explanation. I could, therefore, not understand how the given one-line solution was reached. The one-line solution in the book says: The equation is ##x \cos{\omega} +y \sin{\omega} - 5 = 0##, ##\omega## being the parameter. From my side, the only thing I could...
Back
Top