Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: t-test


From   P chrisman <[email protected]>
To   Stata List <[email protected]>
Subject   st: t-test
Date   Mon, 27 Mar 2006 22:18:07 -0800

Hi All,

Is there a way to do a t-test of the difference in means for an unordered categorical variable. I have an unordered categorical variable and I want to compare the means between group 0 (the reference group) and groups 2, 3, 4 individually. I initially thought to do a regression using the xi: regress command with i.unordered categorical variable, but I am unsure if this is equivalent to separate t-tests for group 0 compared to each group 2, 3 and 4 separately. Any comments/suggestions would be greatly appreciated.
Thank you,

Peggy
University of Washington
Graduate Student, Biostatistics

*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* 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