SPSS Sign Test for One Median – Simple Example

A sign test for one median is often used instead of a one sample t-test when the latter’s assumptions aren’t met by the data. The most common scenario is analyzing a variable which doesn’t seem normally distributed with few (say n < 30) observations. * This tutorial shows how to run and interpret a sign test in SPSS. We’ll […]

Binomial Test – Simple Tutorial

The binomial test is the most simple statistical test there is. Understanding how it works shouldn’t be too hard and will help you understand other statistical tests more easily too. So what is it? A binomial test is a procedure for evaluating if some population proportion is x. For example, a marketeer has to make sure that 50% […]

SPSS Keywords

Introduction Using SPSS keywords, especially TO and ALL greatly speeds up a myriad of typical tasks. This tutorial walks you through SPSS main keywords and points out how they can save time and effort. We’ll use supermarket.sav for demonstrational purposes. SPSS Main Keywords EXPRESSION MEANING RETURNS ALL All variables (not previously addressed in statement) Variable name(s) TO All variables between and […]

How to Compute Means in SPSS?

This tutorial shows how to compute means over both variables and cases in a simple but solid way. We encourage you follow along by downloading and opening restaurant.sav, part of which is shown below. Quick Data Check Before computing anything whatsoever, we always need to know what’s in our data in the first place. Skipping this […]

How to Compute Age in SPSS?

A course was evaluated by 183 students. The data are in course_evaluation.sav, part of which is shown below. The teacher wants to know the average age of his students but we only have their date of birth. 1. Ensure Date of Birth is a Date Variable The first thing we’ll do is check if date of […]

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 ALTER TYPE – Simple Tutorial

SPSS ALTER TYPE command is mainly used for converting string variables to numeric variables. However, it has other interesting applications as well. This tutorial quickly walks you through those, pointing out some pitfalls, tips and tricks along the way. You can follow along by downloading and opening holidays.sav but you do need SPSS version 16 or higher for using ALTER […]

SPSS Missing Values Tutorial

SPSS System Missing Values SPSS User Missing Values Setting User Missing Values Inspecting Missing Values per Variable SPSS Data Analysis with Missing Values What are “Missing Values” in SPSS? In SPSS, “missing values” may refer to 2 things: System missing values are values that are completely absent from the data. They are shown as periods in data view. […]

SPSS Time Variables Basics

Introduction Working efficiently with SPSS time variables is not hard if you understand some basics. This tutorial walks you through just those. We recommend you follow along by downloading and opening hospital.sav. SPSS Time Variables – What Are They? SPSS time variables are variables that hold time intervals in numbers of seconds. Although the actual time values […]

SPSS String Variables Basics

For working proficiently with SPSS string variables , it greatly helps to understand some string basics. This tutorial explains what SPSS string variables are and demonstrates their main properties. We encourage you along by downloading and opening string_basics.sav. The syntax we use can be copy-pasted or downloaded here. SPSS String Variables – What Are They? String variables are one […]

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. […]

SPSS Binomial Test

SPSS binomial test is used for testing whether a proportion from a single dichotomous variable is equal to a presumed population value. The figure illustrates the basic idea. SPSS Binomial Test Example A biologist claims that 75% of a population of spiders consist of female spiders. With a lot of effort he collects 15 spiders, 7 of […]

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 […]

SPSS Scatterplot Tutorial

A large bank wants to gain insight into their employees’ job satisfaction. They carried out a survey, the results of which are in bank_clean.sav. The survey included the number of hours people work per week and their gross monthly salaries. Research Question It seems obvious that working hours are related to monthly salaries: employees who work […]

Z-Scores – What and Why?

Z-scores are linearly transformed data values having a mean of zero and a standard deviation of 1.Z-scores are also known as standardized scores; they are scores (or data values) that have been given a common standard. This standard is a mean of zero and a standard deviation of 1. Contrary to what many people believe, z-scores are not necessarily […]

SPSS Independent Samples T Test

Null Hypothesis Assumptions Independent Samples T Test in SPSS Output Reporting Null Hypothesis The null hypothesis for an independent samples t test is that two populations have equal means on some metric variable. For example, do men spend the same amount of money on clothing as women? We can’t reasonably ask the entire population of men and women how much they […]

SPSS Syntax – Six Reasons you Should Use it

Most of us start working with SPSS from its point-click menu. Doing so without pasting and saving all syntax may seem obvious at first but often turns out to be a pitfall. Using SPSS syntax may seem a bit difficult at first but often turns out to save tons of time and effort in the end. This tutorial explains […]

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 […]

SPSS Keyboard Shortcuts

SPSS keyboard shortcuts allow you to work with amazing speed. Some of the best SPSS shortkeys are not obvious at all so we’ll list our 20 favorite SPSS shortkeys in the table below.* Enjoy! Overview Most Useful SPSS Shortkeys WHERE SHORTKEY USEFUL FOR Data Editor CTRL + t Switch between data view and variable view. Data Editor CTRL +  /  […]

Overview All SPSS Commands

The table below lists all SPSS commands and the additional licenses -if any- you need for using them. This overview is based on SPSS version 22 but we hope to soon update it for version 24. Consult the notes section for some tips on using the table or downloading it as an SPSS (.sav) data file. Overview NAME TYPE OPTION […]