Two polynomial representations of experimental design