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

st: RE: easiest way to get chi-square test

From   "Verkuilen, Jay" <>
To   "''" <>
Subject   st: RE: easiest way to get chi-square test
Date   Tue, 22 Dec 2009 15:44:26 -0500

B Web werote:
>>I have some group data (2 groups), but my question is about the counts
(or averages) between groups.

tab group, sum( tot_asian)
tab group, sum( tot_white)
tab group, sum( tot_pacisland)
tab group, sum( tot_afam)

I would like to get a chi-square test, but not sure how to easily get
these down to a 2x2 table where I can do a chi-square test across
group on counts on average.  The tot_ variables are continuous, but I
think the chi-square test is the right thing here.<<

With the info you gave us it's really hard to say what you want but I suspect you are looking for a two-sample t-test, assuming you have a dichotomous variable for grouping and a continuous variable. 

*   For searches and help try:

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