Hi everyone

I have faced problem in my research when i fit a regression model

my question is can i make moving average for both x and y then fitting regression

for example

x......y
1.....10
2.... 20
3.... 30
4.....40


when take 2 step moving average MA(2)

new x and y will be

x y
1.5 15
2.5 25
3.5 35


is there any literature review for this transformation
what is the logic behind it ...

I'm really stuck

thanks all