Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

Re: st: RE: Comparing 2 proportions with Stata


From   "COMPAORE D. GEORGES" <[email protected]>
To   "[email protected]" <[email protected]>
Subject   Re: st: RE: Comparing 2 proportions with Stata
Date   Thu, 5 Dec 2013 19:07:46 +0000 (GMT)

Thanks to Joe Carner (for the suplementary suggestion) and Carlos (for his correction).
Best regards
Georges 


----- Mail original -----
De : Carlos Avellaneda Suárez <[email protected]>
À : [email protected]
Cc : 
Envoyé le : Jeudi 5 décembre 2013 17h19
Objet : Re: st: RE: Comparing 2 proportions with Stata

Dear Joe,

I think you have a little typo. The syntax should be:

tabi 2661 23243 \ 1775 7213, row chi
tabi 2661 23243 \ 1775 7213, row chi exact

Best regards,
Carlos

2013/12/5 Joe Canner <[email protected]>:
> Georges,
>
> In addition to the previous suggestions, you can also do:
>
> tabi 2661 23243 / 1775 7213, row chi
>
> This uses the chi-square test instead of the large-sample z-test.  Although you have to compute the difference between the numerator and denominator, it has the advantage of being able to do Fisher's exact test if necessary/appropriate:
>
> tabi 2661 23243 / 1775 7213, row chi exact
>
> Regards,
> Joe Canner
> Johns Hopkins University School of Medicine
>
> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On Behalf Of COMPAORE Georges
> Sent: Thursday, December 05, 2013 11:04 AM
> To: [email protected]
> Subject: st: Comparing 2 proportions with Stata
>
> Dear all,
> I want to compare two following proportions 10.3% and 19.7% with respectively the following numerator (2661 & 1775) and the denominator
> (25904 & 8988).
> I have not found satisfaction although my search for help.
> Any help will be appreciated.
> Thank you in advance
> Georges COMPAORE
>
> *
> *  For searches and help try:
> *  http://www.stata.com/help.cgi?search
> *  http://www.stata.com/support/faqs/resources/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/faqs/resources/statalist-faq/
> *  http://www.ats.ucla.edu/stat/stata/
*
*  For searches and help try:
*  http://www.stata.com/help.cgi?searchhttp://www.stata.com/support/faqs/resources/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/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index