Three way factorial data analysis and randomization tests