Inferences for bi- and trifactorial trial designs