Standard mean-field theory ignores network structure, but pair approximation tracks correlations between neighboring nodes. This visualization compares mean-field (dashed), pair approximation (solid), and individual-based simulation (dots) for an SIS epidemic, showing how network clustering changes the epidemic threshold.