Election prediction and social science research