🚀 A illsutrative web-based application for Design of Experiments (DOE) analysis, built with Streamlit.
This tool enables users to explore factorial designs, one-way ANOVA, and regression analysis interactively, with real-time data visualization and statistical modeling.
✅ Factorial Design Analysis
- Two-level factorial designs (2 factors, 2 levels)
- Three-factor factorial designs (3 factors, 3 levels)
- Fully customizable factor names and levels
- Interactive data generation with user-defined coefficients
- Boxplots, surface plots, and regression models
✅ One-Way ANOVA Analysis
- Three-level factor design (15 replications per level)
- Customizable factor names and level names
- Boxplot visualization of factor effects
- ANOVA table & linear regression summary
- Graphical representation of Sum of Squares (SST, SSTR, SSE)
✅ Statistical Outputs
- Regression equations displayed in LaTeX format
- ANOVA summary table
- OLS regression model results
- Download generated datasets in CSV format
✅ Interactive Data Visualization
- 3D scatter and surface plots for factorial designs
- Boxplots with labeled levels
- Pie charts for Sum of Squares decomposition (SST, SSTR, SSE)
To run this Streamlit app locally, follow these steps:
git clone https://github.com/yourusername/doe-interactive.git
cd doe-interactive
Make sure you have Python >=3.8 installed, then run:
pip install -r requirements.txt
streamlit run mainapp.py
- Navigate to the Factorial Design section.
- Define factor names (e.g., Temperature, Pressure, Thinner).
- Set levels (e.g., Low, Medium, High).
- Adjust coefficients to explore different effects.
- Visualize results (boxplots, surface plots, regression model).
- Go to the One-Way ANOVA section.
- Enter a custom factor name (e.g., Material Type).
- Rename levels (e.g., Plastic, Metal, Wood).
- Adjust coefficients to set the effect of each level.
- View the ANOVA table, regression model, and sum of squares decomposition.
- Every dataset generated in the app can be exported as a CSV file.
To deploy this app on Streamlit Cloud, follow these steps:
- Push your repository to GitHub.
- Go to Streamlit Cloud.
- Create a new app and connect it to your GitHub repo.
- Set the entry point as
mainapp.py
. - Deploy and share your interactive DOE tool! 🎉
🔹 More experimental designs (e.g., fractional factorial, response surface methodology).
🔹 Custom data input support for real-world experiments.
For any questions, open an issue or reach out to us.
💡 Developed by: Leonardo H. Talero-Sarmiento
🌐 LinkedIn: Leonardo Talero
📧 Email: ltalero@unab.edu.co
🎯 Start exploring the power of Design of Experiments with this interactive tool! 🚀