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.

324 CROSSTABS<br />

EXACT Computes the exact significance level for all statistics in addition to the asymptotic<br />

results. If both the EXACT and MC keywords are specified, only exact<br />

results are provided. Calculating the exact p value can be memory-intensive. If<br />

you have specified /METHOD=EXACT and find that you have insufficient<br />

memory to calculate results, you should first close any other applications that<br />

are currently running in order to make more memory available. You can also<br />

enlarge the size of your swap file (see your Windows manual for more information).<br />

If you still cannot obtain exact results, specify /METHOD=MC to obtain<br />

the Monte Carlo estimate of the exact p value. An optional TIMER keyword is<br />

available if you choose /METHOD=EXACT.<br />

TIMER(n) Specifies the maximum number of minutes allowed to run the exact analysis<br />

for each statistic. If the time limit is reached, the test is terminated, no exact<br />

results are provided, and the program begins to calculate the next test in the<br />

analysis. TIMER is available only when /METHOD=EXACT is specified. You<br />

can specify any integer value for TIMER. Specifying a value of 0 for TIMER<br />

turns the timer off completely. TIMER has a default value of 5 minutes. If a test<br />

exceeds a time limit of 30 minutes, it is recommended that you use the Monte<br />

Carlo, rather than the exact, method.<br />

Example<br />

CROSSTABS TABLES=FEAR BY SEX<br />

/CELLS=ROW COLUMN EXPECTED RESIDUALS<br />

/STATISTICS=CHISQ<br />

/METHOD=MC SAMPLES(10000) CIN(95).<br />

• This example requests chi-square statistics.<br />

• An unbiased point estimate and confidence interval based on the Monte Carlo sampling<br />

method are displayed with the asymptotic results.<br />

MISSING Subcommand<br />

By default, CROSSTABS deletes cases with missing values on a table-by-table basis. Cases<br />

with missing values for any variable specified for a table are not used in the table or in the<br />

calculation of statistics. Use MISSING to specify alternative missing-value treatments.<br />

• The only specification is a single keyword.<br />

• The number of missing cases is always displayed in the Case Processing Summary table.<br />

• If the missing values are not included in the range specified on VARIABLES, they are excluded<br />

from the table regardless of the keyword you specify on MISSING.<br />

TABLE Delete cases with missing values on a table-by-table basis. When multiple table<br />

lists are specified, missing values are handled separately for each list. This is the<br />

default.<br />

INCLUDE Include user-missing values. Available in integer mode only.<br />

REPORT Report missing values in the tables. This option includes missing values in tables<br />

but not in the calculation of percentages or statistics. The missing status is indicated<br />

on the categorical label. REPORT is available only in integer mode.

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

Saved successfully!

Ooh no, something went wrong!