Bookmark and Share

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

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

Re: st: Testing for association

From   Nick Cox <[email protected]>
To   [email protected]
Subject   Re: st: Testing for association
Date   Mon, 26 Mar 2012 15:23:48 +0100

-chitest- and -chitesti- in -tab_chi- from SSC


On Mon, Mar 26, 2012 at 3:15 PM, Shittu, Aminu <[email protected]> wrote:

> Any Stata command for that, based on my data?

From: Nick Cox <[email protected]>

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

On Mon, Mar 26, 2012 at 2:20 PM, Shittu, Aminu <[email protected]> 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:

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