Statistics, Machine Learning, Data Science, Financial Planning, Python.
Sample data for three groups (replace these with your actual data) group1 = [23, 25, 28, 30, 32] group2 = [20, 22, 24, 26, 28] group3 = [18, 21, 24, 27, 30] # Perform one-way ANOVA f_statistic, p_value = stats.f_oneway(group1, group2, group3) # Print the results print("F-statistic:", f_statistic)