Presentation is loading. Please wait.

Presentation is loading. Please wait.

Analyzing Longitudinal Data PART I Computerized Delivery of Cognitive Behavior Therapy – Beat the Blues.

Similar presentations


Presentation on theme: "Analyzing Longitudinal Data PART I Computerized Delivery of Cognitive Behavior Therapy – Beat the Blues."— Presentation transcript:

1 Analyzing Longitudinal Data PART I Computerized Delivery of Cognitive Behavior Therapy – Beat the Blues

2 Clinical Depression Major public health problem Treatments: –Antidepressants – may not respond, lack of medical compliance Side effects include sexual dis-performance, lack of emotions, stupor. –CBT – Cognitive Behavioral Therapy Psychotherapy, the modern “talking treatments” High demand for it, lack of availability.

3 Alternative Modes of Delivery Therapist replaced by a computer (Terminal client program: Beat the Blues) ‏ Main question: does the treatment still work.

4 The Setup Blues Program –Blues program –Pharmacology and/or general practice with the exception of face-to-face counseling or psychological intervention TAU (Treatment as Usual) ‏ –Whatever treatment their GP prescribed. I.e. medication, discussion of problems with GP, provision of practical/social help, referral to counselor/practitioner, or other examiners.

5 Possible Variables Beck Depression Inventory II (BDI) ‏ Measured at several times: –Before treatment –2 Months after the beginning –At 1, 3, 6 month follow up (after the two months) ‏

6 Analyzing Longitudinal Data Longitudinal setup since variables are measured several times on each individual in the study. These measurements will most likely not be independent, hence correlated. Unique analysis needed to account for this.

7 Linear Mixed Effects Models for Repeated Measures Data Uses the idea that an individual pattern of responses is likely to depend on many characteristics of that individual that may or may not be known. Two common forms.

8 Random Intercept Model y ij = β 0 + β 1 t j + u i + ε ij Total residual is partitioned into a subject- specific random component. u i is constant, normally distributed with zero mean, variance = δ 2. U i and ε ij are independent of each other and time. And u i considered the random intercept. The u i acts to model heterogenity in the intercepts

9 Random Slope and Intercept Model y ij = β 0 + β 1 t j + u i + v i t j + ε ij We still have the u i term to explain the heterogeneity in the intercepts, but also the v i t i term to explain the heterogeneity in the slope parameters.

10 Analysis Using R

11 Fitting the Data so it frames “the long form” (each separate repeated measure and associated covariate values appear as a separate row) ‏

12 data("BtheB", package = "HSAUR")‏ > BtheB$subject <-factor(rownames(BtheB))‏ > nobs<-nrow(BtheB)‏ > BtheB_long<- reshape (BtheB, idvar = "subject", + varying = c("bdi.2m", "bdi.4m", "bdi.6m", "bdi.8m"), direction = "long")‏ > BtheB_long$time <-rep(c(2,4,6,8), rep(nobs, 4))‏ > subset (BtheB_long, subject %in% c("1", "2", "3"))‏ drug length treatment bdi.pre subject time bdi 1.2m No >6m TAU 29 1 2 2 2.2m Yes >6m BtheB 32 2 2 16 3.2m Yes <6m TAU 25 3 2 20 1.4m No >6m TAU 29 1 4 2 2.4m Yes >6m BtheB 32 2 4 24 3.4m Yes <6m TAU 25 3 4 NA 1.6m No >6m TAU 29 1 6 NA

13 Run log-likelihood test Test two different models –Random intercept – one random effect (intercepts) ‏ –Random slope and intercept model – two random effects (intercepts and slopes) ‏ –Conclusion: simpler random intercept model is adequate

14 Results from random intercept model pg. 168 We find that time and the Beck Depression Inventory II values (bdi.pre) measured at baseline are significant (the coefficients are not equal to zero. No evidence that the other three covariates differ from zero. No clear evidence of treatment effect


Download ppt "Analyzing Longitudinal Data PART I Computerized Delivery of Cognitive Behavior Therapy – Beat the Blues."

Similar presentations


Ads by Google