Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

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

Re: st: nnmatch

From (Brendan Halpin)
Subject   Re: st: nnmatch
Date   Wed, 21 Mar 2012 10:26:03 +0000

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 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    ULSociology on Facebook:         twitter:@ULSociology

*   For searches and help try:

© Copyright 1996–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index