Hi all,
I am trying to estimate the ATE of an IPW model by writing a GMM code. I am having trouble writing the moment conditions.
gmm (eq1: treatment - invlogit({xb: $xt _cons})) (eq2: (treatment - invlogit({xb: $xt _cons})/((invlogit({xb: $xt _cons})*(1 - invlogit({xb: $xt _cons})))))-{ate}), instruments($xt) onestep
But stata doesn't like them.
Could someone point me in the right direction?
Thanks
Related Posts with Writing GMM moment conditions for IPW
Logit regression, cross sectional data, country, industry and year fixed effectI face a problem in understanding the structure of my data and in estimating. For my study, I use th…
Comparing household income in two groupsSo I have a dataset where my two dependent variables are 1) underwent surgery (900 patients) and 2) …
Outreg2 First stage (xtivreg) Equation with random effectsI am using a panel random effects model with instrumental variables and robust clustered standard er…
Comparing household income between two groupsHi all, So I have a dataset where my two dependent variables are 1) underwent surgery (900 patients…
Semipar trimming the plotsxtsemipar lprice ldist larea lland rooms bath age, nonpar(linst) cluster(countrynumber) ci I am run…
Subscribe to:
Post Comments (Atom)
0 Response to Writing GMM moment conditions for IPW
Post a Comment