Skip to content
Tutorials Center
My learning

Topics

Lesson 1 of 39 ยท Getting Started

What Is SPSS? Uses, Strengths and How It Works

Learn what IBM SPSS Statistics is, who uses it, how its windows, menus and syntax fit together, and when to choose SPSS over Excel, R or Python.

SPSS (IBM SPSS Statistics) is a desktop program for statistical analysis. You load a table of data, choose an analysis from a menu, and SPSS produces tables and charts in a separate results window. It was created in the late 1960s for the social sciences, which is why you still meet it in psychology, education, health research, marketing and survey work. Many people first learn statistics with it because you can run a t test without writing a line of code.

This course teaches SPSS from the first click to a full analysis project. It also teaches the statistics behind each procedure, so you know why you pick a test, not just where the button is.

SPSS is commercial software and cannot run inside this web page. In this course the menu paths, dialog options and syntax are described in words, and we never show output we cannot guarantee. Where a calculation helps you understand a result, the runnable examples are small Python stand-ins, clearly labelled, that do the same arithmetic SPSS does.

What SPSS does well

  • Point-and-click analysis. Every common procedure (frequencies, t tests, ANOVA, regression, factor analysis) is a dialog box. You pick variables, tick options, press OK.
  • Data as a spreadsheet with a data dictionary. Each column (variable) carries a name, a descriptive label, value labels (1 = Female, 2 = Male), a measurement level and missing-value codes. This metadata travels with the file.
  • Repeatable work through syntax. Every dialog can write its command into a script. You can save the script and rerun the whole analysis later.
  • Readable output. Results appear as formatted pivot tables you can reformat, copy into Word or export to PDF.
  • Survey-friendly features. Weights, multiple-response sets, complex samples and tools for coded questionnaires are built in.

Where SPSS is weaker

SPSS is not the best choice for everything. Be honest about the trade-offs.

Need SPSS Alternative
Quick classic tests with menus Excellent Jamovi or JASP (free, similar look)
Full reproducibility and version control Possible with syntax R or Python scripts are more natural
Very large data (millions of rows) Works, but desktop-bound Databases, Spark, Python
Cutting-edge methods Limited and slow to arrive R and Python packages
Cost Paid licence R and Python are free

If your field uses SPSS, learn it. If you choose a tool freely, weigh licence cost and how others in your team work.

The main parts of SPSS

SPSS opens several windows that each have a job. The next lessons cover them in depth; here is the map.

flowchart LR
    D["Data Editor<br/>(.sav data)"] --> A["Analyze menu<br/>or syntax"]
    S["Syntax Editor<br/>(.sps script)"] --> A
    A --> O["Output Viewer<br/>(.spv results)"]
    O --> E["Export<br/>Word, PDF, Excel, HTML"]

Data goes in through the Data Editor, commands come from menus or syntax, results land in the Output Viewer.

  1. Data Editor shows the data in two tabs: Data View (cases in rows, variables in columns) and Variable View (one row per variable describing it).
  2. Output Viewer collects every table, chart and log message. Output is saved in its own .spv file.
  3. Syntax Editor holds commands such as FREQUENCIES VARIABLES=gender. in a .sps file.

Cases and variables

The data model is the one idea you must get right early. A dataset is a rectangle:

  • each row is a case (one respondent, patient, product, day);
  • each column is a variable (something you measured about each case);
  • each cell is one value of one variable for one case.
Python Stand-in: a tiny dataset as cases and variables

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

In SPSS the same table sits in Data View. Notice that gender holds the numbers 1 and 2. SPSS prefers numeric codes plus value labels (you will define them in value labels and missing values), so that analyses work on numbers while tables show words.

Beginners start with menus. Experts end up writing syntax. Both do the same work, because every dialog has a Paste button that writes the equivalent command into the Syntax Editor instead of running it. A good habit from day one: paste, then run from syntax, then save the .sps. Months later, you can see exactly what you did. The chapter on syntax and automation comes later in the course, but you will see syntax snippets from the very first lessons.

Python Stand-in: from a menu choice to a syntax command

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

This is only a generator, but it shows the real point: a dialog is a friendly form for a command.

Typical workflow

  1. Plan the question and the variables you need.
  2. Get the data in: type it, or import from Excel, CSV or a database.
  3. Define variables: names, labels, value labels, measurement level, missing codes.
  4. Clean and prepare: recode, compute new variables, select cases.
  5. Explore: frequencies, descriptives, charts. Look before you test.
  6. Analyze: choose a test that fits the data.
  7. Report: export tables and describe the results in words.
  8. Save everything: the .sav data, the .sps syntax and the .spv output.

Common mistakes

  • Jumping straight to a test without looking at frequencies and charts first.
  • Editing the original data file and saving over it. Work on a copy, and keep syntax for every change.
  • Leaving variables as unlabelled numbers such as q7_b, which makes output unreadable.
  • Treating SPSS output as truth without checking the assumptions of the test.

Check your understanding

Quick check ยท 4 questions

of 4 answered You scored / 4 ยท perfect!

  1. 1. In an SPSS dataset, what does a single row represent?

    Rows are cases and columns are variables. Each cell holds one case's value for one variable.
  2. 2. Which file type stores SPSS output (tables and charts)?

    .sav holds data, .sps holds syntax, and .spv holds Output Viewer results.
  3. 3. What does the Paste button in an SPSS dialog do?

    Paste turns your menu choices into a syntax command you can save, edit and rerun.
  4. 4. Which is a real strength of syntax over menus?

    Syntax gives repeatability. It does not guarantee a correct analysis, and menus work for all common procedures.

Summary

  • SPSS is a menu-driven statistics program with a data editor, an output viewer and a syntax editor.
  • Data is a rectangle of cases (rows) and variables (columns) plus metadata such as labels and missing codes.
  • Dialogs can be pasted as syntax, which makes work repeatable.
  • SPSS is strong for classic tests and survey data; R and Python are stronger for custom methods and scripted pipelines.
  • Save data (.sav), syntax (.sps) and output (.spv) separately.

Next: Editions, Licences and Installation