← how-to

SPSS Data Analysis: A Beginner's Guide to Tests, Output and APA Reporting

SPSS data analysis step by step: set up Variable View, run descriptives, choose the right test, check assumptions, run a t test from the Analyze menu, read the output and report it in APA 7, with a worked example.

24 November 2026Updated 25 November 2026
SPSSstatisticsdata analysisdissertationAPA style

SPSS data analysis means entering or importing your data, defining each variable in Variable View, summarising it with descriptive statistics, choosing a test that fits your research question and measurement levels, checking that test's assumptions, running it from the Analyze menu and reporting the output in APA style. Most student projects need only a handful of procedures, and research project guidance can help you choose them before you collect data.

This guide takes you through that process in IBM SPSS Statistics, from a blank data file to a finished APA 7 results paragraph, with a decision table for choosing tests, exact menu paths and a worked example built on a small invented dataset. FLN Tutors (Freelancer Network) statistics tutors use this same sequence when they work through a student's own data in one-to-one sessions.

SPSS data analysis at a glance

QuestionShort answer
What is SPSS?IBM SPSS Statistics, a menu-driven statistics package that also accepts command syntax
Where do I enter data?Data View: one row per case (participant), one column per variable
Where do I define variables?Variable View: name, type, labels, value codes, missing values and measure
Which menu runs the tests?Analyze, then the family of test, such as Compare Means, Correlate or Regression
Where do results appear?The Output Viewer, as tables and charts you can copy or export
How do I pick a test?From your research question, the measurement level of each variable and the design
What must I check first?The test's assumptions, such as normality, equal variances and expected counts
How do I report results?In APA 7 style: test statistic, degrees of freedom, exact p value and an effect size

What is SPSS and what is it used for?

SPSS is statistical software published by IBM under the name IBM SPSS Statistics. Universities use it widely in psychology, nursing, education, business, sport science and the social sciences because you can run most analyses from drop-down menus without writing code. The current release line is version 31, and the menus described here follow the IBM SPSS Statistics 31 documentation. Older versions use almost the same paths, although a few dialog boxes and output tables look slightly different.

Students use it for three jobs: describing data (counts, means, standard deviations and charts), testing hypotheses (whether groups differ or variables are related) and preparing data (recoding, computing scale totals and handling missing values).

SPSS has three main windows: the Data Editor, which holds your data in Data View and Variable View; the Output Viewer, which collects every table and chart; and the Syntax Editor, which stores commands you can rerun later.

Data View vs Variable View: what is the difference?

The Data Editor has two tabs at the bottom of the window, and each does a different job.

FeatureData ViewVariable View
What a row meansOne case, usually one participant or respondentOne variable
What a column meansOne variable, such as age or groupOne attribute of a variable, such as Name or Measure
What you do hereType or check the actual valuesDefine how SPSS should read and label those values
Typical mistakesTwo rows for one person; text typed into a numeric columnWrong measure level; missing value codes not declared

Each participant must appear on exactly one row. If you measured the same people twice, for example before and after an intervention, the two scores go in two columns on the same row, not in two rows. That layout is what the paired-samples t test and repeated measures procedures expect.

How to set up variables in Variable View

Set up Variable View before you type any data. It takes ten minutes and prevents most of the errors that markers spot in results chapters.

ColumnWhat to enterExample
NameA short name with no spaces, starting with a letterrevision_method
TypeNumeric for almost everything, including coded groupsNumeric
Width and DecimalsHow many characters and decimal places to display8 and 0
LabelThe full description that will appear in output tablesRevision method used before the exam
ValuesThe meaning of each numeric code1 = Spaced practice, 2 = Massed practice
MissingCodes that mean no answer, so SPSS excludes them99 = Did not answer
MeasureNominal, Ordinal or ScaleNominal for group, Scale for exam score
RoleUsed by some dialogs to preselect variablesInput for most variables

According to IBM's naming rules, a variable name must begin with a letter, cannot contain spaces, must be unique, cannot end with a full stop and cannot be one of the reserved words such as ALL, AND, BY, OR, TO or WITH. Underscores are allowed inside names, so exam_score works where exam score does not.

Code categories as numbers and attach value labels, rather than typing words such as "male" or "spaced" into the data. Numeric codes work in every procedure, sort correctly and avoid spelling variations that SPSS would treat as separate groups. Declare missing value codes too. If you type 99 for a skipped question but do not declare it as missing, SPSS will treat 99 as a real answer and every mean that includes it will be wrong.

Measurement levels: nominal, ordinal and scale

The Measure column tells SPSS, and you, what kind of data each variable holds. It is the single most important setting for choosing a test.

  • Nominal: categories with no natural order, such as revision method, nationality or degree programme. You can count them but not average them.
  • Ordinal: categories with a meaningful order but uneven or unknown gaps, such as a single agreement item from strongly disagree to strongly agree, or a ranking of preferences.
  • Scale: numeric values where differences are meaningful, such as age in years, reaction time, exam percentage or a total score from a validated questionnaire. SPSS uses Scale to cover what many textbooks call interval and ratio data.

IBM's documentation warns that if you store ordinal categories as text, SPSS assumes alphabetical order, so "high", "low" and "medium" would sort in the wrong order. Numeric codes with value labels avoid this.

A frequent student question is whether a Likert scale is ordinal or scale. A single Likert item is ordinal. A total or mean of several items that form a validated scale is commonly treated as scale data in psychology and education, provided the scale is reliable and the distribution is reasonable. If your module guidance takes a stricter line, follow it and use non-parametric tests.

A 7-step SPSS workflow for any project

Whatever your design, the same sequence keeps an analysis clean and defensible.

  1. Write down each research question or hypothesis and name the variables it involves, including which is the outcome and which is the predictor or grouping variable.
  2. Set up Variable View, then enter the data or import it with File, Import Data for Excel or CSV files.
  3. Screen the data. Run Frequencies on every variable to catch impossible values, such as an age of 211 or a code of 3 in a two-group variable, and correct them against your raw records.
  4. Prepare variables. Use Transform, Recode into Different Variables for regrouping and Transform, Compute Variable for scale totals, and run a reliability check on multi-item scales with Analyze, Scale, Reliability Analysis.
  5. Describe the sample and main variables with descriptive statistics and charts.
  6. Check assumptions for each planned test, then run the test or its alternative.
  7. Interpret and report. Save the data (.sav), syntax (.sps) and output (.spv) files together, keep an untouched copy of the raw data, and note every decision, such as excluded cases.

Your methodology chapter should explain these decisions, and our guide on how to write a dissertation methodology shows where the data analysis plan belongs.

How to get descriptive statistics in SPSS

Descriptive statistics summarise your data before you test anything. SPSS offers three main procedures, all under Analyze, Descriptive Statistics.

ProcedureMenu pathBest forWhat you get
FrequenciesAnalyze, Descriptive Statistics, FrequenciesNominal and ordinal variables; screening every variableCounts and percentages; optional charts and statistics
DescriptivesAnalyze, Descriptive Statistics, DescriptivesScale variables, quicklyMean, standard deviation, minimum and maximum
ExploreAnalyze, Descriptive Statistics, ExploreScale variables by group, plus assumption checksDescriptives per group, boxplots, histograms and normality tests

For categorical variables, report counts and percentages. For scale variables, report the mean and standard deviation, or the median and interquartile range if the distribution is clearly skewed. Explore is the most useful of the three for a results chapter because the Factor List box splits every statistic by group, which gives you the numbers for your descriptive table and your assumption checks in one run.

How to choose the right statistical test

Choose the test from your question, not from the output you hope to see. Ask three things: am I comparing groups or looking for a relationship; what measurement level is my outcome; and are the groups independent or the same people measured more than once?

Research questionOutcome variablePredictor or groupsParametric testNon-parametric alternative
Does one sample mean differ from a known value?ScaleNone, one sampleOne-sample t testOne-sample Wilcoxon signed-rank test
Do two separate groups differ?ScaleTwo independent groupsIndependent-samples t testMann-Whitney U test
Do the same people differ at two time points?ScaleTwo related measurementsPaired-samples t testWilcoxon signed-rank test
Do three or more separate groups differ?ScaleThree or more independent groupsOne-way ANOVAKruskal-Wallis H test
Do the same people differ across three or more conditions?ScaleThree or more related measurementsRepeated measures ANOVAFriedman test
Are two categorical variables associated?NominalNominalChi-square test of independenceFisher's exact test for small 2 by 2 tables
Are two continuous variables related?ScaleScalePearson correlationSpearman's rho or Kendall's tau-b
Does one or more variables predict an outcome?ScaleScale or coded categoriesLinear regressionConsider transformation or robust methods; ask your supervisor
Does one or more variables predict a yes or no outcome?Nominal with two categoriesAnyBinary logistic regressionNot usually needed

Parametric tests compare means and assume roughly normal data; non-parametric tests compare ranks and make fewer assumptions, at some cost in power. For ordinal outcomes, or badly skewed scale data in a small sample, the right-hand column is usually safer.

How to check assumptions before you run a test

Every test carries assumptions, and markers look for evidence that you checked them. The most common checks are below.

AssumptionApplies toHow to check in SPSSIf it fails
Independence of observationsMost testsA design question: one row per person, no person in two groupsUse a paired or repeated measures test, or rethink the design
Approximate normalityt tests, ANOVA, Pearson correlationExplore, Plots, tick Normality plots with tests; look at histograms, Q-Q plots and the Shapiro-Wilk testConsider the non-parametric alternative, especially in small samples
No extreme outlierst tests, ANOVA, correlation, regressionBoxplots in Explore; scatterplotsCheck for entry errors; report any exclusion and why
Equal variancesIndependent t test, one-way ANOVALevene's test in the t test output or the ANOVA OptionsRead the "equal variances not assumed" row; use Welch's ANOVA
Expected countsChi-squareCrosstabs, Cells, tick ExpectedUse Fisher's exact test or merge sparse categories
Linearity and homoscedasticityCorrelation, regressionScatterplot; plot standardised residuals against predicted valuesConsider a transformation or a different model
No multicollinearityMultiple regressionRegression, Statistics, Collinearity diagnostics (VIF and tolerance)Remove or combine highly overlapping predictors

Use the Shapiro-Wilk result as one piece of evidence, not a verdict. With large samples it flags trivial departures from normality, and with very small samples it can miss real ones, so look at the plots too. A widely taught rule is that chi-square needs expected counts of at least 5 in most cells; SPSS prints a footnote under the Chi-Square Tests table telling you how many cells fall below that figure.

How to run a t test in SPSS, step by step

All three t tests sit under the same menu. These paths match the IBM SPSS Statistics 31 documentation.

Independent-samples t test (two separate groups, one scale outcome):

  1. Go to Analyze, Compare Means, Independent-Samples T Test.
  2. Move the outcome, such as exam_score, into Test Variable(s).
  3. Move the grouping variable, such as revision_method, into Grouping Variable, click Define Groups and enter the two codes, for example 1 and 2.
  4. Leave Estimate effect sizes ticked so SPSS reports Cohen's d.
  5. Click OK, or click Paste to save the syntax and run it from the Syntax Editor.

Paired-samples t test (same people, two measurements): go to Analyze, Compare Means, Paired-Samples T Test, select the two columns, such as pre_score and post_score, as one pair and click OK.

One-sample t test (one mean against a fixed value): go to Analyze, Compare Means, One-Sample T Test, move the variable into Test Variable(s), type the comparison value into Test Value and click OK.

The independent-samples output includes a Group Statistics table with the mean and standard deviation of each group, an Independent Samples Test table with Levene's test and two rows of t test results, and in recent versions an Independent Samples Effect Sizes table. Levene's test decides which row you read. If its significance value is above .05, read the "Equal variances assumed" row; if it is .05 or below, read "Equal variances not assumed", which is the Welch-corrected t test. Some departments now recommend reporting the Welch row by default, so check your module guidance.

AnalysisMenu pathKey settings
One-way ANOVAAnalyze, Compare Means, One-Way ANOVAOptions or Statistics: Homogeneity of variance test and Welch; Post Hoc: Tukey if variances are equal, Games-Howell if not; tick the effect size option
Chi-square test of independenceAnalyze, Descriptive Statistics, CrosstabsStatistics: Chi-square and Phi and Cramer's V; Cells: Observed, Expected and row percentages
Pearson or Spearman correlationAnalyze, Correlate, BivariateTick Pearson, Spearman or Kendall's tau-b; choose two-tailed unless you pre-registered a direction
Linear regressionAnalyze, Regression, LinearStatistics: Estimates, Confidence intervals, Model fit, Collinearity diagnostics; Plots: standardised residuals
Mann-Whitney UAnalyze, Nonparametric Tests, Legacy Dialogs, 2 Independent SamplesTick Mann-Whitney U and define the two group codes
Wilcoxon signed-rankAnalyze, Nonparametric Tests, Legacy Dialogs, 2 Related SamplesSelect the pair of related variables
Kruskal-Wallis HAnalyze, Nonparametric Tests, Legacy Dialogs, K Independent SamplesDefine the range of group codes
Normality checksAnalyze, Descriptive Statistics, ExplorePlots: Normality plots with tests, histogram

ANOVA tells you only that at least one group differs; the post hoc table shows which pairs differ. For chi-square, row percentages are usually the clearest way to describe the pattern.

How to read SPSS output tables

SPSS output is dense, and most of it does not belong in your write-up. Learn which columns matter for each test.

Output tableColumns to readWhat they mean
Group Statistics (t test)N, Mean, Std. DeviationSample size, mean and spread for each group
Independent Samples TestLevene's F and Sig.; t, df, two-sided p, Mean Difference, 95% Confidence IntervalWhether variances differ; the test result and the size and precision of the difference
Independent Samples Effect SizesCohen's d point estimateHow large the difference is in standard deviation units
ANOVAdf, F, Sig. for Between Groups and Within GroupsThe overall test of group differences
Chi-Square TestsPearson Chi-Square value, df, Asymptotic Significance; the footnote on expected countsThe association test and whether its assumption is met
CorrelationsPearson Correlation, Sig. (2-tailed), NStrength and direction of the relationship, its p value and sample size
Model Summary and Coefficients (regression)R Square; B, Std. Error, Beta, t, Sig.Variance explained; the size and significance of each predictor

"Sig." is SPSS's label for the p value. When SPSS shows .000, the true value is not zero; it is simply smaller than .0005, and APA style asks you to report it as p less than .001, written with the less-than symbol. Report the effect size and confidence interval alongside it.

Worked example: from SPSS output to an APA 7 results paragraph

The dataset below is invented for teaching. It is not from any real study, and the numbers were made up so that the steps are easy to follow.

Suppose a student asks whether revision method affects exam performance. Twenty students are assigned to spaced practice (code 1) or massed practice (code 2), and each sits the same exam scored out of 100.

GroupExam scores (invented)nMeanSD
Spaced practice68, 72, 75, 61, 70, 77, 66, 73, 69, 741070.504.74
Massed practice62, 65, 70, 58, 64, 67, 60, 66, 63, 691064.403.81

In SPSS you would create two variables in Variable View: revision_method (Numeric, Nominal, value labels 1 = Spaced practice and 2 = Massed practice) and exam_score (Numeric, Scale). After entering the 20 rows, you would run Explore with revision_method as the factor to check the boxplots and normality plots, then run the independent-samples t test as described above.

With these invented data, the output would show the following:

  • Levene's test: F = 0.42, p = .527, so equal variances can be assumed and you read the first row.
  • t test: t(18) = 3.17, two-sided p = .005.
  • Mean difference: 6.10 points, 95% CI [2.06, 10.14].
  • Cohen's d: 1.42.

An APA 7 results paragraph would read:

"An independent-samples t test compared exam scores between students who used spaced practice and students who used massed practice. Levene's test indicated equal variances, F(1, 18) = 0.42, p = .527. Students who used spaced practice scored higher (M = 70.5, SD = 4.7) than students who used massed practice (M = 64.4, SD = 3.8), t(18) = 3.17, p = .005, d = 1.42, 95% CI [2.06, 10.14]."

In your document, italicise the statistical symbols M, SD, t, F, p and d, as the APA guidance requires. The other APA 7 rules applied here come from the APA Style numbers and statistics guide:

  • Means and standard deviations for integer scores are given to one decimal place.
  • Test statistics are given to two decimal places.
  • The exact p value is given without a leading zero, because p cannot exceed 1.
  • Spaces go around the equals sign.
  • Cohen's d keeps its leading zero when it is below 1, because d can exceed 1.

An effect as large as d = 1.42 is rare in real data from small samples, so treat it as a teaching example rather than a benchmark.

The same invented framework gives two more templates you can adapt:

  • Chi-square: if 34 of 40 spaced-practice students passed (85.0%) compared with 24 of 40 massed-practice students (60.0%), the result would be reported as χ²(1, N = 80) = 6.27, p = .012, φ = .28.
  • Correlation: if hours of revision and exam score were measured for 10 students, a result could be reported as r(8) = .80, p = .005. A simple regression on the same data would give R² = .65, F(1, 8) = 14.62, p = .005, with each extra hour linked to 2.31 more marks.

For table layouts, follow the APA sample tables rather than pasting SPSS tables directly, because raw SPSS tables do not meet APA formatting. Our guide on how to write a results section gives templates for more tests and shows how to order findings by hypothesis.

Common SPSS mistakes and how to avoid them

  • Leaving measure levels at the default. Imported files are often mislabelled. Check every variable before you analyse.
  • Undeclared missing codes. A 99 that is not declared missing inflates means and correlations.
  • Reading the wrong t test row. Check Levene's test first, or follow your department's rule on Welch.
  • Running many tests and reporting only the significant ones. Plan your analyses from your hypotheses and report all of them.
  • Calling a non-significant result "no effect". Report the effect size and interval, and say the evidence was inconclusive where that is accurate.

Getting help with SPSS analysis

If you are unsure which test fits your design, or your output does not look the way you expected, a tutor can go through your own data file with you. Our statistics tutors work with SPSS every week, and the Master Statistics course covers the foundations step by step if you want to build confidence before your project. Psychology students can also see our psychology support page, which covers SPSS, lab reports and APA 7.

We match you with a tutor who has a postgraduate degree in a quantitative subject and uses SPSS in their own research. Sessions are built around your questions: choosing tests, checking assumptions, reading output and turning it into an APA results section. The analysis and the write-up stay your own. The tutor explains the reasoning behind each step so that you can defend it in your dissertation or viva. For wider project support, see our research methodology tutors and dissertation support.

Frequently asked questions

Is SPSS hard to learn for beginners?

Most beginners can run descriptive statistics and a t test within their first few sessions, because SPSS is menu-driven and needs no coding. The harder part is statistics itself: choosing the right test, checking assumptions and interpreting output. Learning the ideas alongside the software, using your own course data, is usually quickest.

Can I learn SPSS by myself?

Yes, many students learn SPSS on their own using IBM's documentation, the built-in help and a practice dataset. Start with Variable View, Frequencies and Descriptives, then one test at a time. Self-study works best when you already understand the statistics. If you keep getting stuck on which test to use or what output means, short guided sessions can save time.

What is the difference between Data View and Variable View in SPSS?

Data View shows the actual values, with one row per case and one column per variable. Variable View describes those variables, with one row per variable and columns for name, type, labels, value codes, missing values and measurement level. You define variables in Variable View first, then enter or check the data in Data View.

Should a Likert item be ordinal or scale in SPSS?

A single Likert item is ordinal, because the gaps between answer options are not known to be equal. A total or mean score across several items from a reliable, validated scale is often treated as scale data in psychology and education. Follow your module's guidance, and justify your choice in the methodology chapter whichever way you decide.

Which SPSS test should I use to compare two groups?

Use the independent-samples t test if the two groups contain different people and the outcome is scale data that is roughly normal. Use the Mann-Whitney U test if the outcome is ordinal or badly skewed in a small sample. If the same people were measured twice, use the paired-samples t test or the Wilcoxon signed-rank test instead.

How do I know if my data are normally distributed in SPSS?

Run Analyze, Descriptive Statistics, Explore, click Plots and tick Normality plots with tests. Look at the histogram and normal Q-Q plot first, then the Shapiro-Wilk test. With large samples the test flags tiny departures, and with small samples it misses real ones, so judge the plots and test together rather than relying on one p value.

What does Levene's test tell me in an SPSS t test?

Levene's test checks whether the two groups have similar variances. If its significance value is above .05, read the "Equal variances assumed" row of the t test table. If it is .05 or below, read the "Equal variances not assumed" row, which applies Welch's correction. Some departments prefer the Welch row by default, so check your guidance.

Why does SPSS show two p values for a t test?

Recent versions of SPSS report a one-sided p and a two-sided p. Use the two-sided value unless you stated a directional hypothesis before collecting data and your department accepts one-tailed tests. Most student projects should report the two-sided p value, because it tests for a difference in either direction and is the conventional default.

How do I get Cohen's d for a t test in SPSS?

In recent versions of SPSS, the t test dialogs include an Estimate effect sizes option, which is ticked by default. The output then contains an effect sizes table with Cohen's d and its confidence interval. In older versions you may need to calculate d by hand from the means and pooled standard deviation, or use a separate calculator.

When should I use ANOVA instead of several t tests?

Use one-way ANOVA when you compare three or more independent groups on one scale outcome. Running a separate t test for every pair increases the chance of a false positive. ANOVA tests all groups together, and post hoc tests such as Tukey or Games-Howell then show which pairs differ while controlling the overall error rate.

How do I run a chi-square test in SPSS?

Go to Analyze, Descriptive Statistics, Crosstabs. Put one categorical variable in Rows and the other in Columns. Click Statistics and tick Chi-square and Phi and Cramer's V. Click Cells and tick Expected and row percentages. Read the Pearson Chi-Square row and check the footnote that reports how many cells have expected counts below 5.

What is the difference between correlation and regression in SPSS?

Correlation measures the strength and direction of a relationship between two variables without treating either as the outcome. Regression models one variable as an outcome predicted by one or more others, and gives an equation, the variance explained and each predictor's contribution. Use correlation to describe association and regression when your question is about prediction or controlling for other variables.

Should I paste SPSS output tables into my dissertation?

Usually not. Raw SPSS tables contain many numbers your reader does not need and do not follow APA formatting. Rebuild a clean table with the key statistics, or report results in the text. Some departments ask for full output in an appendix as evidence of your analysis, so check your handbook before you leave it out entirely.

How do I use SPSS syntax if I only know the menus?

Set up any analysis through the menus as usual, then click Paste instead of OK. SPSS writes the matching command into a Syntax Editor window. Select it and click Run to execute it. Saving this file gives you a complete, rerunnable record of your analysis, which is useful when data change or a supervisor asks what you did.

Can a tutor help me with my SPSS analysis?

Yes. A tutor can work through your own dataset with you: checking your variable setup, helping you choose and justify tests, explaining assumption checks and showing you how to read and report the output. Sessions are one-to-one, and you can request a free quote. The analysis and interpretation remain your own work.

Want a subject expert to help with this?

Book a tutor →

Money-Back Guarantee

Full refund if we miss the agreed deadline, can't find a suitable expert, or major errors can't be fixed by revision.

How the money-back guarantee works →

100% Confidential

Your identity, order details and institution are never shared with any third party.

How we keep your order confidential →

Deadline-Backed Delivery

Every order has an agreed deadline. If we don't deliver by it, you can claim a full refund.

Read the refund policy →

Get started today

Ready to get expert help?

Tell us what you need and get matched with a tutor who teaches your subject. Delivered on time, every time.

See how it works
Instant quoteNo account needed to get a priceFree revisions100% confidential