Читать книгу Analysing Quantitative Data - Raymond A Kent - Страница 41
Box 2.4 Computing totals in SPSS
ОглавлениеTo get SPSS to compute the totals that were used to create Figure 2.10 select Transform then Compute Variable. You will obtain the Compute Variable dialog box (Figure 2.11). Notice that there are lots of functions that we could perform on the variables – but all we want to do is add the nine variables together, so highlight Chocolate or sweets and put this into the Numeric Expression box by clicking on the arrow. Now click on the + button and bring over the next variable, then on + again, and so on until you have the nine variables added together. Enter a variable name, something like Totbrand, in the Target Variable box and click on OK. A new variable will appear in your data matrix, giving the total scores for each case. You can now use Recode to group the responses into, say, high-, medium- and low-score categories.