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 at the end of May, and its replacement, statalist.org 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 <paulaarce@rocketmail.com>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
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?

Thanks,
Paula


----- Original Message -----
From: Nick Cox <njcoxstata@gmail.com>
To: statalist@hsphsun2.harvard.edu
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

On Mon, Oct 1, 2012 at 3:11 PM, Wameq Raza <wameq.r@gmail.com> wrote:

> Please look up PSMATCH2 in the help file.

On Mon, Oct 1, 2012 at 4:08 PM, Paula Arce <paulaarce@rocketmail.com> 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?searchhttp://www.stata.com/support/faqs/resources/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/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


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