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: Re: st: Matching samples in Stata


From   "Ariel Linden, DrPH" <[email protected]>
To   <[email protected]>
Subject   re: Re: st: Matching samples in Stata
Date   Tue, 2 Oct 2012 12:55:56 -0400

The -outvar- in -psmatch2 is the outcome variable. In other words, if you
want to see if medical students have a significantly (statistically)
different outcome than non-medical students, you could plug that variable in
to -out()-, however the matching code will run perfectly fine without
specifying the outcome. That only means that you'll need to analyze the
outcome on your own after matching, ie:

regress outcome treatment [_weight] 

Ariel

Date: Mon, 1 Oct 2012 15:39:59 +0100 (BST)
From: Paula Arce <[email protected]>
Subject: Re: st: Matching samples in Stata

Thank you - I downloaded the command - 

Even after looking at the help command I am slightly unsure what I need to
specify where. 

Should I first type the variable that codes the student type (1 for medical
0 for the rest) followed by the SES variables I want to match them  on?

psmatch2 student_type SES1 SES2, out(outvar)

Is the out(outvar) command going to produce a variable which lets me know
what participants from the 'other student' group are used as match for the
medics? if not how can I obtain this?

Thanks,
Paula


- ----- Original Message -----
From: Nick Cox <[email protected]>
To: [email protected]
Cc: 
Sent: Monday, 1 October 2012, 15:25
Subject: Re: st: Matching samples in Stata

The command -psmatch2- [not a macro in Stata terms] must be downloaded
from SSC before you can read its help.

Nick

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


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