27.03.2013 Views

SPSS® 12.0 Command Syntax Reference

SPSS® 12.0 Command Syntax Reference

SPSS® 12.0 Command Syntax Reference

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

1660 VECTOR<br />

• Aggregating by variable STUDENT creates new cases, as shown by the output from the<br />

PRINT command (see Figure 1). The MAX function in AGGREGATE returns the<br />

maximum value across cases with the same value for STUDENT. If a student has taken<br />

a particular test, the one valid value is returned as the value for variable RESULT1,<br />

RESULT2, RESULT3, or RESULT4.<br />

Figure 1 PRINT output after aggregating<br />

1 10 20 30 40<br />

2 . 15 25 .<br />

3 40 . 55 60

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!