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

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

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?


----- Original Message -----
From: Nick Cox <>
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.


On Mon, Oct 1, 2012 at 3:11 PM, Wameq Raza <> wrote:

> Please look up PSMATCH2 in the help file.

On Mon, Oct 1, 2012 at 4:08 PM, Paula Arce <> 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:

*   For searches and help try:

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