Set SPSS Variable Names as Labels with Python

Set SPSS Variable Names as Labels with Python By Ruben Geert van den Berg under SPSS Python Basics Our previous lesson started out with a rather problematic data file. We reordered our variables with Python and saved our data as trials-ordered.sav, the starting point for this lesson. The screenshot below shows part of the data.

Looping over SPSS Commands with Python

Looping over SPSS Commands with Python By Ruben Geert van den Berg under SPSS Python Basics A nasty limitation of SPSS is that some commands take only one variable. Now, DO REPEAT and LOOP allow us to loop over variables but they are limited to SPSS transformation commands. Python, however, allows us to loop over

Process Multiple SPSS Data Files with Python

Process Multiple SPSS Data Files with Python By Ruben Geert van den Berg under SPSS Python Basics Running syntax over several SPSS data files in one go is fairly easy. If we use SPSS with Python we don’t even have to type in the file names. The Python os (for operating system) module will do

Quick Overview Python Object Types

Quick Overview Python Object Types By Ruben Geert van den Berg under SPSS Python Basics In our examples, you’ll encounter terms such as a Python list or dict object. So which object types do we find in Python and what are their basic properties? The table below presents a quick overview. Quick Overview Python Object

Opening Excel Files in SPSS

Opening Excel Files in SPSS By Ruben Geert van den Berg under SPSS Blog Open Excel File with Values in SPSS Apply Variable Labels from Excel Apply Value Labels from Excel Open Excel Files with Strings in SPSS Converting String Variables from Excel Excel files containing social sciences data mostly come in 2 basic types:

How to Draw Regression Lines in SPSS?

How to Draw Regression Lines in SPSS? By Ruben Geert van den Berg under Regression Method A – Legacy Dialogs Method B – Chart Builder Method C – CURVEFIT Method D – Regression Variable Plots Method E – All Scatterplots Tool Summary & Example Data This tutorial walks you through different options for drawing (non)linear

SPSS Clone Variables Tool

SPSS Clone Variables Tool By Ruben Geert van den Berg under SPSS Tools Some SPSS commands such as RECODE and ALTER TYPE can make irreversible changes to variables. Before using these, I like to clone the variables that I’m about to edit. This allows me to compare the edited to the original versions. This tutorial

APA Reporting SPSS Factor Analysis

APA Reporting SPSS Factor Analysis By Ruben Geert van den Berg under Factor Analysis & Tables in SPSS Introduction Creating APA Tables – the Easy Way Table I – Factor Loadings & Communalities Table II – Total Variance Explained Table III – Factor Correlations Introduction Creating APA style tables from SPSS factor analysis output can

SPSS Mediation Analysis with PROCESS

SPSS Mediation Analysis with PROCESS By Ruben Geert van den Berg under Regression SPSS PROCESS Dialogs SPSS PROCESS Output Mediation Summary Diagram & Conclusion Indirect Effect and Index of Mediation APA Reporting Mediation Analysis Introduction A study investigated general well-being among a random sample of N = 421 hospital patients. Some of these data are

Shapiro-Wilk Test in SPSS: Step-by-Step Guide for Normality Testing

Shapiro-Wilk Test in SPSS Step-by-Step Guide for Normality Testing

Shapiro-Wilk Test in SPSS: Step-by-Step Guide for Normality Testing In the realm of quantitative research, ensuring the validity of statistical analyses hinges on meeting certain assumptions—one of the most critical being the assumption of normality. The Shapiro-Wilk test, available in IBM SPSS Statistics, is a powerful and commonly used method for assessing whether a dataset