doex - Design and Analysis of Experiments¶
Python library for conducting design of experiments.
Installation¶
pip install doex
Online Demo¶
Sample usage¶
import doex
exp = doex.OneWayANOVA(
[24, 28, 37, 30], # Treatment 1
[37, 44, 31, 35], # Treatment 2
[42, 47, 52, 38], # Treatment 3
)
+---------------------+-----+----------------+---------------------+-------------+---------+
| Source of Variation | DOF | Sum of Squares | Mean Sum of Squares | F statistic | p value |
+---------------------+-----+----------------+---------------------+-------------+---------+
| Treatments | 2 | 450.6667 | 225.3333 | 7.0356 | 0.0145 |
| Error | 9 | 288.2500 | 32.0278 | | |
| Total | 11 | 738.9167 | | | |
+---------------------+-----+----------------+---------------------+-------------+---------+
Implementations¶
Balanced Incomplete Block Design (TODO)
Factorial Designs (TODO)
Documentation¶
Acknowledgements¶
Adapted from https://github.com/pawanaichra/doe.