electoral analysis