How to check the stationarity with unit root test?


Hello everyone, I have the data in the picture. How to check the stationarity with unit root test? Please help me!

You probably want adf.test() in the tseries package.

Thank you. I know using adf.test to check the stationary with unit root test but my data is kind of complicated, so I don't know how to check.

If you think the data should be thought of as one long series, then you need to arrange it that way. You way want to see pivot_longer() in the package tidyverse.

@startz Thank you so much :smiling_face_with_three_hearts:

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.