How to Use SPSS for Statistical Analysis

Dec 10, 2025 David Rodriguez
How to Use SPSS for Statistical Analysis

SPSS (Statistical Package for the Social Sciences) is a statistical software package used widely in academic research, healthcare, social sciences, and market research. Its menu-driven interface makes it accessible to researchers who need to run statistical tests without writing code. This article covers the core SPSS workflows for the most common types of statistical analysis.


Importing and Preparing Your Data

SPSS reads data from Excel (.xlsx), CSV (.csv), and its native format (.sav). To import an Excel file, go to File > Open > Data and select your file. SPSS displays your data in a spreadsheet-like Data View, with rows as cases and columns as variables. Switch to Variable View (tab at the bottom) to define each variable's type (numeric, string, date), label (a longer description), value labels (e.g., 1 = Male, 2 = Female), and measurement level (nominal, ordinal, or scale).

Setting the correct measurement level is important because SPSS uses it to determine which statistical procedures and chart types are appropriate for each variable. Nominal variables (gender, region) have no inherent order. Ordinal variables (satisfaction rating: low, medium, high) have order but not equal intervals. Scale variables (age, income, temperature) are numeric with equal intervals. If SPSS misclassifies a variable, change it in Variable View before running any analysis.


Descriptive Statistics

To generate descriptive statistics, go to Analyze > Descriptive Statistics > Descriptives. Select the numeric variables you want to summarize. SPSS produces a table showing the mean, standard deviation, minimum, maximum, and valid N for each variable. For a more detailed breakdown, use Analyze > Descriptive Statistics > Frequencies, which adds the median, mode, skewness, and kurtosis, and can generate bar charts or histograms for each variable.

SPSS descriptive statistics output table

For categorical variables, the Frequencies procedure shows frequency tables with counts and percentages. Use Analyze > Descriptive Statistics > Crosstabs to create cross-tabulations between two categorical variables. The Crosstabs dialog includes options for chi-square tests, measures of association (Phi, Cramer's V, Lambda), and risk estimates. For example, cross-tabulating gender with purchase decision and running a chi-square test tells you whether gender is associated with the purchase outcome.


Hypothesis Testing

SPSS provides menu options for all common hypothesis tests. For comparing means between two groups, use Analyze > Compare Means > Independent-Samples T Test. Select the test variable (the numeric outcome) and the grouping variable (the categorical predictor). SPSS runs Levene's test for equality of variances and reports both the equal-variance and unequal-variance t-test results, along with the p-value and confidence interval for the mean difference.

For comparing means across three or more groups, use Analyze > Compare Means > One-Way ANOVA. Select the dependent variable and the factor (grouping variable). In the Post Hoc dialog, select Tukey or Bonferroni to identify which specific groups differ from each other. The output includes the F-statistic, p-value, and group comparison table with significance levels.


Regression Analysis

To build a regression model, go to Analyze > Regression > Linear. Select the dependent variable and one or more independent variables. SPSS provides several method options: Enter (include all predictors simultaneously), Stepwise (automatically add and remove predictors based on statistical criteria), and Forward/Backward selection. The output includes the model summary (R-squared, adjusted R-squared), ANOVA table (testing whether the model is significant overall), and coefficients table (showing each predictor's coefficient, standard error, t-value, and p-value).

Before interpreting regression results, check the assumptions. In the Statistics dialog, request collinearity diagnostics (VIF values above 5 indicate multicollinearity) and Durbin-Watson (values near 2 indicate no autocorrelation). In the Plots dialog, request a normal P-P plot of residuals (points should fall along the diagonal) and a scatter plot of standardized residuals versus predicted values (no pattern should be visible).


Factor Analysis and Reliability

For survey research, factor analysis identifies underlying dimensions in a set of questionnaire items, and reliability analysis (Cronbach's alpha) checks whether related items consistently measure the same construct. Go to Analyze > Dimension Reduction > Factor. Select the items you want to analyze. SPSS runs principal component analysis by default and shows the total variance explained, the scree plot, and the component matrix with factor loadings.

SPSS factor analysis output with rotated component matrix

For reliability analysis, go to Analyze > Scale > Reliability Analysis. Select the items that belong to a single scale (for example, five questions measuring customer satisfaction). SPSS calculates Cronbach's alpha, which ranges from 0 to 1. A value above 0.70 is generally considered acceptable, and above 0.80 is good. The "Alpha if Item Deleted" column shows how alpha would change if each item were removed, helping you identify weak items that reduce scale reliability.


Saving and Exporting Results

SPSS outputs results to the Viewer window, which displays tables and charts. Right-click any table to copy it to the clipboard (in Word format for pasting into documents) or export it as an image. To export all output at once, go to File > Export and choose your format: Word, Excel, PDF, HTML, or CSV. For reproducibility, SPSS records every menu-driven analysis as syntax (the SPSS programming language). Click the Paste button instead of OK to generate the syntax without running it. You can save syntax files (.sps) and rerun analyses on new data by opening the syntax file and clicking Run > All.


Getting Started with SPSS

IBM offers SPSS through several licensing options. SPSS Statistics Subscription starts at $99 per month for a single user and includes the base module plus most add-on modules. A free 30-day trial is available from IBM's website. University students can often access SPSS through their institution's license. When you first open SPSS, start with the sample datasets (available under File > Open > Data > Samples) to practice the workflows described in this article before working with your own data.

The SPSS Syntax Reference is the most comprehensive documentation resource, covering every command and subcommand in detail. For visual learners, IBM provides video tutorials on the SPSS Statistics YouTube channel. The key to becoming proficient with SPSS is practice: run analyses on sample data, examine the output, and experiment with different options in each dialog. Over time, you will develop an intuition for which analysis to use for different research questions and how to interpret the results correctly.