Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: psmatch2

From   "Millimet, Daniel" <>
To   <>
Subject   st: RE: psmatch2
Date   Thu, 1 Sep 2005 09:19:37 -0500

You should sort the data randomly before calling psmatch2...

set seed 123456
gen u=uniform()
sort u
psmatch2 ...

since there are identical propensity scores, if you call psmatch2 several times with data sorted in different orders you will get different answers since the matched pairs will differ.  As long as the data are sorted randomly each time, and the other assumptions required by matching apply, each estimate is a consistent estimate of the ATT, even though they differ.  By setting the seed and sorting the data randomly, you ensure you can replicate your results later.


Daniel L. Millimet, Associate Professor
Department of Economics
Box 0496
Dallas, TX USA
phone: 214.768.3269
fax: 214.768.1821

-----Original Message-----
From: [] On Behalf Of Patricia Vera Rojas
Sent: Wednesday, August 31, 2005 12:31 AM
Subject: st: psmatch2


I have used "psmatch2" (Matching Method = neighbor) and
I've got:

"There are observations with identical propensity score
values.The sort order of the data could affect your
results.Make sure that the sort order is random before
calling psmatch2"

What can I do to be sure the ATT shown is correct?


Renovamos el Correo Yahoo! 
Nuevos servicios, más seguridad
*   For searches and help try:

*   For searches and help try:

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