SPSS Tools – Overview

All tools on this page can be used from SPSS’ menu via a dialog window or by syntax. Our newest tools come as SPSS extensions and some older tools are SPSS Custom Dialogs.Some of these tools require SPSS version 17 or 18 with the SPSS Python Essentials in order to work. If so, this’ll be clearly indicated. We recently moved […]

SPSS Data Preparation 6 – Inspect Cases

9. Missing Values per Case (Overview and data file are are found here) Missing values complicate some analyses or may sometimes indicate that respondents didn’t fill out the questionnaire very seriously. In any case, it’s a good idea to at least check how missing values are distributed over respondents and we often do so for sections […]

SPSS – Set Variable Labels with Syntax

Managing variable and value labels without syntax is way more work than necessary. This tutorial explains how to do this more efficiently. Changing Variable Labels in SPSS As with other parts of the dictionary, there’s no “Paste” option for modifying variable labels. Be aware that manual modifications – apart from being time consuming – are not […]

SPSS COMPUTE – Simple Tutorial

SPSS COMPUTE command sets the data values for (possibly new) numeric variables and string variables. These values are usually a function (such as MEAN, SUM or something more advanced) of other variables. This tutorial walks you through doing just that. We’ll use hospital.sav,a screenshot of which is shown below. Before proceeding, we’ll first set 6 as a user missing value for the last 5 […]

SPSS Sign Test for Two Medians – Simple Example

The sign test for two medians evaluates if 2 variables measured on 1 group of cases are likely to have equal population medians.* It can be used on either metric variables or ordinal variables. For comparing means rather than medians, the paired samples t-test and Wilcoxon signed-ranks test are better options. Adratings Data We’ll use adratings.sav throughout this tutorial. It holds data on 18 respondents […]

SPSS One-Way ANOVA Tutorial

SPSS One-Way ANOVA tests if the means on a metric variable for three or more populations are all equal. * The populations are identified in the sample by a categorical variable. For a very simple explanation of the basic idea, see ANOVA – What Is It?. SPSS One-Way ANOVA Example A farmer wants to know if the weight of parsley plants is […]

SPSS Two Way ANOVA – Basics Tutorial

Research Question How to lose weight effectively? Do diets really work and what about exercise? In order to find out, 180 participants were assigned to one of 3 diets and one of 3 exercise levels. After two months, participants were asked how many kilos they had lost. These data -partly shown above- are in weightloss.sav. We’re […]

SPSS IF – A Quick Tutorial

In SPSS, IF is a conditional COMPUTE command. It calculates a (possibly new) variable but only for those cases that satisfy some condition(s). This tutorial walks you through some typical examples of the IF command. Example 1 – Replace Missing Values With the syntax below we’ll first create some test data. Next we’ll set the existing variable score […]

SPSS RECODE – Simple Tutorial

SPSS RECODE replaces data values with different values. It comes in handy for merging categories, dichotomizing continuous variables and some other tasks. This tutorial walks you through its main options, best practices and pitfalls. SPSS Recode Example 1 For quickly getting very proficient with RECODE it’s recommended you follow along with the examples. You’ll soon notice […]

SPSS Variable Types and Formats Tutorial

Understanding SPSS variable types and formats allows you to get things done fast and reliably. Getting a grip on types and formats is not hard if you ignore the very confusing information under variable view. This tutorial takes away the confusion and puts you back in control. We encourage you to follow along with this tutorial by downloading and opening computer_parts. […]

Measurement Levels

Measurement levels refer to different types of variables that imply how to analyze them. Standard textbooks distinguish 4 such measurement levels or variable types. From low to high, these are nominal variables; ordinal variables; interval variables; ratio variables. The “higher” the measurement level, the more information a variable holds. The simple flowchart below shows how […]

Compute A = B = C

Summary A great way to dichotomize variables is with a single short compute command. This is also the fastest way to create multi variable filters. How Does it Work? When the structure COMPUTE A = B = C is used, SPSS will evaluate whether (B = C) is True or False for each case. The outcome variable A will be the following If (B […]

Overview SPSS Nonparametric Tests

SPSS nonparametric tests are mostly used when assumptions aren’t met for other tests such as ANOVA or t-tests.* Second, nonparametric tests are suitable for ordinal variables too. In rare cases they may have more statistical power than standard tests. Not sure which (nonparametric) test to use? You’ll quickly find the answer in Simple Overview Statistical Comparison Tests. Nonparametric Tests – One Sample SPSS Kolmogorov-Smirnov Test for […]

SPSS T-Test Tutorials

Independent Samples T-Test SPSS Independent Samples T-Test Independent Samples T-Test Other SPSS T-Test Tutorials SPSS Paired Samples T-Test SPSS One Sample T-Test T-Test Background Tutorials Z-Scores – What and Why? What is a Dichotomous Variable?

SPSS String Variables Tutorial

Working with string variables in SPSS is pretty straightforward if one masters some basic string functions. This tutorial will quickly walk you through the important ones. SPSS Main String Functions CHAR.SUBSTR (substring) – Extract character(s) from string CONCAT (concatenate) – Combine strings CHAR.INDEX – Find first occurrence of character(s) in string CHAR.RINDEX (right index) – Find last occurrence of character(s) in […]

SPSS – What Is It?

SPSS means “Statistical Package for the Social Sciences” and was first launched in 1968. Since SPSS was acquired by IBM in 2009, it’s officially known as IBM SPSS Statistics but most users still just refer to it as “SPSS”. SPSS – Quick Overview Main Features SPSS is software for editing and analyzing all sorts of data. These data may come […]

SPSS Syntax Introduction

SPSS” Syntax Editor window is the second of SPSS’ three main windows. As we’ll see in a minute, this is where we run commands for opening files, editing data, generating results and, finally, saving files. The Syntax Editor is recognized by an orange icon  in its left top corner. SPSS Syntax – First Encounter We recommend […]

SPSS Output Viewer Window

SPSS’ Output Viewer window is the window that contains all output we generate. The most typical output items are tables and charts that describe patterns in our data. An Output Viewer window opens automatically when we generate output. It’s recognized by a purple icon  (or  for older SPSS versions). SPSS Output Viewer Window – Example We recommend […]

SPSS Data Editor Window

SPSS Data Editor window is SPSS’ main window. This is the only window that’s always open whenever we run SPSS. It’s recognized by a red icon  in its left top corner. The Data Editor has two tabs in the left bottom corner: we can click Data View for inspecting our data values. Alternatively, Variable View shows information regarding the meaning […]