granger_test: Dumitrescu-Hurlin Panel Granger Causality Test
Description
Tests whether \(x\) Granger-causes \(y\) in a heterogeneous panel,
following Dumitrescu & Hurlin (2012). For each unit \(i\) a bivariate
VAR-type regression is fitted:
$$y_{it} = \alpha_i + \sum_{k=1}^{K} \gamma_{ik} y_{i,t-k}
+ \sum_{k=1}^{K} \beta_{ik} x_{i,t-k}
+ u_{it},$$
and the individual Wald statistic for
\(H_0^{(i)}: \beta_{i1} = \cdots = \beta_{iK} = 0\) is computed.
Usage
granger_test(data, unit_index, time_index, y, x, lags = 1L)
Value
An object of class dcce_granger with elements:
W_bar
Mean Wald statistic across units.
Z_bar
Standardised statistic (large-T).
Z_bar_tilde
Small-sample adjusted statistic.
p_value_Z
p-value for Z-bar.
p_value_Zt
p-value for Z-bar tilde.
unit_wald
Named vector of per-unit Wald statistics.
N
Number of units used.
T_bar
Average time-series length.
lags
Lag order.
Arguments
data
A panel data.frame.
unit_index
Character: unit identifier column.
time_index
Character: time identifier column.
y
Character: name of the dependent variable.
x
Character: name of the potential Granger-causing variable.
lags
Integer: lag order \(K\) for both variables. Default 1.
Details
The panel statistics are:
W-bar
The cross-sectional average of the N unit-level Wald
statistics.