Hello,
I have a panel data of macro variables.
" xtset CountryCode year
panel variable: CountryCode (strongly balanced)
time variable: year, 1990 to 2012
delta: 1 year"
When I run xtreg, my regression works fine.
I would like to instrument one of my variable which is endogenous with a few lagged values of the variables that I used in the main regression with ivreg2 and I get this error struct ms_vcvorthog undefined.
I looked up in previous posts and tried this:
"mata: mata mlib query
.mlib libraries to be searched are
lmatabase;lmataado;lmataopt;lmatasem"
Do you know what is the problem? I am not yet familiar with xtabond2 and I am not sure that command would fix my problem.
Many thanks,
Grace
I have a panel data of macro variables.
" xtset CountryCode year
panel variable: CountryCode (strongly balanced)
time variable: year, 1990 to 2012
delta: 1 year"
When I run xtreg, my regression works fine.
I would like to instrument one of my variable which is endogenous with a few lagged values of the variables that I used in the main regression with ivreg2 and I get this error struct ms_vcvorthog undefined.
I looked up in previous posts and tried this:
"mata: mata mlib query
.mlib libraries to be searched are
lmatabase;lmataado;lmataopt;lmatasem"
Do you know what is the problem? I am not yet familiar with xtabond2 and I am not sure that command would fix my problem.
Many thanks,
Grace
Comment