UsageΒΆ

Here is a code example:

The column are taken from the full-interaction matrix \(\mathbf{B}\) that can be obtained by multiplying the matrices \(\mathbf{R}\) and \(\mathbf{G}\), taken from the article of Xu 2009

2009

Xu, H. (2009). Algorithmic construction of efficient fractional factorial designs with large run sizes. Technometrics, 51(3), 262-277.

import mldoe

# Generate a two-level design by specifying columns number
D = mldoe.TLdesign(16,[1,2,4,8,6])

# Print the design matrix
print(D.array)

# Compute its word-length pattern
print(D.wlp())