Welcome to csw93’s documentation!¶
CSW93 is a Python package that makes available the design matrices of all regular fractional factorial two-level designs from Chen et al. [1993]. Recently, all designs from the catalog of Xu [2009] were also added to the package.
Here under you will find an installation guide, and a brief description of the basic usage of the package. In the following sections are presented a detailed documentation, a contributing guide and a bibliography.
Installation¶
Use the package manager pip to install csw93.
pip install csw93
Usage¶
The package provides several functions to obtain: the design matrix, the word length pattern, and the number of clear two-factor interactions, using only the number of runs and the index of the design. This index corresponds to the first column in all tables of all tables from the paper.
import csw93
# Design matrix of the 16-run design with index 8-4.1
csw93.get_design(16, "8-4.1")
# Word length pattern of the 32-run design with index 15-10.2
csw93.get_wlp(32, "8-4.1")
# Number of clear two-factor interactions for the 64-run design 11-5.10
csw93.get_cfi(64, "11-5.10")