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: Matching samples in Stata
From
Nick Cox <[email protected]>
To
[email protected]
Subject
Re: st: Matching samples in Stata
Date
Mon, 1 Oct 2012 15:54:00 +0100
Never used it. However, Barbara Sianesi's talk at
http://www.stata.com/meeting/germany10/germany10_sianesi.pdf
may prove useful.
On Mon, Oct 1, 2012 at 3:39 PM, Paula Arce <[email protected]> wrote:
>
> 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?
From: Nick Cox <[email protected]>
> The command -psmatch2- [not a macro in Stata terms] must be downloaded
> from SSC before you can read its help.
On Mon, Oct 1, 2012 at 3:11 PM, Wameq Raza <[email protected]> wrote:
>> Please look up PSMATCH2 in the help file.
>
> On Mon, Oct 1, 2012 at 4:08 PM, Paula Arce <[email protected]> wrote:
>
>>> I am interested in comparing medical students vs. other students on a number of measures from a survey study. The medical student subgroup accounts for 12% of the total sample.
>>>
>>> I would, therefore, like to match the medical students with a sub-group of the other students based on socio-demographic variables - so that the two samples are more similar in size.
>>>
>>> How can I achieve this in Stata? is there a matching command/macro I can download and use? Has anyone done anything similar and can share some tips?
*
* 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/