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
Paula Arce <[email protected]>
To
"[email protected]" <[email protected]>
Subject
Re: Re: st: Matching samples in Stata
Date
Wed, 3 Oct 2012 12:29:58 +0100 (BST)
Thanks for the clarification Ariel; why do I need to specify _weight in the regression?
Cheers,
Paula
----- Original Message -----
From: "Ariel Linden, DrPH" <[email protected]>
To: [email protected]
Cc:
Sent: Tuesday, 2 October 2012, 17:55
Subject: re: Re: st: Matching samples in Stata
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/
*
* 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/