Hypothesis
Testing Using SPSS
Unpaired t-test:
- Under ‘Variable
View’ label your columns as follows:
- Column 1= ‘Grouping Variable’ (Ex. Sex)
- Column
2= ‘Data Variable’ (Ex. Height)
- In ‘Data View’ enter your data as
follows:
|
Drug
|
time
|
|
N
|
2.6
|
|
N
|
5.1
|
|
P
|
3.2
|
- Click
‘Analyze’ on the upper toolbar
and highlight ‘Compare Means’
- Click
‘Independent Samples T Test’
- Click
on your Grouping Variable (Ex. Sex) and click the arrow to put it into the
Grouping Variable box
- Click
the tab labeled ‘Define Groups’ and
type in your 2 group names. You need to type this exactly as it
appears in your data column.
Click ‘Continue’
- Click
on your Data Variable and click on the arrow to put this into the Test
Variable box
- Click
OK
Understanding the Output:




Paired t-test:
- Label
your columns and enter your data as follows:
|
Before
|
After
|
|
1
|
10
|
|
6
|
12
|
|
4
|
8
|
- Click Analyze and highlight ‘Compare Means’ then click on ‘Paired Samples T Test’
- Click
on the labels in the left box and move to ‘Paired Variables’ box on the right using the arrow. YOU MUST HIGHLIGHT BOTH COLUMNS FIRST BEFORE CLICKING THE
ARROW TO MOVE THEM TO THE ‘PAIRED VARIABLES’ BOX
- Click
Ok
Understanding the Output:

