# Baseline demographics
baseline_demo <- tibble(
pid = 1:6,
age = c(20, 22, 25, 19, 24, 21),
condition = rep(c("Intervention", "Control"), each = 3)
)
# Time 1 assessment
time1_scores <- tibble(
pid = 1:6,
depression_t1 = c(22, 25, 18, 20, 24, 19)
)
# Time 2 assessment (2 dropouts)
time2_scores <- tibble(
pid = c(1, 2, 3, 4, 6), # Missing 5
depression_t2 = c(15, 24, 12, 18, 17)
)
# Time 3 assessment (1 more dropout)
time3_scores <- tibble(
pid = c(1, 2, 3, 6), # Missing 4 and 5
depression_t3 = c(12, 22, 10, 15)
)