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
export the result of logistic in excelHi, I have 30 predictors and I would like to fit uni-variate logistic regression for each predictor…
Creating dummy based on variable value in subset yearHi all, If I have data of 100 firms for 10 years with three variables; and I want to make a dummy v…
-xtreg- Ensuring correct model specificationHello! My goal is to study the effect of new feature introduction by online platform on the ratings…
Help generating region variableDear all, I am using Stata 16, on mac. I want to create a region variable based on my dummy variabl…
generating a variable that computes conditional expectationHi, I have two variables of height and weight, I need the command that generates a third variable t…
Subscribe to:
Post Comments (Atom)
0 Response to Writing GMM moment conditions for IPW
Post a Comment