SPSS Multiple Regression Analysis Tutorial

Running a basic multiple regression analysis in SPSS is simple. For a thorough analysis, however, we want to make sure we satisfy the main assumptions, which are linearity: each predictor has a linear relation with our outcome variable; normality: the prediction errors are normally distributed in the population; homoscedasticity: the variance of the errors is constant in the population. […]

SPSS Regression

SPSS Regression Basics Simple Linear Regression – Quick Introduction SPSS Multiple Regression Analysis – Tutorial Linear Regression in SPSS – A Simple Example Read SPSS Stepwise Regression Stepwise Regression in SPSS – Data Preparation Read Stepwise Regression in SPSS – Example Stepwise Regression in SPSS – Example 2 Regression – Dummy Variables Creating Dummy Variables […]

SPSS with Python I – What is It?

Python is among the most important programming languages today and can be used in SPSS. Doing so may truly decimate the time and effort you need to get things done. This tutorial briefly explains what Python is, how it relates to SPSS and why you might want to start using it. What is Python? Python is among the most important […]

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 with Python II – Installing and Testing

We think SPSS with Python is great! However, you need to have the SPSS Python Essentials properly installed in order to use it. This tutorial gives a quick overview of installing and then testing them for different SPSS versions. SPSS Python Essentials The basic components you need for running Python in SPSS are SPSS; Python; the SPSS Python plugin. […]

SPSS – Reorder Variables from Syntax

While working in SPSS, it’s pretty common to reorder your variables. This tutorial shows how to do so the right way. We encourage you try the examples for yourself by downloading and opening hotel_evaluation.sav, a screenshot of which is shown below. SPSS Reorder Variables Example 1 Right, the most common way for reordering variables in SPSS […]

SPSS Repeated Measures ANOVA – Example 2

A car brand had 18 respondents rate 3 different car ads on attractiveness. The resulting data -part of which are shown above- are in adratings.sav. Some background variables were measured as well, including the respondent’s gender. The question we’ll try to answer is:are the 3 ads rated equally attractive and does gender play any role here?Since […]

SPSS Cochran Q Test

SPSS Cochran Q test is a procedure for testing if the proportions of 3 or more dichotomous variables are equal in some population. These outcome variables have been measured on the same people or other statistical units. SPSS Cochran Q Test Example The principal of some university wants to know whether three examns are equally difficult. Fifteen […]

SPSS Paired Samples T Test

SPSS paired samples t-test is a procedure for testing whether the means of two metric variables are equal in some population. Both variables have been measured on the same cases. Although “paired samples” suggests that multiple samples are involved, there’s really only one sample and two variables. The screenshot below illustrates the basic idea. SPSS […]

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 Wilcoxon Signed-Ranks Test – Simple Example

For comparing two metric variables measured on one group of cases, our first choice is the paired-samples t-test. This requires the difference scores to be normally distributed in our population. If this assumption isn’t met, we can use Wilcoxon S-R test instead. It can also be used on ordinal variables -although ties may be a real issue for Likert items. […]

SPSS McNemar Test

SPSS McNemar test is a procedure for testing if the proportions of two dichotomous variables are equal in some population. The two variables have been measured on the same cases. SPSS McNemar Test Example A marketeer wants to know whether two products are equally appealing. He asks 20 participants to try out both products and […]

SPSS One-Way ANOVA with Post Hoc Tests Tutorial

A hospital wants to know how a homeopathic medicine for depression performs in comparison to alternatives. They administered 4 treatments to 100 patients for 2 weeks and then measured their depression levels. The data, part of which are shown above, are in depression.sav. Data Inspection – Split Histogram Before running any statistical tests, let’s first just […]

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 Kruskal-Wallis Test – Simple Tutorial with Example

The Kruskal-Wallis test is an alternative for a one-way ANOVA if the assumptions of the latter are violated. We’ll show in a minute why that’s the case with creatine.sav, the data we’ll use in this tutorial. But let’s first take a quick look at what’s in the data anyway. Quick Data Description Our data contain the result of a small […]

How to Run Levene’s Test in SPSS?

Null Hypothesis Assumptions Levene’s test in SPSS Output Reporting Levene’s Test – What Is It? If we want to compare 3(+) groups on a metric variable, we usually want to know if they have different mean scores. In most cases, we’ll run an ANOVA in order to find out. However, this requires the homogeneity assumption which states that the population […]

SPSS Median Test for 2 Independent Medians

The median test for independent medians tests if two or more populations have equal medians on some variable. That is, we’re comparing 2(+) groups of cases on 1 variable at a time. Rating Car Commercials We’ll demonstrate the median test on adratings.sav. This file holds data on 18 respondents who rated 3 different car commercials on […]

SPSS Mann-Whitney Test – Simple Example

The Mann-Whitney test is an alternative for the independent samples t test when the assumptions required by the latter aren’t met by the data. The most common scenario is testing a non normally distributed outcome variable in a small sample (say, n < 25).* The Mann-Whitney test is also known as the Wilcoxon test for independent samples -which shouldn’t be confused […]

SPSS One Sample T-Test

SPSS one-sample t-test tests if the mean of a single metric variable is equal to some hypothesized population value. The figure illustrates the basic idea. SPSS One Sample T-Test – Example A scientist from Greenpeace believes that herrings in the North Sea don’t grow as large as they used to. It’s well known that – on average – […]