Use this window to control what is displayed in the Output Window.

## Display

The display options for each type of test are as follows:

## Chi-square test

Test |
Chi-square value and degrees of freedom. |

Probability |
Probability value. |

Expected values |
Fitted (expected) values and standardized residuals. |

Individual cell contributions |
Shows the contribution of each cell of the table to the chi-square value. |

## Random permutation test (Chi-square test only)

For a chi-square test you can choose to calculate the probability using a random permutation test. A permutation test simulates the random distribution of table values that may occur in tables that have the same overall distribution of numbers over the columns, and over the rows, as in the original table. The significance of the chi-square statistic that is calculated from the observed table can be assessed by seeing where it lies in the distribution of statistics that we obtain from the permuted data.

**Number of permutations** lets you specify the number of allocations.**Seed** lets you specify a randomization seed. **Plot histogram for distribution of statistics** produces a histogram showing the distribution of statistics obtained from the permuted data sets. A visual indication of the chi-square statistic from the observed data is superimposed on the graph.

## Fisher’s exact test

Tables |
Displays all 2×2 tables with margins that are the same as the observed table together with their probabilities of occurrence under the null hypothesis of no association, and the cumulative probabilities calculated from both tails |

Probabilities |
Probabilities |

## Action buttons

OK |
Save the option settings and close the dialog. |

Cancel |
Close the dialog without making any changes. |

Defaults |
Reset the options to their default settings. |

## Action Icons

Clear |
Clear all fields and list boxes. | |

Help |
Open the Help topic for this dialog. |

## See also

- Contingency table (chi-square) menu
- Chi-square goodness-of-fit menu