SPSS with Python – Looping over Scatterplots

The right way for looping over tables, charts and other procedures in SPSS is with Python. We’ll show how to do so on some real world examples. We’ll use alcotest.sav throughout, part of which is shown below. Note that you need to have the SPSS Python Essentials properly installed for running these examples on your own computer. Example 1: Simple Loop over Bar […]

How to Mean Center Predictors in SPSS?

For testing moderation effects in multiple regression, we start off with mean centering our predictors:mean centering a variable is subtracting its mean from each individual score.After doing so, a variable will have a mean of exactly zero but is not affected otherwise: its standard deviation, skewness, distributional shape and everything else all stays the same. After mean […]