Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: N to 1 matching without replacement
From
Austin Nichols <[email protected]>
To
[email protected]
Subject
Re: st: N to 1 matching without replacement
Date
Wed, 5 May 2010 12:53:51 -0400
Russell Callaghan <[email protected]> :
-psmatch2- (on SSC) has a noreplacement option; but once you have
matched n cases onto each of the treatment cases, you can only see the
id of the first match in the _n1 variable. I guess you could hack
into the code, at places like
st_view(N1,.,"_n1")
to instead create a set of N match id variables. Make sure you save
the resulting bastardized program as my_psmatch.ado or somesuch.
On Wed, May 5, 2010 at 12:35 PM, Russell Callaghan
<[email protected]> wrote:
> Hello,
> I want to use psmatch2 (or any other STATA propensity score matching
> algorithm) to perform an N to 1 matching without replacement. I have
> looked at the STATAlist extensively and have found no solution to my
> problem. Although psmatch2 provides 1 to n matching with replacement, I
> want to do matching without replacement so that I can then do a Cox
> regression which accounts for the correlated structure of the data by
> using the VCE(cluster paired) command. Any thoughts about the way ahead?
> Thanks,
> Russ
>
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/