Statistics, Machine Learning, Data Science, Financial Planning, Python.
typ=2) print(anova_table) sum_sq df F PR(>F) factor1 34.300000 2.0 0.082656 0.920929 factor2 24.300000 1.0 0.117116 0.735162 factor1:factor2 878.700000 2.0 2.117491 0.142261 Residual 4979.666667 24.0 NaN NaN import seaborn as sns # Visualize main effects plt.figure(figsize=(8, 6))