Hello everyone,
I am writing to ask whether someone could help me with the implementation of a GMM model using xtabond2. Unfortunately, I am a bit confused about the use of the package and related code.
This is the setting: I have a dynamic panel, with the lagged version of the dependent variable being on the right side of the equation. Also, I have a set of other variables that I hypothesize should be correlated with y in their lagged version. More specifically, the model comprises the following variables:
Given this aim, is the following model specification correct?
xtabond2 L(0/1).military_casualties new_policy weapon_purchase density democratic i.year, gmm(military_casualties new_policy weapon_purchase, equation(diff) lag(0 1) collapse) gmm(military_casualties new_policy weapon_purchase, equation(level) lag(0 1) collapse) iv(i.year density democratic, eq(level)) iv(i.year density democratic, equation(diff)) robust
My concern is that this specification is not using the lagged version of x in the model, hence it is only studying the relationship between e.g. weapon_purchase(t) with military_casualties(t). If the above specification is not correct (namely, does not investigate the relationship I am interested in), should I modify it like:
xtabond2 L(0/1).military_casualties L.new_policy L.weapon_purchase density democratic i.year, gmm(military_casualties L.new_policy L.weapon_purchase, equation(diff) lag(0 1) collapse) gmm(military_casualties L.new_policy L.weapon_purchase, equation(level) lag(0 1) collapse) iv(i.year density democratic, eq(level)) iv(i.year density democratic, equation(diff)) robust
Unfortunately, I cannot share the data as they are confidential.
I thank in advance anyone who will help me on this. Sorry but I am new to Stata, I appreciate your understanding and cooperation.
I am writing to ask whether someone could help me with the implementation of a GMM model using xtabond2. Unfortunately, I am a bit confused about the use of the package and related code.
This is the setting: I have a dynamic panel, with the lagged version of the dependent variable being on the right side of the equation. Also, I have a set of other variables that I hypothesize should be correlated with y in their lagged version. More specifically, the model comprises the following variables:
- military casualties (which is the y)
- new_policy (which maps whether in a given year a government has issued a new war-related policy)
- weapon_purchase (which maps whether in a given year a government has increased its spending on weapons by a certain threshold)
- density (population density in given year)
- democratic (level of democracy of a country in a given year)
- year (mapping each year)
Given this aim, is the following model specification correct?
xtabond2 L(0/1).military_casualties new_policy weapon_purchase density democratic i.year, gmm(military_casualties new_policy weapon_purchase, equation(diff) lag(0 1) collapse) gmm(military_casualties new_policy weapon_purchase, equation(level) lag(0 1) collapse) iv(i.year density democratic, eq(level)) iv(i.year density democratic, equation(diff)) robust
My concern is that this specification is not using the lagged version of x in the model, hence it is only studying the relationship between e.g. weapon_purchase(t) with military_casualties(t). If the above specification is not correct (namely, does not investigate the relationship I am interested in), should I modify it like:
xtabond2 L(0/1).military_casualties L.new_policy L.weapon_purchase density democratic i.year, gmm(military_casualties L.new_policy L.weapon_purchase, equation(diff) lag(0 1) collapse) gmm(military_casualties L.new_policy L.weapon_purchase, equation(level) lag(0 1) collapse) iv(i.year density democratic, eq(level)) iv(i.year density democratic, equation(diff)) robust
Unfortunately, I cannot share the data as they are confidential.
I thank in advance anyone who will help me on this. Sorry but I am new to Stata, I appreciate your understanding and cooperation.
Comment