Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Re: Data structure for Cox Hazard


From   Tesfayi Gebre <tesfaron@yahoo.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: Re: Data structure for Cox Hazard
Date   Fri, 27 Jun 2003 10:52:38 -0700 (PDT)

Dear Statlisters,

I need your help to structure (set up) my data for Cox
hazard analysis. I have a three year panel data. My
objective is to look at the predictors for exit/entry
from poverty. Here is how my data look like:

                Marital  Family  Employment  Poverty
id  time        status   size    Status      Status

1  sept, 1996   Divorce   5      Employer   Not poor
1  Oct, 1997    Divorce   5      Employer   Not poor
1  Feb, 1999    Married   6      Employer   Not poor
2  sept, 1996   Married   3      Unemplyd   Poor
2  Oct, 1997    Married   3      Employd    Not poor
2  Feb, 1999    Married   3      Employd    Not poor
3  sept, 1996   Not marr. 1      Employd    Not poor
3  Oct, 1997    Married   2      Employd    Poor
3  Feb, 1999    Married   3      Out of LF  Not Poor
4  sept, 1996   Married   3      Employd    poor
4  Oct, 1997    Married   4      Employd    Not Poor
4  Feb, 1999    Widowed   4      Employd    Poor
...........
...........
I have 3 exits and 2 entries. 

I am using codes for marital status (1-4), employment
status (1-5). out of LF = Out of the labor force.

Grateful for your help!

Tesfayi










__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
*
*   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