The data correspond to an experiment in which a treatment for depression is studied. Two groups of patients (1: control / 2: treatment) have been followed at five different times (0: pre-test, 1: one month post-test, 3: 3 months follow-up and 6: 6 months follow-up). The dependent variable is a depression score.

Repeated measures ANOVA can be performed in order to determine the effect of the treatment and the effect of time on the depression score.

data("depression")

Format

A data frame with 24 rows and 5 columns.

Examples

data(depression) head(as.data.frame(depression))
#> id treatment t0 t1 t2 t3 #> 1 1 ctr 296 175 187 242 #> 2 2 ctr 376 329 236 126 #> 3 3 ctr 309 238 150 173 #> 4 4 ctr 222 60 82 135 #> 5 5 ctr 150 271 250 266 #> 6 6 ctr 316 291 238 194