Chi-Square Tests: SIGTEST Subcommand (CTABLES command)
/SIGTEST TYPE= CHISQUARE ALPHA= {0.05 }
{significance level}
INCLUDEMRSETS={YES**}
{NO }
CATEGORIES={ALLVISIBLE**}
{SUBTOTALS }
The SIGTEST
subcommand has the following specifications:
TYPE. Type of significance
test. The specification is required. The only current
choice is CHISQUARE
.
ALPHA. Significance level for the test. The specification must be greater than 0 and less than 1. The default is 0.05.
INCLUDEMRSETS. Include multiple
response variables in tests. If there are no multiple
response sets, this keyword is ignored. If INCLUDEMRSETS=YES
and COUNTDUPLICATES=YES
on the MRSETS
subcommand, multiple
response sets are suppressed with a warning.
CATEGORIES. Replacing categories
with subtotals for testing. If SUBTOTALS
is specified, each subtotal replaces its categories
for significance testing. If ALLVISIBLE
is specified, only subtotals that are specified by using the HSUBTOTAL
keyword replace their categories
for testing.
Significance tests are not computed for post-computed categories specified on the
PCOMPUTE
subcommand.
Example
CTABLES /TABLE AGECAT BY MARITAL
/CATEGORIES VARIABLES=AGECAT MARITAL TOTAL=YES
/SIGTEST TYPE=CHISQUARE.

