"""F-test (ANOVA):
Hypothesis Question: Do the means of three or more groups
differ significantly from each other?
Example: Do the mean weights of students
differ significantly across different classes (Class A, Class B, Class C)?"""
# Python Code:
import scipy.stats as stats
# Sample data for different groups
class_a = [...] # Insert data for Class A
class_b = [...] # Insert data for Class B
class_c = [...] # Insert data for Class C
# Perform one-way ANOVA test
f_statistic, p_value = stats.f_oneway(class_a, class_b, class_c)
print("F-statistic:", f_statistic)
print("P-value:", p_value)