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]

st: Paired t-test for propensity match cohort


From   Sripal Kumar <sripalkumar@gmail.com>
To   statalist <statalist@hsphsun2.harvard.edu>
Subject   st: Paired t-test for propensity match cohort
Date   Sun, 17 Jul 2011 11:24:51 -0400

Dear all,

There should be a simple solution to the problem below but I cant seem
to wrap my head around it. I have a propensity matched cohort that is
arranged as

Pairs               matching_Variable              Age
1                           0                                    53
1                           1                                    54
2                           0                                    55
2                           1                                    52
3                           0                                    55
3                           1                                    52
4                           0                                    53
4                           1                                    54
5                           0                                    55
5                           1                                    52

How can I do a paired sample t-test for age without having to create
two other variables age_0 and age_1.
thanks in advance.
Sripal.

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


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