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

From |
Richard Williams <Richard.A.Williams.5@ND.edu> |

To |
"statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>, "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu> |

Subject |
Re: st: -ttest- or -prtest-? |

Date |
Fri, 24 Apr 2009 23:15:30 -0500 |

At 10:04 PM 4/24/2009, Bert Jung wrote:

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.

Use prtest. See the last page of http://www.nd.edu/~rwilliam/stats1/TwoSample-Stata.pdf

http://www.nd.edu/~rwilliam/stats1/x42.pdf

http://www.nd.edu/~rwilliam/stats1/Categorical-Stata.pdf Yet another strategy is to do logistic regression, e.g. logit y x

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

svy: logit y x ------------------------------------------- Richard Williams, Notre Dame Dept of Sociology OFFICE: (574)631-6668, (574)631-6463 HOME: (574)289-5227 EMAIL: Richard.A.Williams.5@ND.Edu WWW: http://www.nd.edu/~rwilliam * * 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/

**Follow-Ups**:**Re: st: -ttest- or -prtest-?***From:*Bert Jung <bjung59@gmail.com>

**References**:**st: -ttest- or -prtest-?***From:*Bert Jung <bjung59@gmail.com>

- Prev by Date:
**st: -ttest- or -prtest-?** - Next by Date:
**Re: st: imputing continuous values when respondents select categories, e.g., income category** - Previous by thread:
**st: -ttest- or -prtest-?** - Next by thread:
**Re: st: -ttest- or -prtest-?** - Index(es):

© Copyright 1996–2015 StataCorp LP | Terms of use | Privacy | Contact us | What's new | Site index |