I am currently working on a model with an ordinal outcome (i.e., self-rated health: 1=very unhealthy, 2=unhealthy, 3=fair, 4=healthy, 5=very healthy). My treatment variable is a binary variable (good economic condition=1, others=0). This is how I used the IPW method:
***Generate ATT weight
.logit econ_good urban female age edu i.occupation
.predict ps, p
.gen _att_wt=econ_good+(1-econ_good)*(ps/1-ps)
***Run the model with the weight
ologit selfrate econ_good urban female age edu i.occupation [pw=_att_wt]
Now I really want to try a three-level treatment--economic condition (1=difficult economic condition, 2=fairt economic condition, 3=good economic condition). I don't know how I am going to use the IPW method with (1) A three-level treatment and (2) an ordinal outcome. I also want to keep using the doubly robust method (i.e., having the control variables when I run the Ordinal Logistic Regression model).
Thank you!
Related Posts with Inverse Probability Weighting Method, Multiple Treatments with An Ordinal Variable
Loop: Calculate Distance Based on Positional DataDear Statalist, I am currently using a dataset that includes positional data of individuals in diff…
Stata Econometrics Winter School and Stata Conference, Porto, 20-24 January 2020Stata Econometrics Winter School, Porto, Portugal 20-24th January 2020 The sixth annual Stata Econo…
What's the syntax for panel ARDL model with CCEMG estimator? Should the xtmg command be used?Dear all, I am learning Stata and trying to figure out how to use the xtpmg command with CCE Mean G…
If macro equals multiple values or rangeI need that Stata will do something if a global is equal to the value 7 or 8 (or in a range). I have…
Group of variables that explain most of the observationsHello. I am working on a dataset where people were asked whether they use certain media outlets or n…
Subscribe to:
Post Comments (Atom)
0 Response to Inverse Probability Weighting Method, Multiple Treatments with An Ordinal Variable
Post a Comment