Skip to content
Prev 200407 / 398503 Next

test for causality

Hi useRs..

I cant figure out how to test for causality using causality() in vars
package

I have two datasets (A, B) and i want to test if A (Granger)cause B.
How do I write the script? I dont understand ?causality. How do I get x to
"contain" A and B. Further using the command VAR() to specify x, I dont
either understand.

Kind regards Tobias