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.

CORRESPONDENCE 289<br />

DIM1...DIMn Numerical variables containing the row and column scores for each<br />

dimension. Each variable is labeled DIMn, where n represents the<br />

dimension number.<br />

The variables in the VARIANCE matrix data file and their values are:<br />

ROWTYPE_ String variable containing the value COV for all of the cases in the file.<br />

SCORE_ String variable containing the value SINGULAR, the row variable’s<br />

name (or label), and the column variable’s name (or label).<br />

LEVEL_ String variable containing the row variable’s values (or labels), the<br />

column variable’s values (or labels), and a blank value for score_ =<br />

SINGULAR.<br />

VARNAME_ String variable containing the dimension number.<br />

DIM1...DIMn Numerical variables containing the variances and covariances for<br />

each dimension. Each variable is named DIMn, where n represents the<br />

dimension number.<br />

See the SPSS <strong>Syntax</strong> <strong>Reference</strong> Guide for more information on matrix data files.<br />

Analyzing Aggregated Data<br />

To analyze aggregated data, such as data from a crosstabulation where cell counts are<br />

available but the original raw data are not, you can use the WEIGHT command before<br />

CORRESPONDENCE.<br />

Example<br />

To analyze a 3 ×<br />

3 table such as the one shown in Table 1, you could use these commands:<br />

DATA LIST FREE/ BIRTHORD ANXIETY COUNT.<br />

BEGIN DATA<br />

1 1 48<br />

1 2 27<br />

1 3 22<br />

2 1 33<br />

2 2 20<br />

2 3 39<br />

3 1 29<br />

3 2 42<br />

3 3 47<br />

END DATA.<br />

WEIGHT BY COUNT.<br />

CORRESPONDENCE TABLE=BIRTHORD (1,3) BY ANXIETY (1,3).<br />

• The WEIGHT command weights each case by the value of COUNT, as if there are 48 subjects<br />

with BIRTHORD=1 and ANXIETY=1, 27 subjects with BIRTHORD=1 and ANXIETY=2,<br />

and so on.<br />

• CORRESPONDENCE can then be used to analyze the data.<br />

• If any of the table cell values equals 0, the WEIGHT command issues a warning, but the<br />

CORRESPONDENCE analysis is done correctly.

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

Saved successfully!

Ooh no, something went wrong!