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.

328 CROSSTABS<br />

values for the rows are read as FEAR, and the values for the columns are read as SEX, the<br />

two original variables.<br />

• The WEIGHT command recreates the sample size by weighting each of the four cases<br />

(cells) by the cell frequency.<br />

If you do not have the original data or the CROSSTABS procedure output file, you can reproduce<br />

a crosstabulation and compute statistics simply by entering the values from the table:<br />

DATA LIST /FEAR 1 SEX 3 WGHT 5-7.<br />

VARIABLE LABELS FEAR ’AFRAID TO WALK AT NIGHT IN NEIGHBORHOOD’.<br />

VALUE LABELS FEAR 1 ’YES’ 2 ’NO’/ SEX 1 ’MALE’ 2 ’FEMALE’.<br />

WEIGHT BY WGHT.<br />

BEGIN DATA<br />

1 1 55<br />

2 1 172<br />

1 2 180<br />

2 2 89<br />

END DATA.<br />

CROSSTABS TABLES=FEAR BY SEX<br />

/STATISTICS=ALL.<br />

<strong>Reference</strong>s<br />

Bishop, Y. M. M., S. E. Feinberg, and P. W. Holland. 1975. Discrete multivariate analysis: Theory<br />

and practice. Cambridge, Mass.: MIT Press.<br />

Haberman, S. J. 1978. Analysis of qualitative data. Vol. 1. London: Academic Press.<br />

Kraemer, H. C. 1982. Kappa coefficient. In: Encyclopedia of Statistical Sciences, S. Katz and N. L.<br />

Johnson, eds. New York: John Wiley and Sons.

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

Saved successfully!

Ooh no, something went wrong!