Statalist The Stata Listserver

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

st: t-test

From   P chrisman <>
To   Stata List <>
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,

University of Washington
Graduate Student, Biostatistics

* For searches and help try:

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