Analyze the given data using SPSS's GLM procedure and prepare SPSS syntax to read it in.
HUDM 5123 Lab 1: Dependent group's ttest (RB2 design)
This lab asks you to analyze a simple matchedgroups design in two ways: using the dependent group's t test, and analyzing the same data as a randomized blocks create with p=2 levels of the withinsubjects factor (using SPSS's GLM procedure).
In this study, the researcher is studying effect of participation in an afterschool program on problem behaviours (e.g. smoking, risky sex) in teens. Since participants in the program are volunteers, rather than being randomly assigned to conditions, group of participating teens differs in a number of ways from nonparticipants most importantly in a composite measure of "social/academic risk." The researcher decides to try to control for group differences by matching pairs of students, one participant with one nonparticipant, with comparable risk scores. Fifteen matched pairs of students are created, so the total number of students followed is N=30. After 3 months of program, the scores of participants and nonparticipants are compared (dependent variable is a composite measure of problem behaviours, Y, obtained by summing severity measures across a set of target behaviours).
DATA:
Pair

Partic

NonPartic

01

16

22

02

09

14

03

18

14

04

23

26

05

07

19

06

22

16

07

14

17

08

09

17

09

14

09

10

16

25

11

15

15

12

17

23

13

25

26

14

09

18

15

17

12

Type the above data into the SPSS Data Editor window, or save this file as an unformatted text file and prepare down SPSS syntax to read it in.