Mean-field analysis of an inductive reasoning game: application to influenza vaccination.