SlideShare a Scribd company logo
1 of 22
Analysis of US
Presidential
Elections, 2016
Table of Contents
 Overview of Dataset
 Objectives
 Tools Used
 Methodology
 Analysis & Findings
 Assumptions
 Prediction
 Conclusions
 Bibliography
Overview of Dataset
 Dataset was obtained from Kaggle website
 The dataset contains relevant data for the 2016 US Presidential Elections,
including results of primary elections
 The dataset consisted of 4 files in csv and zip format, namely,
 County_facts- demographic data on counties from US census
 County_facts_dictionary- description of columns of County_facts
 Primary_results- File containing data about votes and number of votes received
by each candidate in different counties.
Objectives
 Understanding the primary elections and key terms
 Number of candidates who took part in the primary elections from each party
 Most popular candidate for each party by different state and with respect to different types of
people
 Differentiation in number of votes with respect to party and candidate by each state
 Analysing the Non-Swing states (Looking previous 5 election year trends)
 Understanding the general elections and key terms
 Calculating the number of electoral votes for final presidential nominees
 Prediction of the next President of the United States of America
 Predictions and models
 Popularity of each candidate on the basis of twitter sentiment analysis
 Performance comparison of the various tools utilized
Tools Used
 RStudio
 MS-Excel
 SAS
 SQL with RStudio
 Tableau
 Anaconda
Methodology
Obtain dataset from
Kaggle.com
Explore the data to find what
its all about
Understand the US primary
elections
Defining objectives
Modifying, cleaning and
transformation of Data in
RStudio
Writing the modified dataset
into a csv file
Carrying out different type of
analysis on the modified data
to draw insights using different
tools and visualizations
Understand the US general
elections
Make certain Assumptions in
order to predict the next
president
Do qualitative & quantitative
analysis keeping in mind the
assumptions made to find out
the next president
Supporting our answer with
the help of certain
mathematical models
Twitter Sentiment Analysis to
find the popularity of final
presidential nominees
Comparison of performance of
tools used for analysis
Drawing conclusions
Analysis & Findings
Understanding the US Primary Election
and key terms
 Key Terms
 National Conventions
 Primary
 Closed primary
 Open primary
 New Hampshire Primary
 Caucus
 Iowa Caucuses
 Delegates
 Pledged Delegates
 Super Delegates
Number of candidates who took part in the
primary elections from each party
Based on dataset, a total number of 14 candidates together from both the parties took part in the primary elections, who are as follows:
Democratic
Party
Hillary Clinton Bernie Sanders
Martin O’
Malley
RepublicanParty
Ben Carson
Carly Fiorina
Chris Christie
Donald Trump
Jeb Bush
John Kasich
Marco Rubio
Mike Huckabee
Rand Paul
Ted Cruz
Rick Santorum
Most popular candidate by each party
Republican Party
Democratic Party
Top most popular candidates for each party by different
types of people
Most popular candidate from both the parties, by
different types of person
Non-Swing states, looking at the
previous election
2012 ELECTIONS TO SEE THE NON-SWING STATES AND COMPARE IT WITH
THIS YEAR ELECTIONS
Understanding the general election
and key terms
 Key terms
 Electoral College
 Electors
 Swing states
Calculating the number of electors
 Number of electors differ for each state
 The number of electors are calculated on the basis of number of districts in
each state along with the senate members, which are two for all states
 The more the number of districts in each state, the more the number of
electors
 Electors are the persons who choose the president of the United States
 The electors vote in the favour of the nominee who was popular across
each state
California
53 districts
2 senate
members
55
electors
Prediction of the next president of
United States
 As the data pertaining to general elections was not available certain
presumptions were made, which are as follows:
 The conditions and the number of votes to be cast during the upcoming general
elections would be similar to the conditions during primary elections
 Therefore, the same data of primary elections was analysed to draw prediction
insights
 Qualitative analysis and current affairs were used to make predictions
 Two different predictions were made, one on the basis of party and other on the
basis of final presidential nominee
 The predictions are supported by different mathematical models defined by
distinguished professors in their fields
 Assumption on the division of votes of the candidates who quit or suspended their
campaign
Predictions and models
 On the basis of party, the most number of electoral votes went to
republican party, leading to the win of Donald Trump
 If we take only the candidates solely, and forget the parties then there can
be two phases as follows,
 1st Phase- Winner Hillary Clinton
 2nd Phase- Winner Donald Trump
 Mathematical models to support our answer include different econometric models
such as, DeSart Model (Jay DeSart), Fair Model (Ray Fair), Primary Model (Helmut
Norpoth), and Electoral Cycle Model (Helmut Norpoth) among others.
Twitter sentiment analysis
All candidates Hillary Clinton Donald Trump
Performance of various tools utilized
 We have carried out similar analysis on both R and Python and based on
our data and skills we came to the following conclusions:
Parameter R Python
Number of lines of code
(average)
145 85
RAM Usage 88% 66%
Average Processing Time
(minutes)
8-10 4-7
Ease of coding Easy Moderate
Number of Packages
used
22-25 4-6
Conclusion
 As per our analysis the prediction is mainly dependent on the casting of
votes in swing states along with division of votes of Ted Cruz of
Republican party as he has declined to endorse his republican counterpart
Donald Trump.

More Related Content

Viewers also liked

Presidential Elections in the United States
Presidential Elections in the United StatesPresidential Elections in the United States
Presidential Elections in the United StatesMolly Nichelson
 
elections in usa
elections in usaelections in usa
elections in usahiratufail
 
The Electoral Process
The Electoral ProcessThe Electoral Process
The Electoral Processitutor
 
Election PowerPoint
Election PowerPointElection PowerPoint
Election PowerPointjepler
 
The Moneyball Effect: Win the Size War with Effective Online Marketing
The Moneyball Effect: Win the Size War with Effective Online MarketingThe Moneyball Effect: Win the Size War with Effective Online Marketing
The Moneyball Effect: Win the Size War with Effective Online MarketingMojenta
 
Electing the president
Electing the presidentElecting the president
Electing the presidentdavetems
 
Electoral Process iCivics
Electoral Process iCivicsElectoral Process iCivics
Electoral Process iCivicskerrimcbride
 
Us presidential elections
Us presidential electionsUs presidential elections
Us presidential electionsTushar Chawla
 
US Presidential Campaign_Final
US Presidential Campaign_FinalUS Presidential Campaign_Final
US Presidential Campaign_FinalXi Chen
 
Operation zarb e azb
Operation zarb e azbOperation zarb e azb
Operation zarb e azbALI KHAN
 
The origin of the palestine israel conflict
The origin of the palestine israel conflictThe origin of the palestine israel conflict
The origin of the palestine israel conflictMohammad Ihmeidan
 
Israel palestine conflict
Israel palestine conflictIsrael palestine conflict
Israel palestine conflictRohit Sachdeva
 
2016 Election USA
2016 Election USA2016 Election USA
2016 Election USAron mader
 
5 Things You Need to Know About the Coming Trump vs. Clinton Showdown
5 Things You Need to Know About the Coming Trump vs. Clinton Showdown5 Things You Need to Know About the Coming Trump vs. Clinton Showdown
5 Things You Need to Know About the Coming Trump vs. Clinton ShowdownAtif Fareed
 
Freedom of expression
Freedom of expressionFreedom of expression
Freedom of expressionGerwin Ocsena
 
Outcomes of operation,
Outcomes of operation,Outcomes of operation,
Outcomes of operation,Hewad Khan
 
difference between parliamentary govt and presidential govt
difference between parliamentary govt and presidential govtdifference between parliamentary govt and presidential govt
difference between parliamentary govt and presidential govtAmulya Nigam
 
Palestine Israel Conflict
Palestine Israel ConflictPalestine Israel Conflict
Palestine Israel ConflictParas Bhutto
 

Viewers also liked (20)

Presidential Elections in the United States
Presidential Elections in the United StatesPresidential Elections in the United States
Presidential Elections in the United States
 
elections in usa
elections in usaelections in usa
elections in usa
 
The Electoral Process
The Electoral ProcessThe Electoral Process
The Electoral Process
 
USA elections 2016
USA elections 2016USA elections 2016
USA elections 2016
 
Election PowerPoint
Election PowerPointElection PowerPoint
Election PowerPoint
 
The Moneyball Effect: Win the Size War with Effective Online Marketing
The Moneyball Effect: Win the Size War with Effective Online MarketingThe Moneyball Effect: Win the Size War with Effective Online Marketing
The Moneyball Effect: Win the Size War with Effective Online Marketing
 
Electing the president
Electing the presidentElecting the president
Electing the president
 
Electoral Process iCivics
Electoral Process iCivicsElectoral Process iCivics
Electoral Process iCivics
 
Us presidential elections
Us presidential electionsUs presidential elections
Us presidential elections
 
US Presidential Campaign_Final
US Presidential Campaign_FinalUS Presidential Campaign_Final
US Presidential Campaign_Final
 
Operation zarb e azb
Operation zarb e azbOperation zarb e azb
Operation zarb e azb
 
The origin of the palestine israel conflict
The origin of the palestine israel conflictThe origin of the palestine israel conflict
The origin of the palestine israel conflict
 
Israel palestine conflict
Israel palestine conflictIsrael palestine conflict
Israel palestine conflict
 
2016 Election USA
2016 Election USA2016 Election USA
2016 Election USA
 
5 Things You Need to Know About the Coming Trump vs. Clinton Showdown
5 Things You Need to Know About the Coming Trump vs. Clinton Showdown5 Things You Need to Know About the Coming Trump vs. Clinton Showdown
5 Things You Need to Know About the Coming Trump vs. Clinton Showdown
 
Freedom of expression
Freedom of expressionFreedom of expression
Freedom of expression
 
Outcomes of operation,
Outcomes of operation,Outcomes of operation,
Outcomes of operation,
 
Operation Zarb-e-Azb
Operation Zarb-e-AzbOperation Zarb-e-Azb
Operation Zarb-e-Azb
 
difference between parliamentary govt and presidential govt
difference between parliamentary govt and presidential govtdifference between parliamentary govt and presidential govt
difference between parliamentary govt and presidential govt
 
Palestine Israel Conflict
Palestine Israel ConflictPalestine Israel Conflict
Palestine Israel Conflict
 

Similar to Analysis of us presidential elections, 2016

2012 Presidential Elections on Twitter - An Analysis of How the US and French...
2012 Presidential Elections on Twitter - An Analysis of How the US and French...2012 Presidential Elections on Twitter - An Analysis of How the US and French...
2012 Presidential Elections on Twitter - An Analysis of How the US and French...University Politehnica Bucharest
 
Election Project (Elep)
Election Project (Elep)Election Project (Elep)
Election Project (Elep)datamap.io
 
Help! Webinar: "Making Election Data Great Again"
Help! Webinar: "Making Election Data Great Again"Help! Webinar: "Making Election Data Great Again"
Help! Webinar: "Making Election Data Great Again"Lynda Kellam
 
Go forward 2010! 5 13-10
Go forward 2010! 5 13-10Go forward 2010! 5 13-10
Go forward 2010! 5 13-10marlondmarshall
 
Go forward 2010! 5 13-10
Go forward 2010! 5 13-10Go forward 2010! 5 13-10
Go forward 2010! 5 13-10marlondmarshall
 
PO 375 Intro Parties and Elections
PO 375 Intro Parties and ElectionsPO 375 Intro Parties and Elections
PO 375 Intro Parties and Electionsatrantham
 
Primary/Caucuses
Primary/CaucusesPrimary/Caucuses
Primary/Caucusesshoetzlein
 
Part 1 Individual Factors Affecting Voter Turnout Based on .docx
Part 1 Individual Factors Affecting Voter Turnout Based on .docxPart 1 Individual Factors Affecting Voter Turnout Based on .docx
Part 1 Individual Factors Affecting Voter Turnout Based on .docxdanhaley45372
 
Go forward 2010! 5 20-10
Go forward 2010! 5 20-10Go forward 2010! 5 20-10
Go forward 2010! 5 20-10marlondmarshall
 
2017 Contributing to Open Elections Data using R
2017 Contributing to Open Elections Data using R2017 Contributing to Open Elections Data using R
2017 Contributing to Open Elections Data using RRupal Agrawal
 
The Party is Over Here: Structure and Content in the 2010 Election
The Party is Over Here: Structure and Content in the 2010 ElectionThe Party is Over Here: Structure and Content in the 2010 Election
The Party is Over Here: Structure and Content in the 2010 ElectionAvishay Livne
 
Final%20Analysis%20Code%20Displayed.html
Final%20Analysis%20Code%20Displayed.htmlFinal%20Analysis%20Code%20Displayed.html
Final%20Analysis%20Code%20Displayed.htmlRyan Haeri
 
Who should be nominated to run in the 2012 U.S. Presidential Election?
Who should be nominated to run in the 2012 U.S. Presidential Election?Who should be nominated to run in the 2012 U.S. Presidential Election?
Who should be nominated to run in the 2012 U.S. Presidential Election?agraefe
 
Twitter Based Sentiment Analysis of Each Presidential Candidate Using Long Sh...
Twitter Based Sentiment Analysis of Each Presidential Candidate Using Long Sh...Twitter Based Sentiment Analysis of Each Presidential Candidate Using Long Sh...
Twitter Based Sentiment Analysis of Each Presidential Candidate Using Long Sh...CSCJournals
 
Who should be nominated to run in the 2012 U.S. presidential election?
Who should be nominated to run in the 2012 U.S. presidential election?Who should be nominated to run in the 2012 U.S. presidential election?
Who should be nominated to run in the 2012 U.S. presidential election?agraefe
 
Campaign Sciences Analytics White Paper
Campaign Sciences Analytics White PaperCampaign Sciences Analytics White Paper
Campaign Sciences Analytics White PaperWPA Intelligence
 
Assignment-Proposed Intervention(s) and ImplementationEvaluation .docx
Assignment-Proposed Intervention(s) and ImplementationEvaluation .docxAssignment-Proposed Intervention(s) and ImplementationEvaluation .docx
Assignment-Proposed Intervention(s) and ImplementationEvaluation .docxedmondpburgess27164
 

Similar to Analysis of us presidential elections, 2016 (20)

Complete Study
Complete StudyComplete Study
Complete Study
 
2012 Presidential Elections on Twitter - An Analysis of How the US and French...
2012 Presidential Elections on Twitter - An Analysis of How the US and French...2012 Presidential Elections on Twitter - An Analysis of How the US and French...
2012 Presidential Elections on Twitter - An Analysis of How the US and French...
 
Election Project (Elep)
Election Project (Elep)Election Project (Elep)
Election Project (Elep)
 
Help! Webinar: "Making Election Data Great Again"
Help! Webinar: "Making Election Data Great Again"Help! Webinar: "Making Election Data Great Again"
Help! Webinar: "Making Election Data Great Again"
 
Go Forward 2010!
Go Forward 2010! Go Forward 2010!
Go Forward 2010!
 
Go forward 2010! 5 13-10
Go forward 2010! 5 13-10Go forward 2010! 5 13-10
Go forward 2010! 5 13-10
 
Go forward 2010! 5 13-10
Go forward 2010! 5 13-10Go forward 2010! 5 13-10
Go forward 2010! 5 13-10
 
Political Poster Edit
Political Poster EditPolitical Poster Edit
Political Poster Edit
 
PO 375 Intro Parties and Elections
PO 375 Intro Parties and ElectionsPO 375 Intro Parties and Elections
PO 375 Intro Parties and Elections
 
Primary/Caucuses
Primary/CaucusesPrimary/Caucuses
Primary/Caucuses
 
Part 1 Individual Factors Affecting Voter Turnout Based on .docx
Part 1 Individual Factors Affecting Voter Turnout Based on .docxPart 1 Individual Factors Affecting Voter Turnout Based on .docx
Part 1 Individual Factors Affecting Voter Turnout Based on .docx
 
Go forward 2010! 5 20-10
Go forward 2010! 5 20-10Go forward 2010! 5 20-10
Go forward 2010! 5 20-10
 
2017 Contributing to Open Elections Data using R
2017 Contributing to Open Elections Data using R2017 Contributing to Open Elections Data using R
2017 Contributing to Open Elections Data using R
 
The Party is Over Here: Structure and Content in the 2010 Election
The Party is Over Here: Structure and Content in the 2010 ElectionThe Party is Over Here: Structure and Content in the 2010 Election
The Party is Over Here: Structure and Content in the 2010 Election
 
Final%20Analysis%20Code%20Displayed.html
Final%20Analysis%20Code%20Displayed.htmlFinal%20Analysis%20Code%20Displayed.html
Final%20Analysis%20Code%20Displayed.html
 
Who should be nominated to run in the 2012 U.S. Presidential Election?
Who should be nominated to run in the 2012 U.S. Presidential Election?Who should be nominated to run in the 2012 U.S. Presidential Election?
Who should be nominated to run in the 2012 U.S. Presidential Election?
 
Twitter Based Sentiment Analysis of Each Presidential Candidate Using Long Sh...
Twitter Based Sentiment Analysis of Each Presidential Candidate Using Long Sh...Twitter Based Sentiment Analysis of Each Presidential Candidate Using Long Sh...
Twitter Based Sentiment Analysis of Each Presidential Candidate Using Long Sh...
 
Who should be nominated to run in the 2012 U.S. presidential election?
Who should be nominated to run in the 2012 U.S. presidential election?Who should be nominated to run in the 2012 U.S. presidential election?
Who should be nominated to run in the 2012 U.S. presidential election?
 
Campaign Sciences Analytics White Paper
Campaign Sciences Analytics White PaperCampaign Sciences Analytics White Paper
Campaign Sciences Analytics White Paper
 
Assignment-Proposed Intervention(s) and ImplementationEvaluation .docx
Assignment-Proposed Intervention(s) and ImplementationEvaluation .docxAssignment-Proposed Intervention(s) and ImplementationEvaluation .docx
Assignment-Proposed Intervention(s) and ImplementationEvaluation .docx
 

Recently uploaded

Digi Khata Problem along complete plan.pptx
Digi Khata Problem along complete plan.pptxDigi Khata Problem along complete plan.pptx
Digi Khata Problem along complete plan.pptxTanveerAhmed817946
 
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改atducpo
 
Ukraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICSUkraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICSAishani27
 
FESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfFESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfMarinCaroMartnezBerg
 
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Jack DiGiovanna
 
Aminabad Call Girl Agent 9548273370 , Call Girls Service Lucknow
Aminabad Call Girl Agent 9548273370 , Call Girls Service LucknowAminabad Call Girl Agent 9548273370 , Call Girls Service Lucknow
Aminabad Call Girl Agent 9548273370 , Call Girls Service Lucknowmakika9823
 
Predicting Employee Churn: A Data-Driven Approach Project Presentation
Predicting Employee Churn: A Data-Driven Approach Project PresentationPredicting Employee Churn: A Data-Driven Approach Project Presentation
Predicting Employee Churn: A Data-Driven Approach Project PresentationBoston Institute of Analytics
 
B2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxB2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxStephen266013
 
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...soniya singh
 
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfMarket Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfRachmat Ramadhan H
 
定制英国白金汉大学毕业证(UCB毕业证书) 成绩单原版一比一
定制英国白金汉大学毕业证(UCB毕业证书)																			成绩单原版一比一定制英国白金汉大学毕业证(UCB毕业证书)																			成绩单原版一比一
定制英国白金汉大学毕业证(UCB毕业证书) 成绩单原版一比一ffjhghh
 
Brighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data StorytellingBrighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data StorytellingNeil Barnes
 
Call Girls In Mahipalpur O9654467111 Escorts Service
Call Girls In Mahipalpur O9654467111  Escorts ServiceCall Girls In Mahipalpur O9654467111  Escorts Service
Call Girls In Mahipalpur O9654467111 Escorts ServiceSapana Sha
 
Customer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptxCustomer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptxEmmanuel Dauda
 
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdfKantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdfSocial Samosa
 

Recently uploaded (20)

Digi Khata Problem along complete plan.pptx
Digi Khata Problem along complete plan.pptxDigi Khata Problem along complete plan.pptx
Digi Khata Problem along complete plan.pptx
 
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
 
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
 
VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...
VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...
VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...
 
Ukraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICSUkraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICS
 
FESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfFESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdf
 
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
 
Aminabad Call Girl Agent 9548273370 , Call Girls Service Lucknow
Aminabad Call Girl Agent 9548273370 , Call Girls Service LucknowAminabad Call Girl Agent 9548273370 , Call Girls Service Lucknow
Aminabad Call Girl Agent 9548273370 , Call Girls Service Lucknow
 
Predicting Employee Churn: A Data-Driven Approach Project Presentation
Predicting Employee Churn: A Data-Driven Approach Project PresentationPredicting Employee Churn: A Data-Driven Approach Project Presentation
Predicting Employee Churn: A Data-Driven Approach Project Presentation
 
B2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxB2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docx
 
E-Commerce Order PredictionShraddha Kamble.pptx
E-Commerce Order PredictionShraddha Kamble.pptxE-Commerce Order PredictionShraddha Kamble.pptx
E-Commerce Order PredictionShraddha Kamble.pptx
 
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
 
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfMarket Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
 
定制英国白金汉大学毕业证(UCB毕业证书) 成绩单原版一比一
定制英国白金汉大学毕业证(UCB毕业证书)																			成绩单原版一比一定制英国白金汉大学毕业证(UCB毕业证书)																			成绩单原版一比一
定制英国白金汉大学毕业证(UCB毕业证书) 成绩单原版一比一
 
Brighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data StorytellingBrighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data Storytelling
 
Call Girls In Mahipalpur O9654467111 Escorts Service
Call Girls In Mahipalpur O9654467111  Escorts ServiceCall Girls In Mahipalpur O9654467111  Escorts Service
Call Girls In Mahipalpur O9654467111 Escorts Service
 
Customer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptxCustomer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptx
 
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdfKantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
 
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in Kishangarh
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in  KishangarhDelhi 99530 vip 56974 Genuine Escort Service Call Girls in  Kishangarh
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in Kishangarh
 
Decoding Loan Approval: Predictive Modeling in Action
Decoding Loan Approval: Predictive Modeling in ActionDecoding Loan Approval: Predictive Modeling in Action
Decoding Loan Approval: Predictive Modeling in Action
 

Analysis of us presidential elections, 2016

  • 2. Table of Contents  Overview of Dataset  Objectives  Tools Used  Methodology  Analysis & Findings  Assumptions  Prediction  Conclusions  Bibliography
  • 3. Overview of Dataset  Dataset was obtained from Kaggle website  The dataset contains relevant data for the 2016 US Presidential Elections, including results of primary elections  The dataset consisted of 4 files in csv and zip format, namely,  County_facts- demographic data on counties from US census  County_facts_dictionary- description of columns of County_facts  Primary_results- File containing data about votes and number of votes received by each candidate in different counties.
  • 4. Objectives  Understanding the primary elections and key terms  Number of candidates who took part in the primary elections from each party  Most popular candidate for each party by different state and with respect to different types of people  Differentiation in number of votes with respect to party and candidate by each state  Analysing the Non-Swing states (Looking previous 5 election year trends)  Understanding the general elections and key terms  Calculating the number of electoral votes for final presidential nominees  Prediction of the next President of the United States of America  Predictions and models  Popularity of each candidate on the basis of twitter sentiment analysis  Performance comparison of the various tools utilized
  • 5. Tools Used  RStudio  MS-Excel  SAS  SQL with RStudio  Tableau  Anaconda
  • 6. Methodology Obtain dataset from Kaggle.com Explore the data to find what its all about Understand the US primary elections Defining objectives Modifying, cleaning and transformation of Data in RStudio Writing the modified dataset into a csv file Carrying out different type of analysis on the modified data to draw insights using different tools and visualizations Understand the US general elections Make certain Assumptions in order to predict the next president Do qualitative & quantitative analysis keeping in mind the assumptions made to find out the next president Supporting our answer with the help of certain mathematical models Twitter Sentiment Analysis to find the popularity of final presidential nominees Comparison of performance of tools used for analysis Drawing conclusions
  • 8. Understanding the US Primary Election and key terms  Key Terms  National Conventions  Primary  Closed primary  Open primary  New Hampshire Primary  Caucus  Iowa Caucuses  Delegates  Pledged Delegates  Super Delegates
  • 9. Number of candidates who took part in the primary elections from each party Based on dataset, a total number of 14 candidates together from both the parties took part in the primary elections, who are as follows: Democratic Party Hillary Clinton Bernie Sanders Martin O’ Malley RepublicanParty Ben Carson Carly Fiorina Chris Christie Donald Trump Jeb Bush John Kasich Marco Rubio Mike Huckabee Rand Paul Ted Cruz Rick Santorum
  • 10. Most popular candidate by each party Republican Party
  • 12. Top most popular candidates for each party by different types of people
  • 13. Most popular candidate from both the parties, by different types of person
  • 14. Non-Swing states, looking at the previous election
  • 15. 2012 ELECTIONS TO SEE THE NON-SWING STATES AND COMPARE IT WITH THIS YEAR ELECTIONS
  • 16. Understanding the general election and key terms  Key terms  Electoral College  Electors  Swing states
  • 17. Calculating the number of electors  Number of electors differ for each state  The number of electors are calculated on the basis of number of districts in each state along with the senate members, which are two for all states  The more the number of districts in each state, the more the number of electors  Electors are the persons who choose the president of the United States  The electors vote in the favour of the nominee who was popular across each state California 53 districts 2 senate members 55 electors
  • 18. Prediction of the next president of United States  As the data pertaining to general elections was not available certain presumptions were made, which are as follows:  The conditions and the number of votes to be cast during the upcoming general elections would be similar to the conditions during primary elections  Therefore, the same data of primary elections was analysed to draw prediction insights  Qualitative analysis and current affairs were used to make predictions  Two different predictions were made, one on the basis of party and other on the basis of final presidential nominee  The predictions are supported by different mathematical models defined by distinguished professors in their fields  Assumption on the division of votes of the candidates who quit or suspended their campaign
  • 19. Predictions and models  On the basis of party, the most number of electoral votes went to republican party, leading to the win of Donald Trump  If we take only the candidates solely, and forget the parties then there can be two phases as follows,  1st Phase- Winner Hillary Clinton  2nd Phase- Winner Donald Trump  Mathematical models to support our answer include different econometric models such as, DeSart Model (Jay DeSart), Fair Model (Ray Fair), Primary Model (Helmut Norpoth), and Electoral Cycle Model (Helmut Norpoth) among others.
  • 20. Twitter sentiment analysis All candidates Hillary Clinton Donald Trump
  • 21. Performance of various tools utilized  We have carried out similar analysis on both R and Python and based on our data and skills we came to the following conclusions: Parameter R Python Number of lines of code (average) 145 85 RAM Usage 88% 66% Average Processing Time (minutes) 8-10 4-7 Ease of coding Easy Moderate Number of Packages used 22-25 4-6
  • 22. Conclusion  As per our analysis the prediction is mainly dependent on the casting of votes in swing states along with division of votes of Ted Cruz of Republican party as he has declined to endorse his republican counterpart Donald Trump.