Statalist


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

st: AW: Chi Square Test


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
Subject   st: AW: Chi Square Test
Date   Tue, 19 May 2009 09:36:38 +0200

<> 



*************
webuse citytemp2, clear
tabulate region agecat, chi2
*************



HTH
Martin


-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] Im Auftrag von Filippo Pericoli
Gesendet: Dienstag, 19. Mai 2009 09:34
An: [email protected]
Betreff: st: Chi Square Test

I have a cross-sectional dataset of N individuals. On these individuals I have two variables A (binary discrete), and B (categorical discrete). 
What is the command usable to perform the chi square test of the following null hypothesis:
 
B is independent from A
 
Thank you very much
 
Filippo Pericoli
Filippo Pericoli


      

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


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