Compare Dictionaries over Files Before Merging

Introduction Merging data with ADD FILES can result in nonsensical data. This occurs when variables or values have different meanings over files. By comparing dictionaries over files, inconsistently coded variables are quickly detected. So What’s the Problem? When files are merged with ADD FILES, inconsistent dictionary information is discarded. This will happen, for example, if a variable v1 means “gender” […]

Apply Dictionary Information from Excel

Question “I have an Excel workbook whose three sheets contain data values, variable labels and value labels. How can I apply the dictionary information from these last two sheets to the SPSS dataset after importing the data values?” Option A: Python A nice and clean option is to have Python read the dictionary information from the Excel sheets. The […]

SPSS Dictionary

It’s not informative that “a respondent has 0 on v1” unless you know what v1 and 0 refer to. Such information – what the data actually represent – is collectively know as the dictionary. This tutorial merely explains what the SPSS dictionary is. For learning how to modify it properly (that is, by syntax), see Changing Variable Properties 1 – Introduction. SPSS Dictionary – What is […]

Dictionary Tutorial

Properties of variables and values such as names, formats and labels are collectively referred to as the dictionary in SPSS. Most of the dictionary is seen under variable view but -trust me on this one- you don’t want to edit anything here manually or by copy-pasting.Instead, manage your dictionary by syntax -it’s way faster, easier and safer. The […]