There are several factors that could affect the outcome of the elections. (1) the incumbent president's popularity; (2) the economy; (3) the performance of the major party candidates; and (4) the nature of the campaign.
The economy is the most important factor.