Statalist


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

st: AW: Chi Square Test


From   "Martin Weiss" <martin.weiss1@gmx.de>
To   <statalist@hsphsun2.harvard.edu>
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: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] Im Auftrag von Filippo Pericoli
Gesendet: Dienstag, 19. Mai 2009 09:34
An: statalist@hsphsun2.harvard.edu
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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index