The election may be close now, but the historical precedents don’t look good for the Republican.