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.

Pairwise Comparisons of Proportions and Means: COMPARETEST Subcommand<br />

/COMPARETEST TYPE= {PROP} ALPHA= {0.05 }<br />

{MEAN} {significance level}<br />

ADJUST= {BONFERRONI} ORIGIN=COLUMN<br />

{NONE }<br />

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

CTABLES 401<br />

TYPE The type of pairwise comparison. The specification is required. To compare proportions<br />

when the test variable in the rows is categorical, choose PROP. To compare<br />

means when the test variable in the rows is scale, choose MEAN.<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 />

ADJUST The method for adjusting p values for multiple comparisons. Valid options are<br />

NONE and BONFERRONI. If ADJUST is not specified, the Bonferroni correction is<br />

used.<br />

ORIGIN The direction of the comparison. This specification will determine whether column<br />

means (proportions) or row means (proportions) are being compared. In SPSS<br />

11.5, only COLUMN is supported.<br />

Example<br />

CTABLES /TABLE AGECAT BY MARITAL<br />

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

/COMPARETEST TYPE=PROP ALPHA=.01.<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 />

Comparisons of Column Proportions a<br />

Comparisons of Column Proportions a<br />

Marital status<br />

Married Widowed Divorced Separated<br />

Never<br />

married<br />

(A)<br />

(B)<br />

(C)<br />

(D)<br />

(E)<br />

B A B C D<br />

B B B A B C D<br />

B E B E A B C E B<br />

B E B E<br />

E E E<br />

E A C D E E<br />

Results are based on two-sided tests with significance level .01. For each significant pair, the key of<br />

the category with the smaller column proportion appears under the category with the larger column<br />

proportion.<br />

a. Tests are adjusted for all pairwise comparisons within each innermost subtable using the<br />

Bonferroni correction.<br />

• The table of counts is identical to that shown in the example for chi-square above.<br />

• The comparison output shows a number of predictable pairs for marital status among<br />

different age groups that are significant at the 0.01 level specified with ALPHA in the<br />

command.

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

Saved successfully!

Ooh no, something went wrong!