Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


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

Re: st: Testing for association


From   "Shittu, Aminu" <ameen_vet@yahoo.com>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   Re: st: Testing for association
Date   Mon, 26 Mar 2012 07:15:30 -0700 (PDT)

Hi Nick,
 
Any Stata command for that, based on my data?

Aminu



________________________________
From: Nick Cox <njcoxstata@gmail.com>
To: statalist@hsphsun2.harvard.edu 
Sent: Monday, March 26, 2012 2:28:25 PM
Subject: Re: st: Testing for association

If you have a theory that says (e.g.) AA genotype should have fraction
p positive and fraction (1 - p) negative, then that can be tested. It
is testable e.g. by another chi-square test.

Nick

On Mon, Mar 26, 2012 at 2:20 PM, Shittu, Aminu <ameen_vet@yahoo.com> wrote:

I have a genotype variable with 3 levels (AA, AC and CC); is there a
way of testing for individual association of each genotype with the
response variable ulcer status (positive and negative) of a patient?
They are recorded in 2 separate columns though. I used "tab
ulcerstatus genotype, col chi" and got the overall chi2 and p-value.
*
*   For searches and help try:
*  http://www.stata.com/help.cgi?searchhttp://www.stata.com/support/statalist/faqhttp://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   |   Site index