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

# st: Multilevel duration event

 From Sabrina Carrossa To statalist@hsphsun2.harvard.edu Subject st: Multilevel duration event Date Tue, 17 Aug 2010 16:57:37 +0200

Hi all,

I am trying to execute a multilevel duration model.
Since Stata is taking a lot of time to give me an output, I think that
I probably did some mistakes.

I would be most grateful if you can help me.

First of all, my aim is to analyse the entering in (and then exiting
from) poverty. I used a multidimensional definition of poverty that
combine both the monetary poverty and the material deprivation in one
dummy index of "consistent poverty" (1: if poor and deprived; 0:
otherwise).
Since I am analysing the first three waves of SILC data, I can't study
the re-entering/re-exeting from poverty, but I am focusing on a single
event.

I have a doubt about the input data. In order to analyse the entering
in poverty, I created the person-year Db expanding each case D-times,
using the following algorithm:

where:
- T1, T2, T3: three waves; Values: 1 (poor) 0 (not poor) and 2
(missing, but in my Db it is ".");
- Y, Values 1 (entering in poverty) 0 (never been poor)
- D: duration

T1    T2    T3	Y	D
0	0	0	0	3
0	0	1	1	3
0	0	2	0	2

0	1	0	1	2
0	1	1	1	2
0	1	2	1	2

0	2	0	0	1
0	2	1	dropped	dropped
0	2	2	0	1

1	0	0	dropped	dropped
1	0	1	dropped	dropped
1	0	2	dropped	dropped

1	1	0	dropped	dropped
1	1	1	dropped	dropped
1	1	2	dropped	dropped

1	2	0	dropped	dropped
1	2	1	dropped	dropped
1	2	2	dropped	dropped

2	0	0	0	2
2	0	1	1	2
2	0	2	0	1

2	1	0	dropped	dropped
2	1	1	dropped	dropped
2	1	2	dropped	dropped

2	2	0	0	1
2	2	1	dropped	dropped
2	2	2	dropped	dropped

Did I keep/drop my cases in the right way?

Thanks a lot and sorry for this very long-mail.

--
sabrina
*
*   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/