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: xtmelogit cross-classified groups
From
"Johanna Bromakow" <[email protected]>
To
[email protected]
Subject
st: xtmelogit cross-classified groups
Date
Mon, 23 Jan 2012 20:17:06 +0100
I�using xtmelogit to estimate a cross-classified random intercept model. The data represent the participation in adult education courses between 2007 and 2010. My subjects are participants of integration courses of an adult education centre in Berlin. I want to analyze their transition in non-integration courses in dependence of the behavior of other course members.
My problem is that subjects can participate in multiple courses at the same time und cross different integration courses over time (meaning that one integration course is followed by another und different kinds of integration courses are combined). As a consequence subjects are exposed to time-varying and crossing group influences.
I spent the last two days trying to find a solution for this problem, but did not succeed. One possibility of dealing with cross-classified groups seems to create dummies for each group (vgl. Hox) and treat groups as combinations of the dummy variables nested at a higher level. But this would not work for my data because of the high number of courses. Is there any possibility in Stata to deal with such complex issues? My idea is to reshape spells with multiple courses from wide to long and treat them as nested within ID and time. But I’m not sure if this would be adequate …
My data are structured as following, with
k1, k2 … k6 … ID of integration course number 1, 2 …
tid … ID of participant
jahr … year
hj … semester/halfyear
time … time since first since first integration course (until 2010, halfyear-intervall)
tid time jahr hj k1 k2 k3 k4 k5 k6
|--------------------------------------------------------------------|
1. 5203 0 2007 2 162720 164254 164548 . . .
2. 5203 1 2008 1 . . . . . .
3. 5203 2 2008 2 . . . . . .
4. 5203 3 2009 1 . . . . . .
5. 5203 4 2009 2 . . . . . .
|--------------------------------------------------------------------|
6. 5203 5 2010 1 . . . . . .
7. 5203 6 2010 2 . . . . . .
8. 7542 0 2007 1 145182 165965 . . . .
9. 7542 1 2007 2 168273 . . . . .
10. 7542 2 2008 1 . . . . . .
|--------------------------------------------------------------------|
11. 7542 3 2008 2 . . . . . .
12. 7542 4 2009 1 . . . . . .
13. 7542 5 2009 2 . . . . . .
14. 7542 6 2010 1 . . . . . .
15. 7542 7 2010 2 . . . . . .
--
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de
*
* 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/