![]() Once you have your data set loaded into SPSS you can stack your data file using the following steps. Which other variables in the data are to be included but not stacked? These will be stretched, which means that their values will be repeated several times for each of the original cases.Which variables are to be stacked, and how many stacked variables will there be in the final data set? In the image above, there are 3 stacked variables in the final stacked data.You can download the data file that we used from:Ī subset of the data before and after stacking is shown in the image below.īefore you start stacking you should work out: In this example we consider data from a simple survey which asked people about how they rate different technology brands. In this article we look at how to stack data that has been loaded into SPSS Statistics, using both the interactive wizard and using syntax via the VARTOCASES command. ![]() The number of variables in the data decreases, and the number of cases increases. Data stacking is a data preparation step where a data set is split into subsets, and the subsets are merged by case (or stacked on top of one another).
0 Comments
Leave a Reply. |