# ferdo Lab — WEEK 2 · Data Wrangling / Veri düzenleme
# Synthetic data; set RStudio working directory to the package root.
# Base R is sufficient. Match using BOTH id and intervention.

# 1) Read participants.csv and scores.csv.
# TODO

# 2) Inspect occasion values. Which is pretest, which posttest?
# occasion: 0=pretest, 1=posttest.
# TODO

# 3) Combine participant data and scores using id + intervention.
# Why is joining only by id a risky general rule?
# TODO

# 4) Create separate pre and post datasets.
# Match participants with both occasions, retain id, intervention,
# ahiTotal before/after and calculate individual difference.
# TODO

# 5) Count valid pairs and compute the average paired difference.
# Compare intervention groups with a purely DESCRIPTIVE table.
# TODO

# 6) Explain why the result does not establish a causal effect.
# TODO: comment.
