Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Chi-square test for Categorical Data Analysis


From   "Hugh Colaco" <hmjc66@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Chi-square test for Categorical Data Analysis
Date   Tue, 18 Sep 2007 17:30:39 -0400

Austin and Maarten,

Thanks for your help. I would like to point out that income is a
categorical variable ranging from 1 to 7 (in ascending order), and
participants had to simply choose the number associated with the
income range. In other words, I do not have a precise dollar income
value for any participant.

Hugh


On 9/18/07, Austin Nichols <austinnichols@gmail.com> wrote:
> Maarten--
> While -intreg- does seem tailor-made in some ways for this problem of
> testing whether e.g. E(Y|X=A)>E(Y|X=B) when Y is discretized as Y*
> (measured in large intervals), by simply typing e.g.
>    intreg ystar groupA
> the assumption in -intreg- is that e (or Y-bX) is N(0,s) which seems
> unlikely to hold true for incomes measured in dollars.
>
> On 9/18/07, Maarten buis <maartenbuis@yahoo.co.uk> wrote:
> > You lose information that way, and if you just want to test, why not do
> > that on the whole distribution? More interesting would be to use
> > -intreg- as this command was specifically designed for this case.
> *
> *   For searches and help try:
> *   http://www.stata.com/support/faqs/res/findit.html
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/
>


-- 
Hugh
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   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   |   What's new   |   Site index