SlideShare a Scribd company logo
Matt McDermott
About
Data Scientist, Writer, Drummer
Project Description
● Data mine Twitter for Chicago publications
● NLP clean up & sentiment analysis on Twitter content
● Comparison with Chicago Fed’s CFBSC outlook metric
● ARIMA time-series analysis of sentiment analysis
Email address matthewmcdermott60515@gmail.com Cell number 872-235-9340
Analyzing Twitter Data
Matt McDermott
April 2020
Question
● Are there correlations between an economic
indicator of business confidence and tweets from
newspapers? Can these suggest they occupy the
same mental ecosystem?
● Can a predictive model be meaningfully applied to
both?
Scope
Time Period
● January 2019 - March 2020
● 15 months/5 quarters
Federal Reserve Bank of Chicago
● CFSBC Survey by Chicago Fed
Twitter Data
● Twitter data from Crain’s Chicago Business,
Chicago Tribune, Chicago Sun-Times
Data Process
● Twint library (Python)
● Basic NLP clean up
● MatPlotLib Data Viz library
● ADF test
Analysis - Crains & CFBSC
2-month lag
Analysis - Sun-Times & CFBSC
2-month lag
Analysis - Tribune & CFBSC
1-month log, 1 dip
Shared Correlation: DJIA
Summer
2019
Dec 2019
Predictive Model: ARIMA
Time-Series Modeling
Predictive Model: ARIMA
Time-Series Modeling
Predictive Model: ARIMA
Time-Series Modeling
CFBSC Outlook metric, 30 months (15 actual, 15 forecast)
Next Steps
● Gather more data
○ Go back to 2015 or 2010
○ Include more publications
● Optimize my predictive model
● Further NLP analysis of collected tweets
Tools
Python
Jupyter Notebook
Twint (Twitter data mining)
Matplotlib (data visualization)
Vader Sentiment - Sentiment
Intensity Analyzer
Data
Twitter
● Crain’s - search term ‘Chicago’
○ 3,500 tweets
● Crain’s - search term ‘Business’
○ 2,145 tweets
● Tribune - search term ‘Chicago’
○ 14,135 tweets
● Tribune- search term ‘Business’
○ 9,486 tweets
● Sun-Times - search term ‘Chicago’
○ 8,129 tweets
● Sun-Times- search term ‘Business’
○ 8,086 tweets
Federal Reserve Bank of Chicago
● Chicago Fed Survey of Business Conditions
(CFSBC)
○ https://www.chicagofed.org/research/data/index
Sources
https://nealcaren.org/lessons/twint/
https://www.geeksforgeeks.org/python-sentiment-analysis-using-vader/
https://stackoverflow.com/questions/39782418/remove-punctuations-in-pandas
https://www.machinelearningplus.com/time-series/time-series-analysis-python/
https://towardsdatascience.com/machine-learning-part-19-time-series-and-autoregressive-integrate
d-moving-average-model-arima-c1005347b0d7
https://www.statisticshowto.com/detrend-data/

More Related Content

Similar to Comparison of Sentiment Analyses of Twitter Data and the Chicago Fed's CFBSC Outlook Metric

Clint Britt _ Six Sigma Project _ MFP_ June2016
Clint Britt _ Six Sigma Project _ MFP_ June2016Clint Britt _ Six Sigma Project _ MFP_ June2016
Clint Britt _ Six Sigma Project _ MFP_ June2016
Clint Britt
 
Predictive Analytics - Case Study & Trial Results
Predictive Analytics - Case Study & Trial ResultsPredictive Analytics - Case Study & Trial Results
Predictive Analytics - Case Study & Trial Results
Steve Susina
 

Similar to Comparison of Sentiment Analyses of Twitter Data and the Chicago Fed's CFBSC Outlook Metric (20)

Help Me, Help You: Supporting Your Data
Help Me, Help You: Supporting Your DataHelp Me, Help You: Supporting Your Data
Help Me, Help You: Supporting Your Data
 
Clint Britt _ Six Sigma Project _ MFP_ June2016
Clint Britt _ Six Sigma Project _ MFP_ June2016Clint Britt _ Six Sigma Project _ MFP_ June2016
Clint Britt _ Six Sigma Project _ MFP_ June2016
 
Implementation of Sentimental Analysis of Social Media for Stock Prediction ...
Implementation of Sentimental Analysis of Social Media for Stock  Prediction ...Implementation of Sentimental Analysis of Social Media for Stock  Prediction ...
Implementation of Sentimental Analysis of Social Media for Stock Prediction ...
 
Detailed Investigation of Text Classification and Clustering of Twitter Data ...
Detailed Investigation of Text Classification and Clustering of Twitter Data ...Detailed Investigation of Text Classification and Clustering of Twitter Data ...
Detailed Investigation of Text Classification and Clustering of Twitter Data ...
 
Clinical Trial Performance Metrics Conference Dec 2016
Clinical Trial Performance Metrics Conference Dec 2016Clinical Trial Performance Metrics Conference Dec 2016
Clinical Trial Performance Metrics Conference Dec 2016
 
Keep a Pulse: Turning Data into Relationship Insights and (Automated) Action ...
Keep a Pulse: Turning Data into Relationship Insights and (Automated) Action ...Keep a Pulse: Turning Data into Relationship Insights and (Automated) Action ...
Keep a Pulse: Turning Data into Relationship Insights and (Automated) Action ...
 
Keep a Pulse: Turning Data into Relationship Insights and (Automated) Action
Keep a Pulse: Turning Data into Relationship Insights and (Automated) ActionKeep a Pulse: Turning Data into Relationship Insights and (Automated) Action
Keep a Pulse: Turning Data into Relationship Insights and (Automated) Action
 
Using Social Media to Measure the Consumer Confidence: The Twitter Case in Spain
Using Social Media to Measure the Consumer Confidence: The Twitter Case in SpainUsing Social Media to Measure the Consumer Confidence: The Twitter Case in Spain
Using Social Media to Measure the Consumer Confidence: The Twitter Case in Spain
 
Big Data Analytics IEEE 2015 Projects
Big Data Analytics IEEE 2015 ProjectsBig Data Analytics IEEE 2015 Projects
Big Data Analytics IEEE 2015 Projects
 
DAS Slides: Self-Service Reporting and Data Prep – Benefits & Risks
DAS Slides: Self-Service Reporting and Data Prep – Benefits & RisksDAS Slides: Self-Service Reporting and Data Prep – Benefits & Risks
DAS Slides: Self-Service Reporting and Data Prep – Benefits & Risks
 
ChatGPT Evaluation for NLP
ChatGPT Evaluation for NLPChatGPT Evaluation for NLP
ChatGPT Evaluation for NLP
 
Big Data & Analytics (Conceptual and Practical Introduction)
Big Data & Analytics (Conceptual and Practical Introduction)Big Data & Analytics (Conceptual and Practical Introduction)
Big Data & Analytics (Conceptual and Practical Introduction)
 
Project Management Trends Checkup
Project Management Trends CheckupProject Management Trends Checkup
Project Management Trends Checkup
 
Predictive Analytics - Case Study & Trial Results
Predictive Analytics - Case Study & Trial ResultsPredictive Analytics - Case Study & Trial Results
Predictive Analytics - Case Study & Trial Results
 
Learn All about Data Science from the Best Private University in Karnataka
Learn All about Data Science from the Best Private University in KarnatakaLearn All about Data Science from the Best Private University in Karnataka
Learn All about Data Science from the Best Private University in Karnataka
 
Customer Research For Product Managers - Dawn of The Data Age Lecture Series
Customer Research For Product Managers - Dawn of The Data Age Lecture SeriesCustomer Research For Product Managers - Dawn of The Data Age Lecture Series
Customer Research For Product Managers - Dawn of The Data Age Lecture Series
 
IRJET- Review Analyser with Bot
IRJET- Review Analyser with BotIRJET- Review Analyser with Bot
IRJET- Review Analyser with Bot
 
Applying Statistical Modeling and Machine Learning to Perform Time-Series For...
Applying Statistical Modeling and Machine Learning to Perform Time-Series For...Applying Statistical Modeling and Machine Learning to Perform Time-Series For...
Applying Statistical Modeling and Machine Learning to Perform Time-Series For...
 
Modern Metadata Strategies
Modern Metadata StrategiesModern Metadata Strategies
Modern Metadata Strategies
 
Predicting the Brand Popularity from the Brand Metadata
Predicting the Brand Popularity from the Brand MetadataPredicting the Brand Popularity from the Brand Metadata
Predicting the Brand Popularity from the Brand Metadata
 

Recently uploaded

Investigate & Recover / StarCompliance.io / Crypto_Crimes
Investigate & Recover / StarCompliance.io / Crypto_CrimesInvestigate & Recover / StarCompliance.io / Crypto_Crimes
Investigate & Recover / StarCompliance.io / Crypto_Crimes
StarCompliance.io
 
Machine Learning For Career Growth..pptx
Machine Learning For Career Growth..pptxMachine Learning For Career Growth..pptx
Machine Learning For Career Growth..pptx
benishzehra469
 
Exploratory Data Analysis - Dilip S.pptx
Exploratory Data Analysis - Dilip S.pptxExploratory Data Analysis - Dilip S.pptx
Exploratory Data Analysis - Dilip S.pptx
DilipVasan
 

Recently uploaded (20)

Business update Q1 2024 Lar España Real Estate SOCIMI
Business update Q1 2024 Lar España Real Estate SOCIMIBusiness update Q1 2024 Lar España Real Estate SOCIMI
Business update Q1 2024 Lar España Real Estate SOCIMI
 
Jpolillo Amazon PPC - Bid Optimization Sample
Jpolillo Amazon PPC - Bid Optimization SampleJpolillo Amazon PPC - Bid Optimization Sample
Jpolillo Amazon PPC - Bid Optimization Sample
 
Using PDB Relocation to Move a Single PDB to Another Existing CDB
Using PDB Relocation to Move a Single PDB to Another Existing CDBUsing PDB Relocation to Move a Single PDB to Another Existing CDB
Using PDB Relocation to Move a Single PDB to Another Existing CDB
 
2024 Q2 Orange County (CA) Tableau User Group Meeting
2024 Q2 Orange County (CA) Tableau User Group Meeting2024 Q2 Orange County (CA) Tableau User Group Meeting
2024 Q2 Orange County (CA) Tableau User Group Meeting
 
Tabula.io Cheatsheet: automate your data workflows
Tabula.io Cheatsheet: automate your data workflowsTabula.io Cheatsheet: automate your data workflows
Tabula.io Cheatsheet: automate your data workflows
 
how can i exchange pi coins for others currency like Bitcoin
how can i exchange pi coins for others currency like Bitcoinhow can i exchange pi coins for others currency like Bitcoin
how can i exchange pi coins for others currency like Bitcoin
 
AI Imagen for data-storytelling Infographics.pdf
AI Imagen for data-storytelling Infographics.pdfAI Imagen for data-storytelling Infographics.pdf
AI Imagen for data-storytelling Infographics.pdf
 
Supply chain analytics to combat the effects of Ukraine-Russia-conflict
Supply chain analytics to combat the effects of Ukraine-Russia-conflictSupply chain analytics to combat the effects of Ukraine-Russia-conflict
Supply chain analytics to combat the effects of Ukraine-Russia-conflict
 
Innovative Methods in Media and Communication Research by Sebastian Kubitschk...
Innovative Methods in Media and Communication Research by Sebastian Kubitschk...Innovative Methods in Media and Communication Research by Sebastian Kubitschk...
Innovative Methods in Media and Communication Research by Sebastian Kubitschk...
 
Investigate & Recover / StarCompliance.io / Crypto_Crimes
Investigate & Recover / StarCompliance.io / Crypto_CrimesInvestigate & Recover / StarCompliance.io / Crypto_Crimes
Investigate & Recover / StarCompliance.io / Crypto_Crimes
 
Machine Learning For Career Growth..pptx
Machine Learning For Career Growth..pptxMachine Learning For Career Growth..pptx
Machine Learning For Career Growth..pptx
 
Artificial_General_Intelligence__storm_gen_article.pdf
Artificial_General_Intelligence__storm_gen_article.pdfArtificial_General_Intelligence__storm_gen_article.pdf
Artificial_General_Intelligence__storm_gen_article.pdf
 
Webinar One View, Multiple Systems No-Code Integration of Salesforce and ERPs
Webinar One View, Multiple Systems No-Code Integration of Salesforce and ERPsWebinar One View, Multiple Systems No-Code Integration of Salesforce and ERPs
Webinar One View, Multiple Systems No-Code Integration of Salesforce and ERPs
 
2024 Q1 Tableau User Group Leader Quarterly Call
2024 Q1 Tableau User Group Leader Quarterly Call2024 Q1 Tableau User Group Leader Quarterly Call
2024 Q1 Tableau User Group Leader Quarterly Call
 
Pre-ProductionImproveddsfjgndflghtgg.pptx
Pre-ProductionImproveddsfjgndflghtgg.pptxPre-ProductionImproveddsfjgndflghtgg.pptx
Pre-ProductionImproveddsfjgndflghtgg.pptx
 
2024-05-14 - Tableau User Group - TC24 Hot Topics - Tableau Pulse and Einstei...
2024-05-14 - Tableau User Group - TC24 Hot Topics - Tableau Pulse and Einstei...2024-05-14 - Tableau User Group - TC24 Hot Topics - Tableau Pulse and Einstei...
2024-05-14 - Tableau User Group - TC24 Hot Topics - Tableau Pulse and Einstei...
 
Slip-and-fall Injuries: Top Workers' Comp Claims
Slip-and-fall Injuries: Top Workers' Comp ClaimsSlip-and-fall Injuries: Top Workers' Comp Claims
Slip-and-fall Injuries: Top Workers' Comp Claims
 
Exploratory Data Analysis - Dilip S.pptx
Exploratory Data Analysis - Dilip S.pptxExploratory Data Analysis - Dilip S.pptx
Exploratory Data Analysis - Dilip S.pptx
 
basics of data science with application areas.pdf
basics of data science with application areas.pdfbasics of data science with application areas.pdf
basics of data science with application areas.pdf
 
How can I successfully sell my pi coins in Philippines?
How can I successfully sell my pi coins in Philippines?How can I successfully sell my pi coins in Philippines?
How can I successfully sell my pi coins in Philippines?
 

Comparison of Sentiment Analyses of Twitter Data and the Chicago Fed's CFBSC Outlook Metric