SlideShare a Scribd company logo
1 of 16
Download to read offline
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) ActionKeep 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) 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

原件一样伦敦国王学院毕业证成绩单留信学历认证
原件一样伦敦国王学院毕业证成绩单留信学历认证原件一样伦敦国王学院毕业证成绩单留信学历认证
原件一样伦敦国王学院毕业证成绩单留信学历认证
pwgnohujw
 
一比一原版(ucla文凭证书)加州大学洛杉矶分校毕业证学历认证官方成绩单
一比一原版(ucla文凭证书)加州大学洛杉矶分校毕业证学历认证官方成绩单一比一原版(ucla文凭证书)加州大学洛杉矶分校毕业证学历认证官方成绩单
一比一原版(ucla文凭证书)加州大学洛杉矶分校毕业证学历认证官方成绩单
aqpto5bt
 
Jual Obat Aborsi Lhokseumawe ( Asli No.1 ) 088980685493 Obat Penggugur Kandun...
Jual Obat Aborsi Lhokseumawe ( Asli No.1 ) 088980685493 Obat Penggugur Kandun...Jual Obat Aborsi Lhokseumawe ( Asli No.1 ) 088980685493 Obat Penggugur Kandun...
Jual Obat Aborsi Lhokseumawe ( Asli No.1 ) 088980685493 Obat Penggugur Kandun...
Obat Aborsi 088980685493 Jual Obat Aborsi
 
Displacement, Velocity, Acceleration, and Second Derivatives
Displacement, Velocity, Acceleration, and Second DerivativesDisplacement, Velocity, Acceleration, and Second Derivatives
Displacement, Velocity, Acceleration, and Second Derivatives
23050636
 
原件一样(UWO毕业证书)西安大略大学毕业证成绩单留信学历认证
原件一样(UWO毕业证书)西安大略大学毕业证成绩单留信学历认证原件一样(UWO毕业证书)西安大略大学毕业证成绩单留信学历认证
原件一样(UWO毕业证书)西安大略大学毕业证成绩单留信学历认证
pwgnohujw
 
sourabh vyas1222222222222222222244444444
sourabh vyas1222222222222222222244444444sourabh vyas1222222222222222222244444444
sourabh vyas1222222222222222222244444444
saurabvyas476
 
Audience Researchndfhcvnfgvgbhujhgfv.pptx
Audience Researchndfhcvnfgvgbhujhgfv.pptxAudience Researchndfhcvnfgvgbhujhgfv.pptx
Audience Researchndfhcvnfgvgbhujhgfv.pptx
Stephen266013
 
Abortion pills in Riyadh Saudi Arabia (+966572737505 buy cytotec
Abortion pills in Riyadh Saudi Arabia (+966572737505 buy cytotecAbortion pills in Riyadh Saudi Arabia (+966572737505 buy cytotec
Abortion pills in Riyadh Saudi Arabia (+966572737505 buy cytotec
Abortion pills in Riyadh +966572737505 get cytotec
 
如何办理英国诺森比亚大学毕业证(NU毕业证书)成绩单原件一模一样
如何办理英国诺森比亚大学毕业证(NU毕业证书)成绩单原件一模一样如何办理英国诺森比亚大学毕业证(NU毕业证书)成绩单原件一模一样
如何办理英国诺森比亚大学毕业证(NU毕业证书)成绩单原件一模一样
wsppdmt
 
Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...
Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...
Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...
Klinik kandungan
 

Recently uploaded (20)

原件一样伦敦国王学院毕业证成绩单留信学历认证
原件一样伦敦国王学院毕业证成绩单留信学历认证原件一样伦敦国王学院毕业证成绩单留信学历认证
原件一样伦敦国王学院毕业证成绩单留信学历认证
 
一比一原版(ucla文凭证书)加州大学洛杉矶分校毕业证学历认证官方成绩单
一比一原版(ucla文凭证书)加州大学洛杉矶分校毕业证学历认证官方成绩单一比一原版(ucla文凭证书)加州大学洛杉矶分校毕业证学历认证官方成绩单
一比一原版(ucla文凭证书)加州大学洛杉矶分校毕业证学历认证官方成绩单
 
Bios of leading Astrologers & Researchers
Bios of leading Astrologers & ResearchersBios of leading Astrologers & Researchers
Bios of leading Astrologers & Researchers
 
Jual Obat Aborsi Lhokseumawe ( Asli No.1 ) 088980685493 Obat Penggugur Kandun...
Jual Obat Aborsi Lhokseumawe ( Asli No.1 ) 088980685493 Obat Penggugur Kandun...Jual Obat Aborsi Lhokseumawe ( Asli No.1 ) 088980685493 Obat Penggugur Kandun...
Jual Obat Aborsi Lhokseumawe ( Asli No.1 ) 088980685493 Obat Penggugur Kandun...
 
Displacement, Velocity, Acceleration, and Second Derivatives
Displacement, Velocity, Acceleration, and Second DerivativesDisplacement, Velocity, Acceleration, and Second Derivatives
Displacement, Velocity, Acceleration, and Second Derivatives
 
Northern New England Tableau User Group (TUG) May 2024
Northern New England Tableau User Group (TUG) May 2024Northern New England Tableau User Group (TUG) May 2024
Northern New England Tableau User Group (TUG) May 2024
 
Fuel Efficiency Forecast: Predictive Analytics for a Greener Automotive Future
Fuel Efficiency Forecast: Predictive Analytics for a Greener Automotive FutureFuel Efficiency Forecast: Predictive Analytics for a Greener Automotive Future
Fuel Efficiency Forecast: Predictive Analytics for a Greener Automotive Future
 
Jual Obat Aborsi Bandung (Asli No.1) Wa 082134680322 Klinik Obat Penggugur Ka...
Jual Obat Aborsi Bandung (Asli No.1) Wa 082134680322 Klinik Obat Penggugur Ka...Jual Obat Aborsi Bandung (Asli No.1) Wa 082134680322 Klinik Obat Penggugur Ka...
Jual Obat Aborsi Bandung (Asli No.1) Wa 082134680322 Klinik Obat Penggugur Ka...
 
SCI8-Q4-MOD11.pdfwrwujrrjfaajerjrajrrarj
SCI8-Q4-MOD11.pdfwrwujrrjfaajerjrajrrarjSCI8-Q4-MOD11.pdfwrwujrrjfaajerjrajrrarj
SCI8-Q4-MOD11.pdfwrwujrrjfaajerjrajrrarj
 
Credit Card Fraud Detection: Safeguarding Transactions in the Digital Age
Credit Card Fraud Detection: Safeguarding Transactions in the Digital AgeCredit Card Fraud Detection: Safeguarding Transactions in the Digital Age
Credit Card Fraud Detection: Safeguarding Transactions in the Digital Age
 
原件一样(UWO毕业证书)西安大略大学毕业证成绩单留信学历认证
原件一样(UWO毕业证书)西安大略大学毕业证成绩单留信学历认证原件一样(UWO毕业证书)西安大略大学毕业证成绩单留信学历认证
原件一样(UWO毕业证书)西安大略大学毕业证成绩单留信学历认证
 
Digital Transformation Playbook by Graham Ware
Digital Transformation Playbook by Graham WareDigital Transformation Playbook by Graham Ware
Digital Transformation Playbook by Graham Ware
 
sourabh vyas1222222222222222222244444444
sourabh vyas1222222222222222222244444444sourabh vyas1222222222222222222244444444
sourabh vyas1222222222222222222244444444
 
Audience Researchndfhcvnfgvgbhujhgfv.pptx
Audience Researchndfhcvnfgvgbhujhgfv.pptxAudience Researchndfhcvnfgvgbhujhgfv.pptx
Audience Researchndfhcvnfgvgbhujhgfv.pptx
 
SAC 25 Final National, Regional & Local Angel Group Investing Insights 2024 0...
SAC 25 Final National, Regional & Local Angel Group Investing Insights 2024 0...SAC 25 Final National, Regional & Local Angel Group Investing Insights 2024 0...
SAC 25 Final National, Regional & Local Angel Group Investing Insights 2024 0...
 
How to Transform Clinical Trial Management with Advanced Data Analytics
How to Transform Clinical Trial Management with Advanced Data AnalyticsHow to Transform Clinical Trial Management with Advanced Data Analytics
How to Transform Clinical Trial Management with Advanced Data Analytics
 
Case Study 4 Where the cry of rebellion happen?
Case Study 4 Where the cry of rebellion happen?Case Study 4 Where the cry of rebellion happen?
Case Study 4 Where the cry of rebellion happen?
 
Abortion pills in Riyadh Saudi Arabia (+966572737505 buy cytotec
Abortion pills in Riyadh Saudi Arabia (+966572737505 buy cytotecAbortion pills in Riyadh Saudi Arabia (+966572737505 buy cytotec
Abortion pills in Riyadh Saudi Arabia (+966572737505 buy cytotec
 
如何办理英国诺森比亚大学毕业证(NU毕业证书)成绩单原件一模一样
如何办理英国诺森比亚大学毕业证(NU毕业证书)成绩单原件一模一样如何办理英国诺森比亚大学毕业证(NU毕业证书)成绩单原件一模一样
如何办理英国诺森比亚大学毕业证(NU毕业证书)成绩单原件一模一样
 
Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...
Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...
Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...
 

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