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/