How about Fisher's exact test for the corresponding 2 x 2 contingency table.
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Visintainer PhD, Paul
Sent: Wednesday, January 21, 2009 2:41 PM
To: [email protected]
Subject: st: comparing proportions
I'm drawing a blank on a command for comparing two independent binomial distributions, but the command has to be in the form of:
<command> var1, by(group)
For example, comparing a yes/no variable by gender.
-prtest- is the right form, but I would prefer not using the large-sample approximation (sample size is small for several variables).
I suppose -exlogistic- would work, but it seems like a very big hammer for such a small nail.
Thanks
-p
_____________________
Paul F. Visintainer, PhD
[email protected]
-----------------------------------------
CONFIDENTIALITY NOTICE: This email communication and any attachments may contain confidential and privileged information for the use of the designated recipients named above. If you are not the intended recipient, you are hereby notified that you have received this communication in error and that any review, disclosure, dissemination, distribution or copying of it or its contents is prohibited. If you have received this communication in error, please reply to the sender immediately or by telephone at
(413) 794-0000 and destroy all copies of this communication and any attachments. For further information regarding Baystate Health's privacy policy, please visit our Internet web site at http://www.baystatehealth.com.
*
* 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/
This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual
or entity to whom they are addressed. If you are not the intended recipient, you are hereby notified
that any disclosure, copying, distribution or taking of any action in reliance on the information contained in
this e-mail is prohibited. If you have received this e-mail in error, please notify sender by reply e-mail and
delete this message and any attachment(s) immediately. Thank you for your consideration in this matter.
*
* 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/