Bookmark and Share

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


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

Re: st: Comparing trend (y) with trend (x) using ordinal logistic regression


From   Nick Cox <[email protected]>
To   [email protected]
Subject   Re: st: Comparing trend (y) with trend (x) using ordinal logistic regression
Date   Mon, 12 Nov 2012 18:35:16 +0000

All your variables are binary, so your ordinal logit collapses to a
logit. Other predictors you don't name won't change that so long as
your outcome variable is fraction or proportion malnourished.

Nick

On Mon, Nov 12, 2012 at 6:17 PM, Ameya Bondre
<[email protected]> wrote:

> My data set is in this format: [observations 1 to 6 --> children (with
> their mothers as respondents)]
>
>         mal     bf      time
> 1       0       0       0
> 2       1       0       0
> 3       1       1       0
> 4       0       1       1
> 5       0       1       1
> 6       1       0       1
>
> where each of the three variables is ordinal taking two values, 0 and 1.
>
> Explanation for variables:
>
> time: data collected in year ___ (0 = year 2009, 1 = year 2011)
> mal: child malnourished (0 = no, 1 = yes)
> bf: child breastfed exclusively for first six months (0 = no, 1 = yes)
>
> I want to see the relationship between the change in number of
> malnourished children with the change in number of children
> exclusively breastfed, from 2009 to 2011. I tried to perform an
> ordinal logistic regression but I am getting errors.
>
> Could you please explain the way in which I can construct new
> variables out of these, to enter in the ologit model? My end goal is
> to assess the change in malnutrition as a function of the change in
> other predictors as well, in addition to bf.
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


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