Granger causality test
gcause var1 var2 [if exp] [in range] , lags(#) [ exog(varlist) regress
]
gcause is for use with time-series data. You must tsset your data before
using this commands; see help tsset.
Description
gcause performs a Granger causality test to investigate whether lagged values
of a variable, var2, help in forecasting another variable, var1. See Methods
& Formulas below.
Options
lags(#) is not optional. It specifies the number of lags of var1 and var2 to
include in the regression.
exog(varlist) for lack of a better name, specifies other conditioning
variables which may enter the regression. varlist may contain time-series
operators which is particularly useful to add other lagged variables to
the test regressions.
regress requests the display of the output from t