
IBM SPSS Statistics is widely used by students, researchers, universities, healthcare organizations, businesses, and government agencies to organize data, perform statistical tests, create charts, and interpret research results.
Although SPSS contains many advanced features, beginners do not need to learn everything at once. Most introductory research projects follow the same basic process:
- Define the variables.
- Enter or import the data.
- Check and clean the dataset.
- Select an appropriate statistical test.
- Run the analysis.
- Interpret and report the results.
This tutorial explains that complete process using a fictional student survey dataset. By the end, you will know how to enter data, calculate descriptive statistics, create graphs, run common statistical tests, interpret SPSS output, and save your work.
The instructions are based on IBM SPSS Statistics 32, released on April 23, 2026. Most steps are also applicable to recent versions such as SPSS 29, 30, and 31, although some buttons and menu labels may appear slightly different.
What Is SPSS?
SPSS stands for Statistical Package for the Social Sciences. The software is now officially known as IBM SPSS Statistics.
SPSS allows users to:
- Enter and organize research data
- Import data from Excel and CSV files
- Define variable and value labels
- Identify missing or incorrect values
- Calculate descriptive statistics
- Create tables and graphs
- Conduct hypothesis tests
- Perform correlation and regression analysis
- Export results to Word, Excel, PDF, PowerPoint, and other formats
Unlike programming-based statistical tools, SPSS allows most analyses to be completed through menus and dialog boxes. It also generates syntax, allowing researchers to save and reproduce their analyses.
The Basic SPSS Analysis Process

Recommended alt text: SPSS analysis workflow showing variable definition, data entry, cleaning, analysis, interpretation, and reporting.
The usual SPSS workflow is:
Define variables → Enter or import data → Clean data → Choose a test → Run analysis → Interpret and report
Skipping one of these stages can produce misleading results. For example, running an analysis before defining missing-value codes may cause SPSS to treat “99” as a real survey response instead of a missing answer.
Part 1: Understanding the SPSS Interface
When you start SPSS, the main working area is called the Data Editor. It has a spreadsheet-like layout for creating, viewing, and editing datasets.
The current Data Editor includes Data View, Variable View, and an overview of the dataset. Data View displays the observations, while Variable View stores information about the variables, such as their names, labels, types, value labels, measurement levels, and missing-value definitions.
Data View
Data View contains the actual data.
- Each row represents a case, participant, respondent, patient, organization, country, experiment, or other unit of analysis.
- Each column represents a variable.
- Each cell contains one value for one case and one variable.
For example:
| id | age | gender | exam_score |
|---|---|---|---|
| 1 | 22 | 1 | 72 |
| 2 | 24 | 2 | 65 |
| 3 | 21 | 1 | 81 |
The first row represents participant 1. That participant is 22 years old, belongs to gender category 1, and received an exam score of 72.
Variable View
Variable View defines the structure of the dataset. Each row in Variable View represents one variable.
For example:
| Name | Type | Label | Values | Measure |
|---|---|---|---|---|
| id | Numeric | Participant identification number | None | Nominal |
| age | Numeric | Age in years | None | Scale |
| gender | Numeric | Gender category | 1 = Category A; 2 = Category B | Nominal |
| exam_score | Numeric | Final examination score | None | Scale |

Recommended alt text: Comparison of SPSS Data View and Variable View with sample participant data.
You can switch between Data View and Variable View using the tabs near the bottom of the Data Editor. SPSS also supports the keyboard shortcut Ctrl + T on Windows or Linux and Command + T on macOS.
Output Viewer
The Output Viewer displays the results of your analyses, including:
- Statistical tables
- Test statistics
- Significance values
- Model summaries
- Charts
- Warnings and notes
The Output Viewer is separate from the dataset. Saving the data file does not automatically save the output file.
Syntax Editor
The Syntax Editor contains SPSS commands. Although beginners can use menus, syntax is valuable because it creates a permanent and reproducible record of the analysis.
In most SPSS dialog boxes:
- OK runs the analysis immediately.
- Paste sends the corresponding command to the Syntax Editor.
- Reset clears the current selections.
- Cancel closes the dialog box.
For important research projects, use Paste instead of immediately selecting OK. Save the syntax and run it from the Syntax Editor.
Part 2: Create a New SPSS Dataset
Step 1: Open a Blank Dataset
Start IBM SPSS Statistics and choose:
New Dataset
A blank Data Editor will appear.
Before entering participants’ answers, define the variables in Variable View.
Step 2: Open Variable View
Select the Variable View tab at the bottom of the Data Editor.
You will see columns such as:
| Property | Purpose |
|---|---|
| Name | Short variable name used by SPSS |
| Type | Numeric, string, date, currency, or another format |
| Width | Maximum number of characters or digits displayed |
| Decimals | Number of decimal places displayed |
| Label | Full description of the variable |
| Values | Labels assigned to numeric category codes |
| Missing | User-defined missing-value codes |
| Columns | Display width in Data View |
| Align | Left, center, or right alignment |
| Measure | Nominal, ordinal, or scale |
| Role | Intended role in some modeling procedures |
IBM recommends assigning value labels, missing-value definitions, and measurement levels in Variable View, especially when data have been imported from Excel or another external source.
Step 3: Name the Variables
Enter the following variables for the practice dataset:
| Variable name | Variable label |
|---|---|
| id | Participant identification number |
| age | Age in years |
| gender | Gender category |
| teaching_method | Teaching method |
| study_hours | Average daily study hours |
| exam_score | Final examination score |
| satisfaction | Student satisfaction rating |
| passed | Examination result |
SPSS variable-naming rules
Use short and meaningful variable names.
Good examples include:
ageincometest_scorejob_satisfactioneducation_level
Avoid names such as:
What is your age?test scoreQ1-answer1gender
Variable names should not contain ordinary spaces. Use an underscore to separate words.
The full survey question can be entered in the Label column.
Step 4: Select the Variable Type
Most variables in the sample dataset are numeric.
Use:
- Numeric for age, scores, categories represented by numbers, and Likert-scale responses.
- String for names, open-ended responses, identification codes containing letters, or text.
- Date for calendar dates.
- Currency for monetary values when currency formatting is needed.
A categorical variable can still be numeric. For example, gender categories may be stored as 1 and 2 rather than typed as words.
Numeric coding usually makes data entry, analysis, and value labeling easier.
Step 5: Add Variable Labels
Variable names should be short, but labels can be detailed.
For example:
| Name | Label |
|---|---|
| study_hours | Average number of hours studied per day |
| exam_score | Final examination score out of 100 |
| satisfaction | Satisfaction with the course |
| passed | Whether the participant passed the examination |
SPSS output can display either variable names or labels. Clear labels make tables easier to understand.
Step 6: Define Value Labels
Value labels explain what numeric category codes mean.
For teaching_method, select the cell under Values, and then select the button containing three dots.
Enter:
| Value | Label |
|---|---|
| 1 | Lecture |
| 2 | Blended |
| 3 | Online |
Select Add after entering each value.
For satisfaction, enter:
| Value | Label |
|---|---|
| 1 | Very dissatisfied |
| 2 | Dissatisfied |
| 3 | Neutral |
| 4 | Satisfied |
| 5 | Very satisfied |
For passed, enter:
| Value | Label |
|---|---|
| 0 | No |
| 1 | Yes |
After adding the labels, select OK.
Value labels do not replace the underlying numbers. SPSS continues to analyze the numeric values while displaying meaningful category names.
Step 7: Define Missing Values
Missing data occur when a participant skips a question, refuses to answer, or provides an unusable response.
SPSS recognizes blank numeric cells as system-missing values. These normally appear as a period in Data View.
Researchers may also use special codes, such as:
- 99 = No answer
- 98 = Not applicable
- 999 = Missing
When special codes are used, they must be defined in the Missing column. Otherwise, SPSS may treat them as genuine data.
Do not use a plausible response value as a missing code. For example, do not use 0 as missing when 0 can be a valid answer.
Step 8: Choose the Measurement Level
SPSS uses three main measurement levels.
| Measurement level | Meaning | Examples |
|---|---|---|
| Nominal | Categories with no meaningful order | Country, department, marital status |
| Ordinal | Categories with a meaningful order | Satisfaction level, class rank, education level |
| Scale | Numeric values with meaningful distances | Age, height, income, test score |
Set the practice variables as follows:
| Variable | Measure |
|---|---|
| id | Nominal |
| age | Scale |
| gender | Nominal |
| teaching_method | Nominal |
| study_hours | Scale |
| exam_score | Scale |
| satisfaction | Ordinal |
| passed | Nominal |
An identification number is nominal because its numerical value does not represent quantity. Participant 20 is not “twice as much” as participant 10.
Part 3: Enter Data in SPSS
After defining all variables, select Data View.
Enter one participant on each row. Do not place totals, headings, blank separator rows, or explanatory notes inside the dataset.
A correctly structured dataset should follow these rules:
- One row per case
- One column per variable
- One value per cell
- Consistent coding
- Clear variable labels
- Missing values properly defined
Select the Value Labels button on the toolbar to switch between numerical codes and their labels.
For example, the passed variable may display either:
- 0 and 1, or
- No and Yes
The underlying values remain unchanged.
Part 4: Import Excel or CSV Data into SPSS
Many researchers enter survey responses in Excel and later import them into SPSS.
Prepare the spreadsheet
Before importing it:
- Place variable names in the first row.
- Use one row per participant.
- Use one column per variable.
- Remove merged cells.
- Remove titles above the variable names.
- Remove totals and subtotals.
- Use consistent numeric codes.
- Avoid completely blank rows within the data.
- Save the file.
A properly prepared spreadsheet might look like this:
| id | age | gender | study_hours | exam_score |
|---|---|---|---|---|
| 1 | 22 | 1 | 3.2 | 72 |
| 2 | 24 | 2 | 2.5 | 65 |
| 3 | 21 | 1 | 4.0 | 81 |
Import the file
In SPSS, choose:
File → Open → Data
Change the file type to Excel, CSV, or the appropriate format, and select the file.
For an Excel workbook:
- Select the required worksheet.
- Select the option indicating that the first row contains variable names.
- Specify the cell range when necessary.
- Select OK.
SPSS supports reading and writing multiple data formats, including its native .sav format, spreadsheets, text files, and files created by other statistical packages. The Open File dialog can also generate the corresponding GET DATA syntax for Excel files.
After importing, open Variable View and check:
- Variable types
- Decimal places
- Labels
- Value labels
- Missing values
- Measurement levels
These properties may not be fully preserved in an ordinary spreadsheet.
Part 5: Save SPSS Data, Output, and Syntax
SPSS projects may contain three important file types.
| File | Typical extension | Contains |
|---|---|---|
| Data file | .sav | Cases, variables, labels, and data |
| Output file | .spv | Tables, tests, charts, and results |
| Syntax file | .sps | Commands used to conduct the analysis |
Save each file separately.
Save the dataset
Choose:
File → Save As
Enter a descriptive file name, such as:
student_survey_cleaned.sav
Avoid repeatedly replacing the original raw dataset. A safer naming system is:
student_survey_raw.savstudent_survey_cleaned.savstudent_survey_final.sav
This allows you to return to the original data when an error occurs.
Part 6: Check and Clean the Data
Never begin hypothesis testing immediately after importing a dataset. First inspect the values for errors, unusual observations, and missing data.
Check categorical variables with Frequencies
Choose:
Analyze → Descriptive Statistics → Frequencies
Move categorical variables such as gender, teaching_method, satisfaction, and passed into the Variables box.
Select OK.
Review each frequency table for:
- Unexpected categories
- Typing mistakes
- Missing values
- Impossible values
- Categories with very few observations
For example, if teaching method is coded only as 1, 2, and 3, a value of 7 indicates a likely error.
Check scale variables with Descriptives
Choose:
Analyze → Descriptive Statistics → Descriptives
Move age, study_hours, and exam_score into the Variables box.
Select Options and request:
- Mean
- Standard deviation
- Minimum
- Maximum
Select Continue, and then OK.
By default, the SPSS Descriptives procedure provides the mean, standard deviation, minimum, and maximum. Additional statistics such as variance, range, skewness, and kurtosis can also be requested.
For the practice dataset, the examination score has approximately:
- Mean: 70.90
- Standard deviation: 9.89
- Minimum: 55
- Maximum: 88
An impossible value such as 880 would immediately appear in the maximum column.
Identify duplicate cases
Duplicate cases may occur when a response is entered or imported more than once.
Use:
Data → Identify Duplicate Cases
Choose a unique identification variable, such as id, to identify repeated records.
Do not automatically delete every duplicate. Confirm whether the records are true duplicates or legitimate repeated observations.
Recode a variable
To combine or change categories, use:
Transform → Recode into Different Variables
“Recode into Different Variables” is generally safer than replacing the original variable.
For example, age might be recoded into:
- 1 = 20–22 years
- 2 = 23–25 years
- 3 = 26 years or older
Create a new variable such as age_group rather than replacing age.
Compute a new variable
Use:
Transform → Compute Variable
This function can create:
- Total questionnaire scores
- Average scale scores
- Change scores
- Body mass index
- Percentage scores
- Logarithmic transformations
For example, if a satisfaction scale contains five items named sat1 to sat5, a mean score can be calculated using:
COMPUTE satisfaction_mean = MEAN(sat1, sat2, sat3, sat4, sat5).
EXECUTE.
Part 7: Calculate Descriptive Statistics
Descriptive statistics summarize the characteristics of a dataset.
They should normally be calculated before inferential tests.
Frequencies for categorical variables
Use:
Analyze → Descriptive Statistics → Frequencies
Frequencies are appropriate for variables such as:
- Gender
- Employment status
- Department
- Education category
- Passed or failed
- Satisfaction category
The output includes:
- Frequency
- Percentage
- Valid percentage
- Cumulative percentage
Percentage versus valid percentage
Percentage uses all cases, including cases with missing values.
Valid percentage excludes missing cases.
When missing responses exist, valid percentage is often the more useful value for describing participants who answered the question.
Descriptives for scale variables
Use:
Analyze → Descriptive Statistics → Descriptives
Common statistics include:
| Statistic | Meaning |
|---|---|
| Mean | Arithmetic average |
| Standard deviation | Typical variation around the mean |
| Minimum | Lowest observed value |
| Maximum | Highest observed value |
| Range | Difference between maximum and minimum |
| Variance | Squared measure of variability |
| Skewness | Degree of distribution asymmetry |
| Kurtosis | Shape and tail characteristics of a distribution |
Explore data in more detail
Use:
Analyze → Descriptive Statistics → Explore
Explore can produce:
- Descriptive statistics
- Confidence intervals
- Histograms
- Boxplots
- Normality plots
- Tests of normality
- Separate summaries for groups
Place the scale variable in Dependent List and an optional grouping variable in Factor List.
Part 8: Create Charts in SPSS
Charts help readers understand patterns that may not be obvious in tables.
Bar chart
Bar charts are suitable for categorical variables or grouped summaries.
Choose:
Graphs → Chart Builder
Select Bar, drag a chart type into the preview area, and place the variables on the required axes.
Use bar charts for:
- Number of participants in each department
- Pass rate by group
- Mean examination score by teaching method
- Satisfaction categories

Recommended alt text: Bar chart showing mean examination scores for lecture, blended, and online teaching methods.
Histogram
Histograms show the distribution of a scale variable.
In Chart Builder:
- Select Histogram.
- Drag the histogram into the preview area.
- Place
exam_scoreon the horizontal axis. - Select OK.
A histogram can help identify:
- Skewness
- Multiple peaks
- Gaps
- Unusual values
- Possible floor or ceiling effects
Boxplot
A boxplot displays the median, quartiles, spread, and possible outliers.
Use a boxplot when comparing a scale variable across groups, such as exam scores across teaching methods.
Do not delete an outlier merely because SPSS marks it. Investigate whether it represents a data-entry error, a measurement problem, or a genuine observation.
Part 9: Choose the Correct Statistical Test
The correct test depends on:
- The research question
- Variable measurement levels
- Number of groups
- Whether observations are independent or related
- Distributional assumptions
- Sample size
- Study design

Recommended alt text: Decision guide for choosing frequencies, t-test, ANOVA, chi-square, or correlation in SPSS.
A basic test-selection table is shown below.
| Research question | Common test |
|---|---|
| Describe one categorical variable | Frequencies |
| Describe one scale variable | Descriptives |
| Compare a sample mean with a known value | One-sample t-test |
| Compare two independent group means | Independent-samples t-test |
| Compare two related measurements | Paired-samples t-test |
| Compare three or more independent group means | One-way ANOVA |
| Test association between two categorical variables | Chi-square test |
| Test a relationship between two scale variables | Pearson correlation |
| Predict a scale outcome | Linear regression |
Test selection should be based on the research design and assumptions, not simply on which test produces a statistically significant result.
Part 10: Run an Independent-Samples t-Test
When to use it
Use an independent-samples t-test when:
- The dependent variable is scale.
- The grouping variable has two independent categories.
- Participants in one group are different from participants in the other group.
Example question:
Do examination scores differ between gender category A and gender category B?
SPSS supports one-sample, independent-samples, and paired-samples t-tests. The independent test compares means from different groups of cases.
SPSS steps
Choose:
Analyze → Compare Means → Independent-Samples T Test
- Move
exam_scoreto Test Variable(s). - Move
genderto Grouping Variable. - Select Define Groups.
- Enter 1 for Group 1 and 2 for Group 2.
- Select Continue.
- Select OK.
Interpret the output
First review Group Statistics, which displays the sample size, mean, standard deviation, and standard error for each group.
In the practice dataset:
- Category A mean = 73.20
- Category B mean = 68.60
Next review Levene’s Test for Equality of Variances.
- When Levene’s test is not significant, use the “Equal variances assumed” row.
- When it is significant, use the “Equal variances not assumed” row.
Then find Sig. (2-tailed) or the corresponding two-sided significance value.
For the practice dataset:
- t(18) = 1.04
- p = .311
Because the p-value is greater than .05, the result is not statistically significant.
Example interpretation
An independent-samples t-test indicated that examination scores did not differ significantly between category A (M = 73.20, SD = 10.18) and category B (M = 68.60, SD = 9.54), t(18) = 1.04, p = .311.
A nonsignificant result does not prove that the groups are identical. It indicates that the available data did not provide sufficient evidence of a difference under the selected model.
Part 11: Run a Paired-Samples t-Test
When to use it
Use a paired-samples t-test when the same participants provide two related scores.
Examples include:
- Pretest and posttest scores
- Before-treatment and after-treatment measurements
- Scores under two experimental conditions
- Ratings of two related products by the same participants
SPSS steps
Choose:
Analyze → Compare Means → Paired-Samples T Test
- Select the two related variables.
- Place them together as a pair.
- Select OK.
Review:
- Paired Samples Statistics
- Paired Samples Correlations
- Paired Samples Test
The p-value in the Paired Samples Test indicates whether the mean difference between the two measurements is statistically significant.
Reporting template
A paired-samples t-test showed that scores were significantly higher after the intervention (M = __, SD = __) than before the intervention (M = __, SD = ), t() = __, p = __.
Part 12: Run a One-Way ANOVA
When to use it
Use one-way analysis of variance when:
- The dependent variable is scale.
- The independent variable has three or more independent groups.
Example question:
Do examination scores differ among lecture, blended, and online teaching methods?
The SPSS One-Way ANOVA procedure tests whether group means differ and can provide group-level descriptive statistics and variance-assumption checks.
SPSS steps
Choose:
Analyze → Compare Means → One-Way ANOVA
- Move
exam_scoreto Dependent List. - Move
teaching_methodto Factor. - Select Options.
- Request descriptive statistics and a homogeneity-of-variance test.
- Select Continue.
- Select Post Hoc.
- Choose Tukey when an appropriate equal-variance post hoc comparison is required.
- Select Continue, and then OK.
Interpret the output
Review the group means first.
For the practice dataset:
| Teaching method | Mean exam score |
|---|---|
| Lecture | 76.00 |
| Blended | 75.71 |
| Online | 59.33 |
The ANOVA result is approximately:
- F(2, 17) = 13.72
- p < .001
This indicates that at least one group mean differs from another.
ANOVA does not by itself identify which specific groups differ. That requires planned comparisons or an appropriate post hoc test.
In the sample data, Tukey comparisons suggest that the online group differs from both the lecture and blended groups, while lecture and blended teaching do not differ significantly from each other.
Example interpretation
A one-way ANOVA found a statistically significant difference in examination scores among the three teaching methods, F(2, 17) = 13.72, p < .001. Tukey post hoc comparisons indicated that the online group had lower scores than both the lecture and blended groups. The lecture and blended groups did not differ significantly.
Statistical significance does not establish causation. Group differences may be influenced by confounding variables, selection effects, or other aspects of the study design.
Part 13: Run a Chi-Square Test
When to use it
Use the chi-square test of independence when both variables are categorical.
Example question:
Is gender category associated with passing the examination?
SPSS steps
Choose:
Analyze → Descriptive Statistics → Crosstabs
- Move
genderto Rows. - Move
passedto Columns. - Select Statistics.
- Select Chi-square.
- Select Continue.
- Select Cells.
- Request observed counts, expected counts, and row percentages.
- Select Continue, and then OK.
Crosstabs creates contingency tables for the joint distribution of categorical variables. It can display observed counts, expected counts, and row, column, or total percentages, as well as tests of association.
Interpret the output
Review:
- The crosstabulation table
- Expected cell counts
- Pearson Chi-Square
- Degrees of freedom
- Significance value
For the practice dataset:
- χ²(1) = 0.83
- p = .361
The association is not statistically significant.
Example interpretation
A chi-square test of independence found no statistically significant association between gender category and examination result, χ²(1, N = 20) = 0.83, p = .361.
For small tables or sparse data, inspect whether the expected-count assumptions are adequately satisfied. An exact test or another method may be more appropriate when expected counts are too small.
Part 14: Run a Pearson Correlation
When to use it
Pearson correlation measures the direction and strength of a linear relationship between two scale variables.
Example question:
Is daily study time related to examination score?
Correlation coefficients range from −1 to +1.
| Correlation | General interpretation |
|---|---|
| Close to +1 | Strong positive relationship |
| Close to 0 | Weak or no linear relationship |
| Close to −1 | Strong negative relationship |
These are general descriptions rather than universal cutoffs. Interpretation should consider the research field, measurement reliability, sample size, and practical importance.
SPSS steps
Choose:
Analyze → Correlate → Bivariate
- Move
study_hoursandexam_scoreinto the Variables box. - Select Pearson.
- Select Two-tailed, unless a justified directional hypothesis was specified in advance.
- Select Flag significant correlations when desired.
- Select OK.
The SPSS Correlations procedure produces Pearson product-moment correlations and significance values.
Interpret the output
Find the cell where study_hours intersects with exam_score.
For the fictional practice data:
- r = .994
- p < .001
- N = 20
This represents an unusually strong positive relationship in the deliberately simplified practice dataset.
Example interpretation
There was a strong positive correlation between daily study time and examination score, r(18) = .994, p < .001. Participants who reported more study hours tended to have higher examination scores.
Correlation does not demonstrate causation. A third variable, reverse direction, measurement bias, or the study design may explain part or all of the relationship.
Part 15: Run a Simple Linear Regression
When to use it
Simple linear regression is used to predict a scale dependent variable from one predictor.
Example question:
Can daily study hours predict examination scores?
SPSS steps
Choose:
Analyze → Regression → Linear
- Move
exam_scoreto Dependent. - Move
study_hoursto Independent(s). - Select Statistics.
- Request estimates, model fit, confidence intervals, and relevant diagnostics.
- Select Continue.
- Select Plots when residual plots are required.
- Select OK.
The SPSS Regression procedure calculates multiple or simple regression equations and provides associated statistics and diagnostic plots.
Interpret the output
Model Summary
Look for R Square.
In the practice dataset:
- R² = .988
This means the simple model accounts for approximately 98.8% of the observed variation in examination scores within this deliberately constructed dataset.
ANOVA table
The regression ANOVA table tests whether the model explains a statistically significant amount of variation in the dependent variable.
Coefficients table
For the practice dataset, the estimated equation is:
Predicted exam score = 37.55 + 11.01 × study hours
The study-hours coefficient means that a one-hour increase in reported daily study time is associated with an estimated 11.01-point increase in the predicted exam score in this sample.
Example interpretation
A simple linear regression indicated that daily study hours significantly predicted examination scores, R² = .988, p < .001. Each additional reported study hour was associated with an estimated 11.01-point increase in examination score.
Because the practice dataset is small and intentionally simplified, these numerical results should not be interpreted as real educational evidence.
Part 16: Use SPSS Syntax
SPSS syntax improves transparency, reproducibility, and efficiency.
The following syntax runs several analyses used in this tutorial:
FREQUENCIES VARIABLES=gender teaching_method satisfaction passed.
DESCRIPTIVES VARIABLES=age study_hours exam_score
/STATISTICS=MEAN STDDEV MIN MAX.
T-TEST GROUPS=gender(1 2)
/VARIABLES=exam_score
/CRITERIA=CI(.95).
ONEWAY exam_score BY teaching_method
/STATISTICS DESCRIPTIVES HOMOGENEITY
/POSTHOC=TUKEY ALPHA(.05).
CROSSTABS
/TABLES=gender BY passed
/STATISTICS=CHISQ
/CELLS=COUNT ROW EXPECTED.
CORRELATIONS
/VARIABLES=study_hours exam_score
/PRINT=TWOTAIL.
REGRESSION
/DEPENDENT exam_score
/METHOD=ENTER study_hours.
To run syntax:
- Highlight the required commands.
- Select the green Run button.
- Choose Run → Selection, or use the appropriate keyboard shortcut.
Add comments by beginning a comment with an asterisk and ending it with a period:
* Descriptive analysis for the examination variables.
DESCRIPTIVES VARIABLES=study_hours exam_score.
Save the syntax as an .sps file.
Part 17: Interpret SPSS Output Correctly
SPSS calculates statistics, but it does not automatically determine whether the research design, variable coding, assumptions, or conclusions are valid.
When reading output, ask:
- What test was performed?
- Why was this test appropriate?
- How many valid cases were analyzed?
- Were there missing observations?
- Were the required assumptions assessed?
- What is the effect estimate?
- What is the confidence interval?
- What is the p-value?
- Is the effect practically important?
- Does the study design support causal interpretation?
Understanding the p-value
A p-value measures how incompatible the observed result is with the specified null model, under the assumptions of the test.
A common decision rule is:
- p < .05: statistically significant
- p ≥ .05: not statistically significant
However, a p-value does not measure:
- The size of an effect
- The practical importance of a result
- The probability that the research hypothesis is true
- The quality of the data
- Whether the study is unbiased
- Whether the relationship is causal
Always interpret p-values alongside effect sizes, confidence intervals, sample size, measurement quality, assumptions, and study design.
Part 18: Export SPSS Results
SPSS output can be exported for use in reports, dissertations, presentations, and research papers.
In the Output Viewer, choose:
File → Export
Depending on the installed version and output format, SPSS can export results to formats including:
- Word
- Excel
- PowerPoint
- HTML
- Text
IBM’s current workbook export documentation lists Word, Excel, HTML, PDF, PowerPoint, and text among the supported document formats.
Before exporting:
- Delete unnecessary warning messages.
- Rename output headings.
- Confirm that tables are complete.
- Check decimal places.
- Make charts readable.
- Avoid copying an entire unedited output file into a thesis.
- Reformat the essential results according to the required academic style.
Common SPSS Mistakes Made by Beginners
1. Entering participants in columns
Participants normally belong in rows, while variables belong in columns.
2. Typing words inconsistently
Entries such as “Male,” “male,” “M,” and “man” may be treated as different categories. Use consistent numerical codes and value labels.
3. Treating identification numbers as scale data
An ID number identifies a case. Its mean and standard deviation have no substantive meaning.
4. Failing to define missing-value codes
A value such as 99 may distort the mean if it is not defined as missing.
5. Replacing the original variable during recoding
Use Recode into Different Variables to preserve the original data.
6. Selecting a test based only on the p-value
The test must be chosen before examining which procedure gives a significant result.
7. Reporting only “significant” or “not significant”
Report the test statistic, degrees of freedom, p-value, group statistics, effect size, and confidence interval when appropriate.
8. Assuming correlation proves causation
A statistically significant correlation does not demonstrate that one variable caused the other.
9. Deleting outliers without investigation
First determine whether the value is an error, an unusual but valid case, or evidence that another method is needed.
10. Saving only the output
Save the dataset, output, and syntax separately.
SPSS Beginner’s Checklist
Before running an analysis, confirm that:
- Each row represents one case.
- Each column represents one variable.
- Variable names are clear.
- Variable labels have been added.
- Categorical values have labels.
- Missing values are correctly defined.
- Measurement levels are correct.
- Impossible values have been checked.
- Duplicate records have been investigated.
- The statistical test matches the research question.
- Relevant assumptions have been assessed.
- Output, syntax, and data have been saved.
- Results are reported with more than a p-value.
Frequently Asked Questions
Is SPSS difficult to learn?
The basic features are relatively straightforward because analyses can be performed through menus. Beginners should first learn data structure, Variable View, descriptive statistics, charts, and a small number of common tests.
Can I use Excel data in SPSS?
Yes. SPSS can import Excel and CSV files. The spreadsheet should have variable names in the first row, one participant per row, and one variable per column.
What is the difference between Data View and Variable View?
Data View contains the observed values. Variable View defines the names, types, labels, categories, missing values, and measurement levels of the variables.
What is the difference between nominal, ordinal, and scale data?
Nominal variables contain unordered categories. Ordinal variables contain ordered categories. Scale variables represent quantitative measurements with meaningful numerical distances.
Which SPSS test should a beginner use?
The correct test depends on the research question and variable types. A t-test compares two means, ANOVA compares three or more means, chi-square examines categorical associations, correlation measures relationships between scale variables, and regression predicts an outcome.
What does Sig. mean in SPSS?
“Sig.” normally refers to a significance value or p-value. Its exact interpretation depends on the table and test in which it appears.
Should I use one-tailed or two-tailed significance?
A two-tailed test is normally appropriate unless a directional hypothesis was clearly justified and specified before analyzing the data.
Can SPSS analyze Likert-scale data?
Yes. SPSS can summarize individual Likert items and calculate composite scale scores. The appropriate analysis depends on whether an individual ordinal item or a validated multi-item scale is being analyzed.
Do I need SPSS syntax?
Syntax is not mandatory for basic use, but it is strongly recommended for academic and professional research because it documents the analysis and makes it easier to reproduce.
Can SPSS create APA-style tables?
SPSS generates statistical tables, but they often require editing before they meet a university’s or journal’s APA formatting requirements.
Conclusion
Learning how to use SPSS begins with understanding the structure of the dataset rather than memorizing statistical menus.
Start by defining variables correctly in Variable View. Enter or import the observations, check the data for errors, calculate descriptive statistics, and select a statistical procedure that matches the research question and measurement levels.
The most important beginner skills are:
- Structuring data correctly
- Defining variable properties
- Managing missing values
- Checking data quality
- Selecting the correct statistical test
- Reading the relevant output tables
- Interpreting results in context
- Saving syntax for reproducibility
Once these foundations are understood, more advanced SPSS procedures—such as reliability analysis, multiple regression, factor analysis, mediation analysis, logistic regression, repeated-measures analysis, and nonparametric tests—become much easier to learn.
