Bookmark and Share

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: nnmatch


From   Melaku Fekadu <[email protected]>
To   "[email protected]" <[email protected]>
Subject   Re: st: nnmatch
Date   Wed, 21 Mar 2012 12:39:38 +0200

Thanks for Brendan. I thought about this but then I was afraid that the program may do some kind of bias adjustments to the choice of the control group based on the outcome variable which is totally fictitious here. What do you think?

On 21 במרץ 2012, at 12:26, [email protected] (Brendan Halpin) wrote:

> On Wed, Mar 21 2012, Melaku Fekadu wrote:
> 
>> My question is this:  in nnmatch the first variable after nnmatch is
>> the outcome variable (y in the syntax below) which I do not have at
>> the moment. How can I get rid of this variable, so that the nnmatch
>> recognize that I do not use an outcome variable? Or are there  othet
>> matching methods that do what I am aiming for?
>> 
>> nnmatch y t x1 x2 [w=w], met(matname) bias(x1 x3) exact(x4) pop
> 
> Why not create a fake y to act as a placeholder?
> 
> -gen y = runiform()-
> 
> Brendan
> -- 
> Brendan Halpin,   Department of Sociology,   University of Limerick,   Ireland
> Tel: w +353-61-213147  f +353-61-202569  h +353-61-338562;  Room F1-009 x 3147
> mailto:[email protected]    ULSociology on Facebook: http://on.fb.me/fjIK9t
> http://teaching.sociology.ul.ie/bhalpin/wordpress         twitter:@ULSociology
> 
> *
> *   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/

*
*   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/


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