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
META -ANALYSES negative value of a confidence interval - How to explain???Hi to everybody, I use the command metaprop (My effect size is "Prevalence of a skin disease") S…
Latent Class Model in STATA using lclogit__Error happenedhello? I am a novice to STATA. After conjoint analysis, A problem occurred during Latent Class Anal…
Dropping very specific cells over multiple columnsDear All, I would like some help editing a dataset I have, which I have included an example of belo…
interactions involving dummies resulting from dummy coding categorical variablesHello. I am having trouble in understanding what exactly am I contrasting when I use margins r. with…
Dropping Observations by using if commandI have the daily return datasets for various companies from 1996 to 2021 (example of dataset attache…
Subscribe to:
Post Comments (Atom)
0 Response to Inverse Probability Weighting Method, Multiple Treatments with An Ordinal Variable
Post a Comment