k-pratyush / doex

Python library for Design of Experiments

Home Page:https://doex.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status image Documentation Status PyPI Python 3.6 Python 3.7 Python 3.8 Code style: black

doex - Design of Experiments

Python library for conducting design of experiments

Installation

pip install doex

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
)
exp.display()

Output of above snippet:

+--------------------------+-----+----------------+---------------------+-------------+---------+
|   Source of Variation    | DOF | Sum of Squares | Mean Sum of Squares | F statistic | p value |
+--------------------------+-----+----------------+---------------------+-------------+---------+
| Between treatment groups |  2  |    450.6667    |       225.3333      |    7.0356   |  0.0145 |
|  Within groups (error)   |  9  |    288.2500    |       32.0278       |             |         |
|          Total           |  11 |    738.9167    |                     |             |         |
+--------------------------+-----+----------------+---------------------+-------------+---------+

Documentation

Visit the doex documentation.

Implementations

  • One-way ANOVA
  • Two-way ANOVA
  • Completely Randomized Design
  • Randomized Complete Block Design
  • Randomized Complete Block Design with missing values
  • Latin Square Design
  • Graeco-Latin Square Design
  • Balanced Incomplete Block Design
  • Factorial Designs

References

About

Python library for Design of Experiments

https://doex.readthedocs.io

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Python 100.0%