Example (SUMMARIZE command)

Creating a Grouped Summary Report

SUMMARIZE
  /TABLES=value  BY street
  /FORMAT=NOLIST TOTAL
  /TITLE='Home Sale Statistics' /FOOTNOTE 'Grouped by Street'
  /MISSING=VARIABLE
  /CELLS=COUNT MEAN MEDIAN MIN MAX .
  • The procedure produces summaries of value by values of street.
  • FORMAT specifies that no case listing should be produced but that summary statistics should be produced.
  • TITLE produces the requested title for the summary report and FOOTNOTE produces the specified table footnote.
  • CELLS requests the cell counts, means, medians, minimums, and maximums.
  • All other options are set to their default values.

For discussion of output from this syntax and to place the example in context, see Creating a Grouped Summary Report.

Displaying Individual Cases

SUMMARIZE
  /TABLES=address value marktime
  /FORMAT=VALIDLIST NOCASENUM MISSING='Unavailable' TOTAL
  /TITLE='Case Listing' /FOOTNOTE 'Only homes selling for $335,000 or more'
  /MISSING=VARIABLE
  /CELLS=COUNT MEAN MEDIAN .
  • The procedure produces summaries of address, value, and marktime.
  • FORMAT specifies that the case listing report should contain only valid cases, without the case numbers, and with system-missing values displayed with the label Unavailable.
  • TITLE produces the requested title for the summary report and FOOTNOTE produces the specified table footnote.
  • CELLS requests the cell counts, means, and medians.
  • All other options are set to their default values.

For discussion of output from this syntax and to place the example in context, see Displaying Individual Cases.