Simulation shows hospitals that cooperate on infection control obtain better results than hospitals acting alone.