Professional Documents
Culture Documents
Example data
H0: µ Students = 58
In SPSS data view just encode the dataset as shown below: Class A test scores.
The test scores variable is simply called Class_A.
Performing a one-sample t-test in SPSS
Now, let’s perform the one-sample t-test in SPSS:
1. Firstly, go to Analyze > Compare Means > One-Sample T-Test....
2. A new window will open. The variables which are to be included in the test
need to be moved into the Test Variable(s) window. More than one variable
can be entered at the same time.
Next, enter the value to be compared against in the Test Value box. In our
example, this will be 58.
3. To run the test, click the OK button.
Output
Go to the output window in SPSS to view the results. You should see two boxes
under the title T-Test:
The first box gives some descriptive statistics of the variables in the analysis.
There are four columns presented:
t – The t statistic.
df – The number of degrees of freedom.
Sig. (2-tailed) – The significance (P) value for the test in a two-
tailed analysis.
Mean difference – The difference between the group and tested value
average.
Lower (95% confidence interval of the difference) – The lower
95% confidence interval (CI) of the difference between the group and
tested value.
Upper (95% confidence interval of the difference) – The upper
95% CI of the difference between the group and tested value.
Since this value is less than our desired significance threshold (P<0.05),
we reject the null hypothesis which means that Class A results on this test are
significantly different from that of the national average. In other words, Class A
performed better on the cognitive test (t=3.543, p=0.003) then the national
average.
THIS WILL BE THE FORMAT FOR SUBMISSION:
PROBLEM
H0: µ Students = 58
Since this value is less than our desired significance threshold (P<0.05),
we reject the null hypothesis which means that Class A results on this test are
significantly different from that of the national average. In other words, Class A
performed better on the cognitive test (t=3.543, p=0.003) then the national
average.
LINK:
https://toptipbio.com/one-sample-t-test-spss/