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.

400 CTABLES<br />

• The TITLE specification on the TITLE subcommand uses the standard SPSS convention to<br />

break a single string across input lines.<br />

• The CAPTION specification uses the )DATE, )TIME, and )TABLE keywords to print the date,<br />

time, and a description of the table structure.<br />

Significance Testing<br />

Custom Tables can perform the chi-square test of independence and pairwise comparisons of<br />

column proportions for tables that contain at least one category variable in both the rows and<br />

the columns, and pairwise comparisons of column means for tables that contain at least one<br />

summary variable in the rows and one category variable in the columns.<br />

Chi-Square Tests: SIGTEST Subcommand<br />

/SIGTEST TYPE= CHISQUARE ALPHA= {0.05 }<br />

{significance level}<br />

The SIGTEST subcommand has the following specifications:<br />

TYPE The type of significance test. The specification is required. The only current choice<br />

is CHISQUARE.<br />

ALPHA The significance level for the test. The specification must be greater than 0 and less<br />

than 1. The default is 0.05.<br />

Example<br />

CTABLES /TABLE AGECAT BY MARITAL<br />

/CATEGORIES VARIABLES=AGECAT MARITAL TOTAL=YES<br />

/SIGTEST TYPE=CHISQUARE.<br />

Age<br />

category<br />

Age<br />

category<br />

Less than 25<br />

25 to 34<br />

35 to 44<br />

45 to 54<br />

55 to 64<br />

65 or older<br />

Total<br />

Pearson Chi-Square Tests<br />

Chi-square<br />

df<br />

Sig.<br />

Marital status<br />

Married Widowed Divorced Separated<br />

Never<br />

married Total<br />

Count Count Count Count Count Count<br />

37 1 5 5 194 242<br />

271 13 63 16 263 626<br />

379 11 129 44 116 679<br />

275 18 123 13 52 481<br />

186 31 76 7 20 320<br />

197 209 48 8 17 479<br />

1345 283 444 93 662 2827<br />

Marital status<br />

1473.381<br />

20<br />

.000*<br />

Results are based on nonempty rows and columns in each<br />

innermost subtable.<br />

*.<br />

The Chi-square statistic is significant at the 0.05 level.

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

Saved successfully!

Ooh no, something went wrong!