Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: Manually compute IPTW for PS matching?

From   Adam Olszewski <>
Subject   Re: st: Manually compute IPTW for PS matching?
Date   Fri, 16 Mar 2012 10:51:25 -0400

Hi Pete,
Are you doing PS matching or weighting? If you're only doing 1:1
matching then IPTW is not necessary.
I usually calculate IPTW manually:

gen iptw = treatment/pscore + (1-treatment)/(1-pscore)

I am not aware of any "step-by-step" Stata-specific tutorial on PS
matching. It is a complex process if to be done properly, with
appropriate diagnostics and many potential pitfalls. One brief general
intro is at:

Also, read the help for -pscore2- -pstest- -psgraph- and -pbalchk- thoroughly.

Adam Olszewski

On Fri, Mar 16, 2012 at 2:03 AM, TA Stat <> wrote:
> Dear All
> This is a simple question.  After run psmatch2 command (1:1 matching),
> I got pscore, treated, support, weight, n1, nn, pdif variables.  Do I
> have to manually calculate IPTW? Is any recommended step-by-step
> illustration of PS matching in Stata available?
> Thanks
> Pete
> *
> *   For searches and help try:
> *
> *
> *

*   For searches and help try:

© Copyright 1996–2017 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index