March 2019 By Jared Wilber, modified March 2021 for use in BUAD 312.

The Permutation Test

Scroll down to move through the different parts of the test.

Conclusion

To recap, the algorithm comprises three steps:


1). Determine & calculate the initial test-statistic.

2). Construct approximate test-statistic distribution.

3). Calculate the p-value.


This is a modified version of Jared Wilber's amazing permutation test visualization. We highly recommend checking out the original version, it has llamas!






References

Introduction to Design and Analysis of Experiments (George W. Cobb, 1998)

There is only one test! (Allen Downey, 2011)

Permutation Tests (Thomas Leeper, 2013)



Resources

D3.js (Mike Bostock)

Rough.js (Preet Shihn)

scrollama.js (Russel Goldenberg)