Augmented Dickey-Fuller test


i am trying to run Augmented Dickey-Fuller test in R studio
my command is

adf.test(df1$'^gspc', k = 3)
i get is error instead
Error in df1$"^gspc" : $ operator is invalid for atomic vectors
how do i fix this

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.