SPSS For Dummies
SPSS For Dummies
Steps:
Results:
2.4 HOW TO CREATE A NEW VARIABLE (COLUMN) USING ‘COMPUTE’
SPSS STEPS
- Select Transform → Compute Variable….→Enter the new variable name
→Enter the formula → OK
Example: difference between sleep last night and sleep last 7 nights
Steps:
* you can compute a descriptive statistic or any tables or graphs using the new variable
2.5 HOW TO PRESENT DATA USING HISTOGRAM
SPSS steps:
- Select Graphs → Histogram → Enter the variable name → OK
Example : histogram for studying hours
- In the results, you can double click on the chart to change the title and label the
axis accordingly
Lesson 3 RECODE, PIE CHART, BAR CHART
3.2 HOW TO CREATE A NEW VARIABLE (COLUMN) USING ‘RECODE’
- Useful for grouping records
- Written steps:
1. List out hypothesis and specify the claim
H0 : µ = 0
H1 : µ </> 0 (claim?)
2. List t-value
3. List p-value (aka Sig.)
4. Reject H0 if p-value < α
Note:
● If it is a two-tail test, take p-value directly from Sig.
● If it is a RIGHT-tail test (H1: μ > 10)
○ If t-value is positive, p-value = sig. / 2
○ If t-value is negative, p-value = 1 - (sig. / 2)
- SPSS steps:
1. Analyze → Compare Means → Independent Samples t-Test
2. Choose Test Variable
3. Define groups (choose the 2 populations)
4. Check % confidence level
- Written steps:
(Part A)
1. List out hypothesis for variance homogeneity
H0 : σ2 A = σ2 B
H1 : σ2 A ≠ σ2 B
- SPSS steps
1. Analyze → Compare Means → Paired-Samples t-Test
2. Set Variable 1 = Before ; Variable 2 = After
3. Check % confidence level
- Written steps:
1. List out hypothesis to test means difference & specify the claim
H0 : µD = 0 (claim?)
H1 : µD ≠ 0
2. List out p-value (aka Sig.)
3. List out α
4. Reject H0 if p-value < α
Lesson 7 (ANOVA)
Analysis of Variance (ANOVA) test is used to test the differences in the means for two
factors and
the interaction. Three hypotheses are tested i.e.
I. For factor A:
𝐻0: 𝜇1 = 𝜇2 = 𝜇3 = ⋯ . = 𝜇𝑛
𝐻1: 𝑎𝑡 𝑙𝑒𝑎𝑠𝑡 𝑜𝑛𝑒 𝑜𝑓 𝑡ℎ𝑒 𝑚𝑒𝑎𝑛𝑠 𝑎𝑟𝑒 𝑑𝑖𝑓𝑓𝑒𝑟𝑒𝑛𝑡
2. In a second column (VAR00002) enter a code number to identify the level of factor A
for each score. If factor A defines the rows of the data matrix, enter
a 1 beside each score from the first row, enter a 2 beside each score from the
second row, and so on.
SPSS Output
Part of the program output is shown below. The output begins with a table listing the
factors (not shown below), followed by a table showing descriptive statistics including
the mean and standard deviation for each cell or treatment condition. The results of the
ANOVA are shown in the table labeled Tests of Between-Subjects Effects. The top row
(Corrected Model) presents the between-treatments SS and df values. The second row
(Intercept) is not relevant for our purposes. The next three rows present the two main
effects and the interaction (the SS, df, and MS values, as well as the F-ratio and the
level of significance), with each factor identified by its column number from
the SPSS data editor. The next row (Error) describes the error term (denominator of the
F-ratio), and the final row (Corrected Total) describes the total variability for the entire
set of scores. (Ignore the row labeled Total.)
HOW TO REPORT THE RESULTS
10.2 INTRODUCTION
In this lesson, we can consider the relationship between two variables in two ways: