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
Trend of proportions of people on a medication over 10 yearsI have 10 years worth of data (surveillance data so its weighted). I want to assess the trend of the…
How to generate a dummy variable in the dataset as attached in this post?I want to generate a dummy variable. When the name for the position of "GS" is the same for the posi…
Data type/precision -import dbf-I'd like advice on double vs. float precision on some data values obtained via import of a dbf file.…
reshape a large household surveyHi statalister, I would like to reshape "long" a large dataset of 8000 households in which every ho…
error for displaying a large numberHello, To merge, I needed to make a specific identifier for each row. As you can see below, for eac…
Subscribe to:
Post Comments (Atom)
0 Response to Writing GMM moment conditions for IPW
Post a Comment