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
Analyzing two time points with regressionI am analyzing data with the mental health component score (measured 0-100) for 4500 individuals. Th…
mi predict problemDear all, I am having problems trying to get the baseline survivor function after mi predict. I am …
groups command, export/copy table to excelthe groups function is a very useful command, however the output seems to be not very transferable -…
How to recreate longitudinal analyses from SAS in STATA using xtgee only using SAS output???Hello all, I have been trying to recreate SAS output in Stata but keep getting discrepancies. Unfor…
longitudinal population survey dataHello, I have a longitudinal population survey data. This is actually my first time working with su…
Subscribe to:
Post Comments (Atom)
0 Response to Inverse Probability Weighting Method, Multiple Treatments with An Ordinal Variable
Post a Comment