# Segment 34. Permutation Tests

From Computational Statistics Course Wiki

#### Watch this segment

(Don't worry, what you see statically below is not the beginning of the segment. Press the play button to start at the beginning.)

The direct YouTube link is http://youtu.be/_4BUS1NGNHA

Links to the slides: PDF file or PowerPoint file

### Problems

#### To Calculate

1. Use the permutation test to decide whether the contingency table **Failed to parse (unknown error): \begin{bmatrix} 5 & 3 & 2\\ 2 & 3 & 6 \\ 0 & 2 & 3 \end{bmatrix}**
shows a significant association. What is the p-value?

2. Repeat the calculation using the Pearson chi-square statistic instead of the Wald statistic, or vice versa.

#### To Think About

1. Is slide's 7 suggestion, that you figure out how to implement the permutation test without "expanding all the data", actually possible? If so, what is your method?