How to make a Covariate DOE with sampling in different levels of a categorical variable?
In attachment a data set with 500 combinations X1 and X2; 17 clustered in 17 categories. How, with covariates X1 and X2, to generate a 5x17 = 85 run covariate DOE so that from each cluster/category 5 samples are selected?