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]
st: Comparing trend (y) with trend (x) using ordinal logistic regression
From
Ameya Bondre <[email protected]>
To
[email protected]
Subject
st: Comparing trend (y) with trend (x) using ordinal logistic regression
Date
Mon, 12 Nov 2012 13:17:02 -0500
Hello,
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.
Thank you,
Ameya Bondre
*
* 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/