Presentation is loading. Please wait.

Presentation is loading. Please wait.

Modelling Longitudinal Data Survival Analysis. Event History. Recurrent Events. A Final Point – and link to Multilevel Models (perhaps).

Similar presentations


Presentation on theme: "Modelling Longitudinal Data Survival Analysis. Event History. Recurrent Events. A Final Point – and link to Multilevel Models (perhaps)."— Presentation transcript:

1 Modelling Longitudinal Data Survival Analysis. Event History. Recurrent Events. A Final Point – and link to Multilevel Models (perhaps).

2 Y i 1 =  ’ X i1 +  i1 Vector of explanatory variables and estimates Independent identifiably distributed error Outcome 1 for individual i

3 Y i 2 =  ’ X i2 +  i2 Vector of explanatory variables and estimates Independent identifiably distributed error Outcome 2 for individual i THE SAME AGAIN AT TIME 2

4 Y i 1 =  ’ X i1 +  i1 Y i 2 =  ’ X i2 +  i2 Considered together conventional regression analysis in NOT appropriate

5 Y i 2 - Y i 1 =  ’( X i2 -X i1 ) + (  i2 -  i1 ) Change in Score Here the  ’ is simply a regression on the difference or change in scores.

6 As social scientists we are often substantively interested in whether a specific event has occurred.

7 Survival Data – Time to an event In the medical area… Duration from treatment to death. Time to return of pain after taking a pain killer.

8 Survival Data – Time to an event Social Sciences… Duration of unemployment. Duration of time on a training scheme. Duration of housing tenure. Duration of marriage. Time to conception.

9 Consider a binary outcome or two-state event 0 = Event has not occurred 1 = Event has occurred

10 Start of Study End of Study 01 0 0 1 1 t1 t2 t3

11 These durations are a continuous Y so why can’t we use standard regression techniques?

12 Start of StudyEnd of Study 01 0 0 1 1 1 0 CENSORED OBSERVATIONS 0

13 Start of StudyEnd of Study 1 B CENSORED OBSERVATIONS A

14 These durations are a continuous Y so why can’t we use standard regression techniques? What should be the value of Y for person A and person B at the end of our study (when we fit the model)?

15 Cox Regression is a method for modelling time-to-event data in the presence of censored cases. Explanatory variables in your model (continuous and categorical). Estimated coefficients for each of the covariates. Handles the censored cases correctly.

16 Start of StudyEnd of Study 01 0 0 1 1 1 0 CENSORED OBSERVATIONS 0 UNEMPLOYMENT AND RETURNING TO WORK STUDY 0 = Unemployed; 1 = Returned to work

17 Y variable = duration with censored observations X1X1 X3X3 X2X2 A Statistical Model

18 Y variable = duration with censored observations Previous Occupation Educational Qualifications A Statistical Model Length of Work experience A continuous covariate

19 More complex event history analysis

20 Start of Study End of Study 0 t1 t2 t3 0 = Unemployed; 1 = Returned to work 11 UNEMPLOYMENT AND RETURNING TO WORK STUDY 0

21 Start of Study End of Study 0 t1 0 = Unemployed; 1 = Returned to work UNEMPLOYMENT AND RETURNING TO WORK STUDY Spell or Episode

22 Start of Study End of Study 0 t1 0 = Unemployed; 1 = Returned to work 1 UNEMPLOYMENT AND RETURNING TO WORK STUDY Transition = movement from one state to another

23 Recurrent Events Analysis

24 The structure of many large-scale studies results in survey data being collected at a number of discrete occasions. In this situation, rather than being continuous, time lends itself to be conceptualized as a sequence of discrete events. Furthermore, social scientists are often substantively interested in whether a specific event has occurred. Taken together, these two issues appeal to the adoption of a discrete-time or event history approach.

25 Recurrent events are merely outcomes that can take place on a number of occasions. A simple example is unemployment measured month by month. In any given month an individual can either be employed or unemployed. If we had data for a calendar year we would have twelve discrete outcome measures (i.e. one for each month).

26 Social scientists now routinely employ statistical models for the analysis of discrete data, most notably logistic and log- linear models, in a wide variety of substantive areas. I believe that the adoption of a recurrent events approach is appealing because it is a logical extension of these models.

27 Willet and Singer (1995) conclude that discrete-time methods are generally considered to be simpler and more comprehensible, however, mastery of discrete-time methods facilitates a transition to continuous-time approaches should that be required. Willet, J. and Singer, J. (1995) Investigating Onset, Cessation, Relapse, and Recovery: Using Discrete-Time Survival Analysis to Examine the Occurrence and Timing of Critical Events. In J. Gottman (ed) The Analysis of Change (Hove: Lawrence Erlbaum Associates).

28 STATISTICAL ANALYSIS FOR BINARY RECURRENT EVENTS (SABRE) Fits appropriate models for recurrent events. It is like GLIM. It can be downloaded free.

29 www.cas.lancs.ac.uk/software

30 Consider a binary outcome or two-state event 0 = Event has not occurred 1 = Event has occurred In the cross-sectional situation we are used to modelling this with logistic regression.

31 0 = Unemployed; 1 = Returned to work UNEMPLOYMENT AND RETURNING TO WORK STUDY – A study for six months

32 Months 123456 obs000000 Constantly unemployed

33 Months 123456 obs111111 Constantly employed

34 Months 123456 obs100000 Employed in month 1 then unemployed

35 Months 123456 obs000001 Unemployed but gets a job in month six

36 Months 123456 obs010110 obs001011 obs011001 obs100010 Mixed employment patterns

37 Here we have a binary outcome – so could we simply use logistic regression to model it? Months 123456 obs000000

38 Yes and No!

39 SABRE fits two models that are appropriate to this analysis. Model 1 = Pooled Cross-Sectional Logit Model

40 POOLED CROSS-SECTIONAL LOGIT MODEL x it is a vector of explanatory variables and  is a vector of parameter estimates.

41 POOLED CROSS-SECTIONAL LOGIT MODEL In conventional logistic regression models, where each observation is assumed to be independent, a logistic link function is used, the contribution to the likelihood by the i th case and the t th event is given by the equation above.

42 This approach can be regarded as a naïve solution to our data analysis problem.

43 We need to consider a number of issues….

44 Months Y 1 Y 2 obs00 Pickle’s tip - In repeated measured analysis we would require something like a ‘paired’ t test rather than an ‘independent’ t test because we can assume that Y 1 and Y 2 are related.

45 SABRE fits two models that are appropriate to this analysis. Model 2 = Random Effects Model (or logistic mixture model)

46 Repeated measures data violate an important assumption of conventional regression models. The responses of an individual at different points in time will not be independent of each other. This problem has been overcome by the inclusion of an additional, individual-specific error term.

47

48 The random effects model extends the pooled cross-sectional model to include a case-specific random error term to account for residual heterogeneity. For a sequence of outcomes for the i th case, the basic random effects model has the integrated (or marginal likelihood) given by the equation.

49 Davies and Pickles (1985) have demonstrated that the failure to explicitly model the effects of residual heterogeneity may cause severe bias in parameter estimates. Using longitudinal data the effects of omitted explanatory variables can be overtly accounted for within the statistical model. This greatly improves the accuracy of the estimated effects of the explanatory variables

50

51 Movers and Stayers When considering data on recurrent events there will be individuals for whom there will be zero (or very low) probabilities of change in outcome from one event to the next. These individuals are termed as ‘stayers’.

52 Months 123456 obs000000 This person is a stayer!

53 Months 123456 obs111111 So is this person.

54 An awareness of the issue of ‘stayers’ is important for technical reasons. A limitation of a parametric modelling approach is that the tail behaviour of the normal distribution is inconsistent with ‘stayers’ and they will tend to be underestimated (see Spilerman 1972). Spilerman, S. (1972) ‘Extensions of the Mover-Stayer Model’, American Journal of Sociology, 78, pp.599-626.

55 Recurrent events may be analysed using other software but SABRE is specifically designed to handle stayers and this feature increases SABRE’s flexibility in representing residual heterogeneity (Barry, Francis, Davies, and Stott 1998). Barry, J., Francis, B., Davies, R.B. and Stott,D. (1998) SABRE Users Guide http://www.cas.lancs.ac.uk/software/sabre3.1/sabreuse.html

56 Past Behaviour Current Behaviour STATE DEPENDENCE

57 Unemployed Employed Young People Aged 19 MAY APRIL Different Probabilities of Employment

58 This is called a MARKOV model A Markov model helps to control for a previous outcome (or behaviour).

59 ACCOUNTS FOR PREVIOUS OUTCOME ( y t - 1 )

60 Unemployed Explanatory Variables Employed Explanatory Variables The Model Provides TWO sets of estimates MAY APRIL

61 This is a ‘two-state’ MARKOV model But we can make it more complicated.

62 Months Y 1 Y 2 obs00 First Order Markov Model

63 Months Y 1 Y 2 Y 3 obs000 Second Order Markov Model

64 FINAL POINT – A THOUGHT!

65 Months 123456 obs010110 obs001011 obs011001 obs100010 Mixed employment patterns

66 abcde f 1 2 3 4 1 2 1 2 3 1 2 3 1 2 1 2 3 1 2 g Observations Months Individuals Hierarchical or Multilevel Data Structure

67 Is the recurrent events model simply a multilevel model fitted at the single level? A controversial point! More later…..


Download ppt "Modelling Longitudinal Data Survival Analysis. Event History. Recurrent Events. A Final Point – and link to Multilevel Models (perhaps)."

Similar presentations


Ads by Google