Insert the results with the insert_results function or use the Export/Import tool. Then, use the following form to select the factors and interactions of factors to include in the ANOVA:
2-level-factorial and fractional factorial
Copy the following script
After the calculation of the ANOVA, you can use the predict_from_model function.