After initial preprocessing like missing value & outliers imputation I found the data is still noisy. and as to denoise the data I used SMA. and then on SMA data points I did the linear regression to find out the slop to use in prediction.
is it valid to use linear regression on SMA data?
Note: I applied fourier transform and low pass filter to denoise the data but the p-value of the residuals come out to be 0.