Statalist


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

st: RE: RE: comparing proportions


From   "Visintainer PhD, Paul" <[email protected]>
To   "'[email protected]'" <[email protected]>
Subject   st: RE: RE: comparing proportions
Date   Wed, 21 Jan 2009 16:06:04 -0500

Of course! I see my error now.  I got too focused on an approach with a by() statement.  I just have to combine the two dataset differently.   Sometimes I just have to type a question to see how ridiculous it is.  (Now I just have to work on waiting a bit longer before I hit "send").

Thanks,

-p

_____________________
Paul F. Visintainer, PhD
[email protected]



-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Anderson, Bradley
Sent: Wednesday, January 21, 2009 3:34 PM
To: [email protected]
Subject: st: RE: comparing proportions

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/

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