Granger Causality in R


I am trying to run a granger causality test between two variables across a specific time. However, i am finding it difficult to do so, since i am a beginner. Can anyone tell me how to make R use the exact data i have on excel in order to run the test properly. I have tried lmtest and vars, however, when its time to use the granger function how do i make use of the variables from my data, and correctly place them in the granger function?
I hope it is easily understandable, i do apologise for any confusion.

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.