T-TEST PRACTICE DATA -- FICTIONAL TEACHING EXAMPLE

These constructed scores do not describe real students or establish the effectiveness of any revision method.

Files:
t-test-practice.csv: 24 rows, original variables id, group, pre_score, post_score.
t-test-practice.sav: SPSS data with labels and the computed variable change.
t-test-practice.sps: SPSS syntax that creates data and runs all three tests.
t-test-results.spv: actual SPSS Statistics 27 output from that syntax.

group: 1 = Workshop (12 students); 2 = Self-study (12 different students).
Scores: illustrative research-methods assessment, 0-100 scale.
change = post_score - pre_score.
No missing values.

Open SAV directly in SPSS. To recreate the data, open the SPS file in the Syntax Editor.
IMPORTANT: Change the SAVE OUTFILE and OUTPUT SAVE OUTFILE paths to an existing folder on your own computer before choosing Run > All.

Analyses: two-sided, alpha .05, 95% confidence intervals.
1. One-sample: pre_score compared with fixed hypothetical benchmark 70.
2. Independent: post_score, group 1 minus group 2; read Welch's row (equal variances not assumed).
3. Paired: post_score minus pre_score across all 24 students.

The third analysis demonstrates overall change across both groups; it does not test whether one method improves scores more than the other.
The syntax does not automatically certify assumptions. Inspect design, distributions and outliers before drawing inferences in an actual study.
