Statalist


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

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


From   Maarten buis <[email protected]>
To   [email protected]
Subject   Re: st: easiest way to get chi-square test
Date   Tue, 22 Dec 2009 12:54:55 -0800 (PST)

--------------------------
Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen
Germany

http://www.maartenbuis.nl
--------------------------


--- On Tue, 22/12/09, B Web <[email protected]> wrote:
> 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.

The key to determining the right test is specifying the 
null-hypothesis, i.e. determining what it is that you 
want to test. So, what is your null-hypothesis?

-- Maarten


      

*
*   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/



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