- data
Dataframe is a strictly balanced panel data format,the first column is cross-section ID,and the second column is Time. For the sake of identification, both columns must be named by, respectively, id and Time.
- p
The number of lag for Xt matrix. The number of lag for foreign variables in country-specific VAR FLag is set to be p+1.
- type
Model specificaiton for VAR. As in package vars, we have four selection: "none","const","trend", "both".
- ic
Information criteria for optimal lag.As in package vars, we have four selection: "AIC", "HQ", "SC", "FPE".
- weight.matrix
Bilateral trade weight matrix for computing foreign variables. If the computation of foreign variables are weighted by one weighting matrix, weight.matrix must be a "data.frame". If the computation of foreign variables are weighted on a year-to-year basis, then weight.matrix must be a "list", with the same length as the weighting frequency.