An Intermediate Guide to SPSS Programming: Using Syntax for Data Management introduces the major tasks of data management and presents solutions using SPSS syntax. This book fills an important gap in the education of many students and researchers, whose coursework has left them unprepared for the data management issues which confront them when they begin to do independent research. It also serves as an introduction to SPSS programming; all the basic features of SPSS syntax are illustrated, as are many intermediate and advanced topics such as using vectors and loops, reading complex data files, and using the SPSS macro language.
This chapter discusses file structure and how to change it using SPSS. Topics include
- The unit of analysis
- Changing file structure from univariate to multivariate
- Including a test condition when restructuring a file
- Changing file structure from multivariate to univariate
- Transposing the rows and columns of a data set
The Unit of Analysis
The term unit of analysis refers to what is considered a case in a given study. For instance, in the field of ...