Effectiveness of anti-epidemic measures