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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

1130 OMS<br />

tics in the columns. To include both table types in the same data file in a meaningful fashion,<br />

you need to change the column dimension for one of them.<br />

OMS<br />

/SELECT TABLES<br />

/IF COMMANDS=[’Frequencies’ ’Descriptives’]<br />

SUBTYPES=[’Statistics’ ’Descriptive Statistics’]<br />

/DESTINATION FORMAT=SAV OUTFILE=’c:\temp\temp.sav’<br />

/COLUMNS DIMNAMES=[’Statistics’].<br />

FREQUENCIES<br />

VARIABLES=salbegin salary<br />

/FORMAT=NOTABLE<br />

/STATISTICS=MINIMUM MAXIMUM MEAN.<br />

DESCRIPTIVES<br />

VARIABLES=jobtime prevexp<br />

/STATISTICS=MEAN MIN MAX.<br />

OMSEND.<br />

• The COLUMNS subcommand will be applied to all selected table types that have a Statistics<br />

dimension element.<br />

• Both table types have a Statistics dimension element, but since it’s already in the column<br />

dimension for the table produced by the DESCRIPTIVES command, the COLUMNS subcommand<br />

has no effect on the structure of the data from that table type.<br />

• For the FREQUENCIES statistics table, COLUMNS DIMNAMES=[’Statistics’] is equivalent to<br />

pivoting the Statistics dimension element into the columns and pivoting the Variables dimension<br />

element into the rows.<br />

• Some of the variables will have missing values, since the table structures still aren’t exactly<br />

the same with statistics in the columns.

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

Saved successfully!

Ooh no, something went wrong!