Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: -ttest- or -prtest-?


From   Bert Jung <[email protected]>
To   [email protected]
Subject   st: -ttest- or -prtest-?
Date   Fri, 24 Apr 2009 22:04:19 -0400

Dear Statalisters,

I have an embarrassingly basic question: I am looking at a binary
variable, 0 for "no response" and 1 for "response".  I want to compare
2 groups (treatment/control, also binary).  In this situation is a
-ttest- appropriate or does it have to be a test of proportions
-prtest-?

My vague memory of stats 101 suggests to use -prtest- since the
dependent variable is categorical.  But I can interpret my variable as
numerical.  My understanding is that with many numerical categories a
t-test may be ok.  But here the outcome is 0 or 1 and clearly limited
in that range, which calls for a -prtest-.  The two tests would be
quite different in this case, so the choice matters.  Any comments and
views much appreciated.

As add-on: how can I obtain chi2 values for the proportional test when
using complex survey data?

Many thanks,
Bert
*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index