A comparison of prospective and retrospective voting with heterogeneous politicians