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