Measures two properties of a sequence design: how evenly ordered adjacent component pairs are represented and how well separated the design rows are under Hamming distance. Smaller values indicate a better design.
Arguments
- sequence
Numeric matrix or data frame. Every row must be a permutation of
1:q.- pair_weight
Nonnegative weight for ordered adjacent-pair balance.
- space_weight
Nonnegative weight for Hamming-distance space filling.
- p
Positive whole-number exponent controlling emphasis on the weakest pair counts and the smallest distances.
Details
Each row uses the same sequence format as the fitting functions. The value
in column j is the position assigned to component j, and every row must
be a permutation of 1:q.
References
Xiao, Q., Wang, Y., Mandal, A., and Deng, X. (2024). Modeling and Active Learning for Experiments with Quantitative-Sequence Factors. Journal of the American Statistical Association. doi:10.1080/01621459.2022.2123335 .