- #1
EmmaSaunders1
- 45
- 0
Hi can someone please clarify info regarding the application and validity of the Dickey Fuller test.
If I perform the test using a sine wave would I be required to somehow take into account the seasonality. From my understanding a sine wave is non stationary, using the MATLAB command below I receive a value for hd of 1 and therefore can reject the unit root hypothesis and thus the signal is stationary, does this make sense? I have searched for answers to no avail.
[hd pValue]=adftest(sin(0:0.1:300));
In general I have some pseudo oscillatory data and do not know if I need to pre-process the data to remove seasonality before performing this test? If someone could enlighten me on the amount of lags I am required to keep that would also be great.
Thanks for any help
If I perform the test using a sine wave would I be required to somehow take into account the seasonality. From my understanding a sine wave is non stationary, using the MATLAB command below I receive a value for hd of 1 and therefore can reject the unit root hypothesis and thus the signal is stationary, does this make sense? I have searched for answers to no avail.
[hd pValue]=adftest(sin(0:0.1:300));
In general I have some pseudo oscillatory data and do not know if I need to pre-process the data to remove seasonality before performing this test? If someone could enlighten me on the amount of lags I am required to keep that would also be great.
Thanks for any help