import numpy as np
from scipy.stats import wilcoxon
may_smog = np.array([13.3, 10.0, 16.5, 7.9, 9.5, 8.3,
12.6, 8.9, 13.6, 8.1, 18.3, 8.1, 13.4])
december_smog = np.array(
[11.1, 16.2, 15.3, 19.9, 10.5, 15.5, 12.7, 14.2, 15.6, 20.4, 12.7, 11.2, 36.8])
stat, p_value = wilcoxon(may_smog, december_smog)
print("Wilcoxon Signed Rank Test Statistic:", stat)
print("p-value:", p_value)
if p_value < 0.05:
print("Reject the null hypothesis: There is a significant difference between the two samples.")
else:
print("Fail to reject the null hypothesis: No significant difference between the two samples.")