Hello,
I am using Stata 17.0 and I am trying to run a panel vector autoregression followed by a Granger Causaility test with the following command:
pvar DV IV1 IV2 CV , lags (2)
pvargranger
however, I'm getting the following error message for my control variable:
"derivative already defined for parameter logGDP_per_capita___00000 in equation 4"
I've tried with another control variable in non-log form in case that was the issue but I'm getting the same error.
"derivative already defined for parameter FDI___net_inflows___00000 in equation 4"
My panel data is correctly defined by serial number and year.
Kind regards,
Stuart Mcleod
Related Posts with Panel VAR and Granger Causality
Change values within groups based on conditionsDear All, I have a dataset with group ID, individual ID, age, and sex of the individuals, as well a…
line breaks in command -global-Dear all,How can I break line in the command -global-.I use "///" ,but I get error.My codes in dofil…
Plot different characterisitics of an observationDear Stata-community, I am using Stata 16. I have a dataset with peace agreements, their duration, a…
Printing out balance tableEDIT: Formatting of tables and code in this post got messed up. View my post below to see correct fo…
Rearrange panel data in STATADear all, I have several datasets I would like to merge, however, they are set up differently. What…
Subscribe to:
Post Comments (Atom)
0 Response to Panel VAR and Granger Causality
Post a Comment