Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: IPW with OLOGIT


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: IPW with OLOGIT
Date   Mon, 7 Apr 2008 17:11:32 +0100

Please supply full references, as often requested on this list and
explained in the FAQ. 

Nick
[email protected] 

Michael Furukawa

I am trying to adjust for selection on observables using propensity
scores as inverse probability weights (ipw), following Wooldridge ("IPW
Estimation for General Missing Data Problems").  My dataset has a
complex survey design with survey weights (svywt), and I want to adjust
for selection bias of an ordered treatment (t1,t2,t3) on a count
outcome.  Can someone help me with the Stata code to compute the IPW
using the predicted probabilities as propensity scores?  I want to
compute IPW by multiplying the survey weight*(1/propensity score),
following Zanutto et al. (2005).

ologit t_cat $var
predict p1 p2 p3

/*Here's where I need help*/
ipw=svywt*[1/p1 ...]

glm depvar $var t2 t3 [pweight=ipw], fam(bin) link(logit) irls robust


*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index