SlideShare a Scribd company logo
1 of 26
Download to read offline
October
2019
How to use a Kalman Filter in Brand Tracking?
Jane Tang
Webinar, 4
October 2019
#NewMR Sponsors
Communication
Gold
Silver
October
2019
How to use a Kalman Filter in Brand Tracking?
Jane Tang
jane.tang@bootstrapanalytics.com
3
FLY ME TO THE MOON:
The Application Of Kalman Filter To Tracking Data
Jane Tang, Andrew Grenville & Karen Buros
SAMPLING IN THE RIVER TWITTER:
A DIY Tool for Social Media Tracking via the REST API
Jack Horne & Jane Tang
Advanced Research Techniques Forum 2016 & 2017
4
- “Smooth” trajectory
- Periodical observations
- Random measurement errors
- Simple and flexible tool to optimally separate the signal from the
noise in the data
5
Tracking movement of
a spacecraft going to the moon
https://ieeexplore.ieee.org/document/5466132
Apollo Space Program
Tracking perception of a brand in the
minds of consumers
Brand Tracking
How Kalman Filter Works
http://bilgin.esme.org/BitsBytes/KalmanFilterforDummies.aspx
http://www.cs.unc.edu/~tracker/media/pdf/SIGGRAPH2001_CoursePack_08.pdf
!𝑋# = 𝐾# & 𝑋# + 1 − 𝐾# & !𝑋#*+
estimation at time t
Kalman gain
measured value estimation at time (t – 1)
State/prior equation
,𝑥# = .𝑥#*+ + 𝑤# → 𝑝 𝑤 ~𝑁 0, 𝑄
Measurement/update equation
.𝑥# = 𝑥# + 𝑣# → 𝑝 𝑣 ~𝑁 0, 𝑅
6
Equations Simplify to a Random Walk
!𝑋# = 𝐾# & 𝑋# + 1 − 𝐾# & !𝑋#*+
estimation at time t
Kalman gain
measured value estimation at time (t – 1)
Time update
“prediction”
,𝑥# = .𝑥#*+
(1) Prior for subsequent state
(2) Prior error covariance
9𝑃# = 𝑃#*+ + 𝑄
external shock
Measurement update
“correction”
random walk
(1) Compute the Kalman gain
𝐾# = 9𝑃#
9𝑃# + 𝑅
*+
random measurement error
(2) Update estimate
.𝑥# = ,𝑥# + 𝐾# 𝑥# − ,𝑥#
(3) Update error covariance
𝑃# = 9𝑃# 1 − 𝐾#random walk
7
A Simple Example
𝑡 𝑥# ,𝑥#
9𝑃# Time update Measurement update .𝑥# 𝑃#
1 0.390 0.000 1.000 ,𝑥< = 0
9𝑃< = 1
𝐾# = 9𝑃#
9𝑃# + 𝑅
*+
=1 1 + 0.1 *+
= 0.909
.𝑥# = ,𝑥# + 𝐾# 𝑥# − ,𝑥#
= 0 + 0.909 0.390 − 0 = 0.355
𝑃# = 9𝑃# 1 − 𝐾#
=1 1 − 0.909 = 0.091
0.355 0.091
2 0.500 0.355 0.092 ,𝑥# = .𝑥#*+ = 0.355
9𝑃# = 𝑃#*+ + 𝑄 = 0.092
𝐾# = 0.092 0.092 + 0.1 *+
= 0.479
.𝑥# = 0.355 + 0.479 0.5 − 0.355 = 0.424
𝑃# = 0.092 1 − 0.479 = 0.048
0.424 0.048
3 0.480 0.424 0.049 0.443 0.033
4 0.290 0.443 0.034 0.404 0.025
𝑅 = 0.1 variance around observations (best guess) 𝑄 = 0.001 external shock variance
8
A Simple Example
Value(x)
Time (t)
9
Size of the Measurement Error (R)
Value(x)
Time (t)
10
Detecting Trend
Value(x)
Time (t)
11
12
† We have large, long-term (6+ years) tracking programs, carefully controlled wave-to-
wave, with trend lines like these. How clear is the story?
Continuing to gain ground?
Year 1.1Year 1.2Year 2.1 Year2.2 Year 3.1Year 3.2Year 4.1Year 4.2Year 5.1Year 5.2Year 6.1Year 6.2Year 7.1
Likelihood to Recommend
Competitor 1
Competitor 2
Competitor 3
Competitor 4
Competitor 5
Competitor 6
Yr 1A Yr 1B Yr 2A Yr 2B Yr 3A Yr 3B Yr 4A Yr 4B Yr 5A Yr 5B Yr 6A Yr 6B Yr 7A
Favorite
Competitor 1
Competitor 2
Competitor 3
Competitor 4
Competitor 5
Competitor 6
Stabilizing?
Losing steam?
The Truth: I Dread Tracking Data
13
First, let’s standardize the results to the
baseline measurement
Then we can apply the Kalman Filter
80
90
100
110
120
130
140
150
160
Year 1.1 Year 1.2 Year 2.1 Year2.2 Year 3.1 Year 3.2 Year 4.1 Year 4.2 Year 5.1 Year 5.2 Year 6.1 Year 6.2 Year 7.1
Kalman Estimate Likely to Recommend: Ratio to Baseline
Competitor 1
Competitor 2
Competitor 3
Competitor 4
Competitor 5
Competitor 6
80
90
100
110
120
130
140
150
160
Year 1.1 Year 1.2 Year 2.1 Year2.2 Year 3.1 Year 3.2 Year 4.1 Year 4.2 Year 5.1 Year 5.2 Year 6.1 Year 6.2 Year 7.1
Observed Likely to Recommend: Ratio to Baseline
Competitor 1
Competitor 2
Competitor 3
Competitor 4
Competitor 5
Competitor 6
What’s happening here?
Can the Kalman Filter Clarify the Story?
14
A More Detailed The Effect of the Filter?
† Kalman Filter for Competitors 2 and 3 – Softening the extremes
80
90
100
110
120
130
140
150
160
Year
1.1
Year
1.2
Year
2.1
Year2.2 Year
3.1
Year
3.2
Year
4.1
Year
4.2
Year
5.1
Year
5.2
Year
6.1
Year
6.2
Year
7.1
Likelihood to Recommend: Competitors 2 and 3
Observed 2
Estimated 2
Observed 3
Estimated 3
15
Taking a Look at Favorite Brand…
We standardize the results to the baseline
measurement
Then apply the Kalman Filter
40
60
80
100
120
140
160
180
Year 1.1 Year 1.2 Year 2.1 Year2.2 Year 3.1 Year 3.2 Year 4.1 Year 4.2 Year 5.1 Year 5.2 Year 6.1 Year 6.2 Year 7.1
Observed Favorite: Ratio to Baseline
Competitor 1
Competitor 2
Competitor 3
Competitor 4
Competitor 5
Competitor 6
40
60
80
100
120
140
160
180
Year 1.1 Year 1.2 Year 2.1 Year2.2 Year 3.1 Year 3.2 Year 4.1 Year 4.2 Year 5.1 Year 5.2 Year 6.1 Year 6.2 Year 7.1
Kalman Estimate Favorite: Ratio to Baseline
Competitor 1
Competitor 2
Competitor 3
Competitor 4
Competitor 5
Competitor 6
Competitor 4 Suffers
16
A More Detailed Look at Competitors 4 and 5
† Again, softening the extremes
40
60
80
100
120
140
160
180
Year
1.1
Year
1.2
Year
2.1
Year2.2
Year
3.1
Year
3.2
Year
4.1
Year
4.2
Year
5.1
Year
5.2
Year
6.1
Year
6.2
Year
7.1
Favorite: Competitors 4 and 5
Observed 4
Estimated 4
Observed 5
Estimated 5
KF provides a way to
simultaneously account
for ‘time’ (as an
alternative to ‘three
month rolling average’)
and measurement error.
17
Can We Apply This Approach to Social Media Data?
† Social positive sentiment over the tracking
period
† Application of the Kalman Filter smooths the
trend lines a bit. Greater variation across time is
likely due to changing social media audience
creating the ‘sentiment’ values.
0.40
0.45
0.50
0.55
0.60
0.65
0.70
Year 1.1Year 1.2Year 2.1 Year2.2 Year 3.1Year 3.2Year 4.1Year 4.2Year 5.1Year 5.2Year 6.1Year 6.2Year 7.1
Social Media: Positive Sentiment
Competitor 1
Competitor 2
Competitor 3
Competitor 4
Competitor 5
Competitor 6
0.40
0.45
0.50
0.55
0.60
0.65
0.70
Year
1.1
Year
1.2
Year
2.1
Year2.2 Year
3.1
Year
3.2
Year
4.1
Year
4.2
Year
5.1
Year
5.2
Year
6.1
Year
6.2
Year
7.1
Kalman Estimate: Positive Sentiment
Competitor 1
Competitor 2
Competitor 3
Competitor 4
Competitor 5
Competitor 6
18
Running Average vs. Kalman Filter
Royal Bank, Olympic Sponsorship Awareness, Jan-Jun 2008 (pre), Jan-Jun 2010 (during), and Jan-Jun 2011 (post)
Incorporating Known System Instability
𝑡 𝑥# ,𝑥#
9𝑃# .𝑥# 𝑃#
1 0.390 0.000 1.000 0.355 0.091
𝑅 = 0.1 variance around observations (best guess) 𝑄 = 𝑣𝑎𝑟𝑖𝑎𝑏𝑙𝑒
𝑞#
0.001
2 0.500 0.355 0.092 0.424 0.0480.001
3 0.480 0.424 0.049 0.443 0.0330.001
4 0.290 0.443 0.034 0.404 0.0250.001
5 0.250 0.404 0.026 0.356 0.0310.020
6 0.320 0.356 0.031 0.340 0.0450.050
7 0.340 0.340 0.045 0.340 0.0590.100
8 0.480 0.340 0.059 0.397 0.0410.010
9 0.410 0.397 0.041 0.401 0.0300.001
9𝑃# = 𝑃#*+ + 𝑄
external shock
𝐾# = 9𝑃#
9𝑃# + 𝑅
*+
random measurement error
𝐾#
0.909
0.479
0.328
0.253
0.312
0.448
0.592
0.409
0.295
𝑃# = 9𝑃# 1 − 𝐾#
19
Incorporating Known System Instability
0.000
0.100
0.200
0.300
0.400
0.500
0.600
1 2 3 4 5 6 7 8 9 10
Observed Estimated with System Shock
Value(x)
Time (t)
Q
20
K
20K
40K
60K
19 26 2 9 16 23 2 9 16 23 30 6 13 20 27 4 11 18 25 1
NumberofTweetsmentioning“trump”
0
January 2017 February March April May
Incorporating Twitter Brand Mention in Brand Tracking
Twitter Brand mention is used as an indicator of
system instability.
“Buzz” brand equity volatility∝
9𝑃# = 𝑃#*+ + 𝑄
June
21
Tracking the “Trump” Brand
January 2017 February March April May
Trumpapprovalrating(SBA)
Total US Sample
June
38%
40%
42%
44%
46%
48%
50%
25 27 30 3 6 10 15 17 27 1 10 13 15 17 22 27 29 5 7 12 19 21 24 26 28 5 8 17 24 2 7
Raw KF - Constant KF w Twitter Updates
22
“Trump” Brand Tracking in Subpopulation
Trumpapprovalrating(SBA)
Midwest Female
January 2017 February March April May June
20%
30%
40%
50%
60%
25 27 30 3 6 10 15 17 27 1 10 13 15 17 22 27 29 5 7 12 19 21 24 26 28 5 8 17 24 2 7
Raw KF - Constant KF w Twitter Updates
23
THANK YOU!
jane.tang@bootstrapanalytics.com
24
25
Q & A
Ray Poynter
Chief Research Officer
Potentiate
Jane Tang
Principal
Bootstrap Analytics
#NewMR Sponsors
Communication
Gold
Silver
October
2019

More Related Content

Similar to How to use a Kalman Filter in Brand Tracking?

AP Statistics - Confidence Intervals with Means - One Sample
AP Statistics - Confidence Intervals with Means - One SampleAP Statistics - Confidence Intervals with Means - One Sample
AP Statistics - Confidence Intervals with Means - One SampleFrances Coronel
 
NORTHERN ILLINOIS UNIVERSITY PHYSICS DEPARTMENT .docx
NORTHERN ILLINOIS UNIVERSITY PHYSICS DEPARTMENT .docxNORTHERN ILLINOIS UNIVERSITY PHYSICS DEPARTMENT .docx
NORTHERN ILLINOIS UNIVERSITY PHYSICS DEPARTMENT .docxcurwenmichaela
 
Preventive Maintenance-Presentation.pdf
Preventive Maintenance-Presentation.pdfPreventive Maintenance-Presentation.pdf
Preventive Maintenance-Presentation.pdfVibeshRaja
 
Preventive Maintenance-Presentation.pdf
Preventive Maintenance-Presentation.pdfPreventive Maintenance-Presentation.pdf
Preventive Maintenance-Presentation.pdfVibeshRaja
 
Astm E74-13a explained
Astm E74-13a explained Astm E74-13a explained
Astm E74-13a explained Henry Zumbrun
 
H2O World - PAAS: Predictive Analytics offered as a Service - Prateem Mandal
H2O World - PAAS: Predictive Analytics offered as a Service - Prateem MandalH2O World - PAAS: Predictive Analytics offered as a Service - Prateem Mandal
H2O World - PAAS: Predictive Analytics offered as a Service - Prateem MandalSri Ambati
 
Box Plots vs Data Plots
Box Plots vs Data PlotsBox Plots vs Data Plots
Box Plots vs Data PlotsJuran Global
 
Regression and Classification with R
Regression and Classification with RRegression and Classification with R
Regression and Classification with RYanchang Zhao
 
R. De Santis, M. Fioramanti, A. Girardi, C. Pappalardo - The track record of...
R. De Santis, M. Fioramanti, A. Girardi,  C. Pappalardo - The track record of...R. De Santis, M. Fioramanti, A. Girardi,  C. Pappalardo - The track record of...
R. De Santis, M. Fioramanti, A. Girardi, C. Pappalardo - The track record of...Istituto nazionale di statistica
 
Avoiding Black Boxes with Data Science part I & II - Marko Vasiljevski
 Avoiding Black Boxes with Data Science part I & II - Marko Vasiljevski Avoiding Black Boxes with Data Science part I & II - Marko Vasiljevski
Avoiding Black Boxes with Data Science part I & II - Marko VasiljevskiInstitute of Contemporary Sciences
 
Thesis-presentation: Tuenti Engineering
Thesis-presentation: Tuenti EngineeringThesis-presentation: Tuenti Engineering
Thesis-presentation: Tuenti EngineeringMarcus Ljungblad
 
Assessing the consistency, quality, and completeness of the Reviewed Event Bu...
Assessing the consistency, quality, and completeness of the Reviewed Event Bu...Assessing the consistency, quality, and completeness of the Reviewed Event Bu...
Assessing the consistency, quality, and completeness of the Reviewed Event Bu...Ivan Kitov
 
Win-Win Search: Dual-Agent Stochastic Game in Session Search (SIGIR 2014)
Win-Win Search: Dual-Agent Stochastic Game in Session Search (SIGIR 2014)Win-Win Search: Dual-Agent Stochastic Game in Session Search (SIGIR 2014)
Win-Win Search: Dual-Agent Stochastic Game in Session Search (SIGIR 2014)Grace Yang
 

Similar to How to use a Kalman Filter in Brand Tracking? (20)

Get data
Get dataGet data
Get data
 
AP Statistics - Confidence Intervals with Means - One Sample
AP Statistics - Confidence Intervals with Means - One SampleAP Statistics - Confidence Intervals with Means - One Sample
AP Statistics - Confidence Intervals with Means - One Sample
 
Test Automation Day 2018
Test Automation Day 2018Test Automation Day 2018
Test Automation Day 2018
 
NORTHERN ILLINOIS UNIVERSITY PHYSICS DEPARTMENT .docx
NORTHERN ILLINOIS UNIVERSITY PHYSICS DEPARTMENT .docxNORTHERN ILLINOIS UNIVERSITY PHYSICS DEPARTMENT .docx
NORTHERN ILLINOIS UNIVERSITY PHYSICS DEPARTMENT .docx
 
Preventive Maintenance-Presentation.pdf
Preventive Maintenance-Presentation.pdfPreventive Maintenance-Presentation.pdf
Preventive Maintenance-Presentation.pdf
 
Preventive Maintenance-Presentation.pdf
Preventive Maintenance-Presentation.pdfPreventive Maintenance-Presentation.pdf
Preventive Maintenance-Presentation.pdf
 
Normal distri
Normal distriNormal distri
Normal distri
 
Astm E74-13a explained
Astm E74-13a explained Astm E74-13a explained
Astm E74-13a explained
 
H2O World - PAAS: Predictive Analytics offered as a Service - Prateem Mandal
H2O World - PAAS: Predictive Analytics offered as a Service - Prateem MandalH2O World - PAAS: Predictive Analytics offered as a Service - Prateem Mandal
H2O World - PAAS: Predictive Analytics offered as a Service - Prateem Mandal
 
Box Plots vs Data Plots
Box Plots vs Data PlotsBox Plots vs Data Plots
Box Plots vs Data Plots
 
Regression and Classification with R
Regression and Classification with RRegression and Classification with R
Regression and Classification with R
 
Modul 9
Modul 9Modul 9
Modul 9
 
XVA
XVAXVA
XVA
 
R. De Santis, M. Fioramanti, A. Girardi, C. Pappalardo - The track record of...
R. De Santis, M. Fioramanti, A. Girardi,  C. Pappalardo - The track record of...R. De Santis, M. Fioramanti, A. Girardi,  C. Pappalardo - The track record of...
R. De Santis, M. Fioramanti, A. Girardi, C. Pappalardo - The track record of...
 
Avoiding Black Boxes with Data Science part I & II - Marko Vasiljevski
 Avoiding Black Boxes with Data Science part I & II - Marko Vasiljevski Avoiding Black Boxes with Data Science part I & II - Marko Vasiljevski
Avoiding Black Boxes with Data Science part I & II - Marko Vasiljevski
 
Thesis-presentation: Tuenti Engineering
Thesis-presentation: Tuenti EngineeringThesis-presentation: Tuenti Engineering
Thesis-presentation: Tuenti Engineering
 
Assignment model problems
Assignment model problemsAssignment model problems
Assignment model problems
 
financial econometric
financial econometricfinancial econometric
financial econometric
 
Assessing the consistency, quality, and completeness of the Reviewed Event Bu...
Assessing the consistency, quality, and completeness of the Reviewed Event Bu...Assessing the consistency, quality, and completeness of the Reviewed Event Bu...
Assessing the consistency, quality, and completeness of the Reviewed Event Bu...
 
Win-Win Search: Dual-Agent Stochastic Game in Session Search (SIGIR 2014)
Win-Win Search: Dual-Agent Stochastic Game in Session Search (SIGIR 2014)Win-Win Search: Dual-Agent Stochastic Game in Session Search (SIGIR 2014)
Win-Win Search: Dual-Agent Stochastic Game in Session Search (SIGIR 2014)
 

More from Ray Poynter

The State of AI in Insights and Research 2024: Results and Findings
The State of AI in Insights and Research 2024: Results and FindingsThe State of AI in Insights and Research 2024: Results and Findings
The State of AI in Insights and Research 2024: Results and FindingsRay Poynter
 
ResearchWiseAI - an artificial intelligence driven research data analysis tool
ResearchWiseAI - an artificial intelligence driven research data analysis toolResearchWiseAI - an artificial intelligence driven research data analysis tool
ResearchWiseAI - an artificial intelligence driven research data analysis toolRay Poynter
 
AI-powered interviewing: Best practices from Yasna
AI-powered interviewing: Best practices from YasnaAI-powered interviewing: Best practices from Yasna
AI-powered interviewing: Best practices from YasnaRay Poynter
 
Artificial Intelligence and Qual: The Story So Far
Artificial Intelligence and Qual: The Story So FarArtificial Intelligence and Qual: The Story So Far
Artificial Intelligence and Qual: The Story So FarRay Poynter
 
State of Research Insights in Q1, 2024 from NewMR
State of Research Insights in Q1, 2024 from NewMRState of Research Insights in Q1, 2024 from NewMR
State of Research Insights in Q1, 2024 from NewMRRay Poynter
 
Sudden Death of Beliefs
Sudden Death of BeliefsSudden Death of Beliefs
Sudden Death of BeliefsRay Poynter
 
Uncovering Consumers’ Hidden Narratives
Uncovering Consumers’ Hidden NarrativesUncovering Consumers’ Hidden Narratives
Uncovering Consumers’ Hidden NarrativesRay Poynter
 
Narrative Exploration of New Categories at Mondelēz
Narrative Exploration of New Categories at MondelēzNarrative Exploration of New Categories at Mondelēz
Narrative Exploration of New Categories at MondelēzRay Poynter
 
The Future in Focus
The Future in FocusThe Future in Focus
The Future in FocusRay Poynter
 
The Future in Focus
The Future in FocusThe Future in Focus
The Future in FocusRay Poynter
 
The State of Insights – September 2023
The State of Insights – September 2023The State of Insights – September 2023
The State of Insights – September 2023Ray Poynter
 
Research Thinking in the age of AI
Research Thinking in the age of AIResearch Thinking in the age of AI
Research Thinking in the age of AIRay Poynter
 
How might AI impact Research and Insights over the next two years?
How might AI impact Research and Insights over the next two years?How might AI impact Research and Insights over the next two years?
How might AI impact Research and Insights over the next two years?Ray Poynter
 
From Words to Wisdom: Unleashing the Potential of Language Models for Human-C...
From Words to Wisdom: Unleashing the Potential of Language Models for Human-C...From Words to Wisdom: Unleashing the Potential of Language Models for Human-C...
From Words to Wisdom: Unleashing the Potential of Language Models for Human-C...Ray Poynter
 
ChatGPT for Social Media Listening: practical application with YouScan’s Insi...
ChatGPT for Social Media Listening: practical application with YouScan’s Insi...ChatGPT for Social Media Listening: practical application with YouScan’s Insi...
ChatGPT for Social Media Listening: practical application with YouScan’s Insi...Ray Poynter
 
Using Generative AI to Assess the Quality of Open-Ended Responses in Surveys
Using Generative AI to Assess the Quality of Open-Ended Responses in SurveysUsing Generative AI to Assess the Quality of Open-Ended Responses in Surveys
Using Generative AI to Assess the Quality of Open-Ended Responses in SurveysRay Poynter
 
Exploring the future of verbatim coding with ChatGPT
Exploring the future of verbatim coding with ChatGPTExploring the future of verbatim coding with ChatGPT
Exploring the future of verbatim coding with ChatGPTRay Poynter
 
Using Generative AI to bring Qualitative Capabilities to Quantitative Surveys
Using Generative AI to bring Qualitative Capabilities to Quantitative SurveysUsing Generative AI to bring Qualitative Capabilities to Quantitative Surveys
Using Generative AI to bring Qualitative Capabilities to Quantitative SurveysRay Poynter
 
How AI / ChatGPT Drives Business Growth
How AI / ChatGPT Drives Business GrowthHow AI / ChatGPT Drives Business Growth
How AI / ChatGPT Drives Business GrowthRay Poynter
 
Tech for tech’s sake? Learnings from experiments with AI in consumer research
Tech for tech’s sake? Learnings from experiments with AI in consumer researchTech for tech’s sake? Learnings from experiments with AI in consumer research
Tech for tech’s sake? Learnings from experiments with AI in consumer researchRay Poynter
 

More from Ray Poynter (20)

The State of AI in Insights and Research 2024: Results and Findings
The State of AI in Insights and Research 2024: Results and FindingsThe State of AI in Insights and Research 2024: Results and Findings
The State of AI in Insights and Research 2024: Results and Findings
 
ResearchWiseAI - an artificial intelligence driven research data analysis tool
ResearchWiseAI - an artificial intelligence driven research data analysis toolResearchWiseAI - an artificial intelligence driven research data analysis tool
ResearchWiseAI - an artificial intelligence driven research data analysis tool
 
AI-powered interviewing: Best practices from Yasna
AI-powered interviewing: Best practices from YasnaAI-powered interviewing: Best practices from Yasna
AI-powered interviewing: Best practices from Yasna
 
Artificial Intelligence and Qual: The Story So Far
Artificial Intelligence and Qual: The Story So FarArtificial Intelligence and Qual: The Story So Far
Artificial Intelligence and Qual: The Story So Far
 
State of Research Insights in Q1, 2024 from NewMR
State of Research Insights in Q1, 2024 from NewMRState of Research Insights in Q1, 2024 from NewMR
State of Research Insights in Q1, 2024 from NewMR
 
Sudden Death of Beliefs
Sudden Death of BeliefsSudden Death of Beliefs
Sudden Death of Beliefs
 
Uncovering Consumers’ Hidden Narratives
Uncovering Consumers’ Hidden NarrativesUncovering Consumers’ Hidden Narratives
Uncovering Consumers’ Hidden Narratives
 
Narrative Exploration of New Categories at Mondelēz
Narrative Exploration of New Categories at MondelēzNarrative Exploration of New Categories at Mondelēz
Narrative Exploration of New Categories at Mondelēz
 
The Future in Focus
The Future in FocusThe Future in Focus
The Future in Focus
 
The Future in Focus
The Future in FocusThe Future in Focus
The Future in Focus
 
The State of Insights – September 2023
The State of Insights – September 2023The State of Insights – September 2023
The State of Insights – September 2023
 
Research Thinking in the age of AI
Research Thinking in the age of AIResearch Thinking in the age of AI
Research Thinking in the age of AI
 
How might AI impact Research and Insights over the next two years?
How might AI impact Research and Insights over the next two years?How might AI impact Research and Insights over the next two years?
How might AI impact Research and Insights over the next two years?
 
From Words to Wisdom: Unleashing the Potential of Language Models for Human-C...
From Words to Wisdom: Unleashing the Potential of Language Models for Human-C...From Words to Wisdom: Unleashing the Potential of Language Models for Human-C...
From Words to Wisdom: Unleashing the Potential of Language Models for Human-C...
 
ChatGPT for Social Media Listening: practical application with YouScan’s Insi...
ChatGPT for Social Media Listening: practical application with YouScan’s Insi...ChatGPT for Social Media Listening: practical application with YouScan’s Insi...
ChatGPT for Social Media Listening: practical application with YouScan’s Insi...
 
Using Generative AI to Assess the Quality of Open-Ended Responses in Surveys
Using Generative AI to Assess the Quality of Open-Ended Responses in SurveysUsing Generative AI to Assess the Quality of Open-Ended Responses in Surveys
Using Generative AI to Assess the Quality of Open-Ended Responses in Surveys
 
Exploring the future of verbatim coding with ChatGPT
Exploring the future of verbatim coding with ChatGPTExploring the future of verbatim coding with ChatGPT
Exploring the future of verbatim coding with ChatGPT
 
Using Generative AI to bring Qualitative Capabilities to Quantitative Surveys
Using Generative AI to bring Qualitative Capabilities to Quantitative SurveysUsing Generative AI to bring Qualitative Capabilities to Quantitative Surveys
Using Generative AI to bring Qualitative Capabilities to Quantitative Surveys
 
How AI / ChatGPT Drives Business Growth
How AI / ChatGPT Drives Business GrowthHow AI / ChatGPT Drives Business Growth
How AI / ChatGPT Drives Business Growth
 
Tech for tech’s sake? Learnings from experiments with AI in consumer research
Tech for tech’s sake? Learnings from experiments with AI in consumer researchTech for tech’s sake? Learnings from experiments with AI in consumer research
Tech for tech’s sake? Learnings from experiments with AI in consumer research
 

Recently uploaded

Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxVishalSingh1417
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxVishalSingh1417
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.MateoGardella
 
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...KokoStevan
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfChris Hunter
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfSanaAli374401
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Shubhangi Sonawane
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingTeacherCyreneCayanan
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxnegromaestrong
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 

Recently uploaded (20)

Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.
 
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdf
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 

How to use a Kalman Filter in Brand Tracking?

  • 1. October 2019 How to use a Kalman Filter in Brand Tracking? Jane Tang Webinar, 4 October 2019
  • 3. How to use a Kalman Filter in Brand Tracking? Jane Tang jane.tang@bootstrapanalytics.com 3
  • 4. FLY ME TO THE MOON: The Application Of Kalman Filter To Tracking Data Jane Tang, Andrew Grenville & Karen Buros SAMPLING IN THE RIVER TWITTER: A DIY Tool for Social Media Tracking via the REST API Jack Horne & Jane Tang Advanced Research Techniques Forum 2016 & 2017 4
  • 5. - “Smooth” trajectory - Periodical observations - Random measurement errors - Simple and flexible tool to optimally separate the signal from the noise in the data 5 Tracking movement of a spacecraft going to the moon https://ieeexplore.ieee.org/document/5466132 Apollo Space Program Tracking perception of a brand in the minds of consumers Brand Tracking
  • 6. How Kalman Filter Works http://bilgin.esme.org/BitsBytes/KalmanFilterforDummies.aspx http://www.cs.unc.edu/~tracker/media/pdf/SIGGRAPH2001_CoursePack_08.pdf !𝑋# = 𝐾# & 𝑋# + 1 − 𝐾# & !𝑋#*+ estimation at time t Kalman gain measured value estimation at time (t – 1) State/prior equation ,𝑥# = .𝑥#*+ + 𝑤# → 𝑝 𝑤 ~𝑁 0, 𝑄 Measurement/update equation .𝑥# = 𝑥# + 𝑣# → 𝑝 𝑣 ~𝑁 0, 𝑅 6
  • 7. Equations Simplify to a Random Walk !𝑋# = 𝐾# & 𝑋# + 1 − 𝐾# & !𝑋#*+ estimation at time t Kalman gain measured value estimation at time (t – 1) Time update “prediction” ,𝑥# = .𝑥#*+ (1) Prior for subsequent state (2) Prior error covariance 9𝑃# = 𝑃#*+ + 𝑄 external shock Measurement update “correction” random walk (1) Compute the Kalman gain 𝐾# = 9𝑃# 9𝑃# + 𝑅 *+ random measurement error (2) Update estimate .𝑥# = ,𝑥# + 𝐾# 𝑥# − ,𝑥# (3) Update error covariance 𝑃# = 9𝑃# 1 − 𝐾#random walk 7
  • 8. A Simple Example 𝑡 𝑥# ,𝑥# 9𝑃# Time update Measurement update .𝑥# 𝑃# 1 0.390 0.000 1.000 ,𝑥< = 0 9𝑃< = 1 𝐾# = 9𝑃# 9𝑃# + 𝑅 *+ =1 1 + 0.1 *+ = 0.909 .𝑥# = ,𝑥# + 𝐾# 𝑥# − ,𝑥# = 0 + 0.909 0.390 − 0 = 0.355 𝑃# = 9𝑃# 1 − 𝐾# =1 1 − 0.909 = 0.091 0.355 0.091 2 0.500 0.355 0.092 ,𝑥# = .𝑥#*+ = 0.355 9𝑃# = 𝑃#*+ + 𝑄 = 0.092 𝐾# = 0.092 0.092 + 0.1 *+ = 0.479 .𝑥# = 0.355 + 0.479 0.5 − 0.355 = 0.424 𝑃# = 0.092 1 − 0.479 = 0.048 0.424 0.048 3 0.480 0.424 0.049 0.443 0.033 4 0.290 0.443 0.034 0.404 0.025 𝑅 = 0.1 variance around observations (best guess) 𝑄 = 0.001 external shock variance 8
  • 10. Size of the Measurement Error (R) Value(x) Time (t) 10
  • 12. 12 † We have large, long-term (6+ years) tracking programs, carefully controlled wave-to- wave, with trend lines like these. How clear is the story? Continuing to gain ground? Year 1.1Year 1.2Year 2.1 Year2.2 Year 3.1Year 3.2Year 4.1Year 4.2Year 5.1Year 5.2Year 6.1Year 6.2Year 7.1 Likelihood to Recommend Competitor 1 Competitor 2 Competitor 3 Competitor 4 Competitor 5 Competitor 6 Yr 1A Yr 1B Yr 2A Yr 2B Yr 3A Yr 3B Yr 4A Yr 4B Yr 5A Yr 5B Yr 6A Yr 6B Yr 7A Favorite Competitor 1 Competitor 2 Competitor 3 Competitor 4 Competitor 5 Competitor 6 Stabilizing? Losing steam? The Truth: I Dread Tracking Data
  • 13. 13 First, let’s standardize the results to the baseline measurement Then we can apply the Kalman Filter 80 90 100 110 120 130 140 150 160 Year 1.1 Year 1.2 Year 2.1 Year2.2 Year 3.1 Year 3.2 Year 4.1 Year 4.2 Year 5.1 Year 5.2 Year 6.1 Year 6.2 Year 7.1 Kalman Estimate Likely to Recommend: Ratio to Baseline Competitor 1 Competitor 2 Competitor 3 Competitor 4 Competitor 5 Competitor 6 80 90 100 110 120 130 140 150 160 Year 1.1 Year 1.2 Year 2.1 Year2.2 Year 3.1 Year 3.2 Year 4.1 Year 4.2 Year 5.1 Year 5.2 Year 6.1 Year 6.2 Year 7.1 Observed Likely to Recommend: Ratio to Baseline Competitor 1 Competitor 2 Competitor 3 Competitor 4 Competitor 5 Competitor 6 What’s happening here? Can the Kalman Filter Clarify the Story?
  • 14. 14 A More Detailed The Effect of the Filter? † Kalman Filter for Competitors 2 and 3 – Softening the extremes 80 90 100 110 120 130 140 150 160 Year 1.1 Year 1.2 Year 2.1 Year2.2 Year 3.1 Year 3.2 Year 4.1 Year 4.2 Year 5.1 Year 5.2 Year 6.1 Year 6.2 Year 7.1 Likelihood to Recommend: Competitors 2 and 3 Observed 2 Estimated 2 Observed 3 Estimated 3
  • 15. 15 Taking a Look at Favorite Brand… We standardize the results to the baseline measurement Then apply the Kalman Filter 40 60 80 100 120 140 160 180 Year 1.1 Year 1.2 Year 2.1 Year2.2 Year 3.1 Year 3.2 Year 4.1 Year 4.2 Year 5.1 Year 5.2 Year 6.1 Year 6.2 Year 7.1 Observed Favorite: Ratio to Baseline Competitor 1 Competitor 2 Competitor 3 Competitor 4 Competitor 5 Competitor 6 40 60 80 100 120 140 160 180 Year 1.1 Year 1.2 Year 2.1 Year2.2 Year 3.1 Year 3.2 Year 4.1 Year 4.2 Year 5.1 Year 5.2 Year 6.1 Year 6.2 Year 7.1 Kalman Estimate Favorite: Ratio to Baseline Competitor 1 Competitor 2 Competitor 3 Competitor 4 Competitor 5 Competitor 6 Competitor 4 Suffers
  • 16. 16 A More Detailed Look at Competitors 4 and 5 † Again, softening the extremes 40 60 80 100 120 140 160 180 Year 1.1 Year 1.2 Year 2.1 Year2.2 Year 3.1 Year 3.2 Year 4.1 Year 4.2 Year 5.1 Year 5.2 Year 6.1 Year 6.2 Year 7.1 Favorite: Competitors 4 and 5 Observed 4 Estimated 4 Observed 5 Estimated 5 KF provides a way to simultaneously account for ‘time’ (as an alternative to ‘three month rolling average’) and measurement error.
  • 17. 17 Can We Apply This Approach to Social Media Data? † Social positive sentiment over the tracking period † Application of the Kalman Filter smooths the trend lines a bit. Greater variation across time is likely due to changing social media audience creating the ‘sentiment’ values. 0.40 0.45 0.50 0.55 0.60 0.65 0.70 Year 1.1Year 1.2Year 2.1 Year2.2 Year 3.1Year 3.2Year 4.1Year 4.2Year 5.1Year 5.2Year 6.1Year 6.2Year 7.1 Social Media: Positive Sentiment Competitor 1 Competitor 2 Competitor 3 Competitor 4 Competitor 5 Competitor 6 0.40 0.45 0.50 0.55 0.60 0.65 0.70 Year 1.1 Year 1.2 Year 2.1 Year2.2 Year 3.1 Year 3.2 Year 4.1 Year 4.2 Year 5.1 Year 5.2 Year 6.1 Year 6.2 Year 7.1 Kalman Estimate: Positive Sentiment Competitor 1 Competitor 2 Competitor 3 Competitor 4 Competitor 5 Competitor 6
  • 18. 18 Running Average vs. Kalman Filter Royal Bank, Olympic Sponsorship Awareness, Jan-Jun 2008 (pre), Jan-Jun 2010 (during), and Jan-Jun 2011 (post)
  • 19. Incorporating Known System Instability 𝑡 𝑥# ,𝑥# 9𝑃# .𝑥# 𝑃# 1 0.390 0.000 1.000 0.355 0.091 𝑅 = 0.1 variance around observations (best guess) 𝑄 = 𝑣𝑎𝑟𝑖𝑎𝑏𝑙𝑒 𝑞# 0.001 2 0.500 0.355 0.092 0.424 0.0480.001 3 0.480 0.424 0.049 0.443 0.0330.001 4 0.290 0.443 0.034 0.404 0.0250.001 5 0.250 0.404 0.026 0.356 0.0310.020 6 0.320 0.356 0.031 0.340 0.0450.050 7 0.340 0.340 0.045 0.340 0.0590.100 8 0.480 0.340 0.059 0.397 0.0410.010 9 0.410 0.397 0.041 0.401 0.0300.001 9𝑃# = 𝑃#*+ + 𝑄 external shock 𝐾# = 9𝑃# 9𝑃# + 𝑅 *+ random measurement error 𝐾# 0.909 0.479 0.328 0.253 0.312 0.448 0.592 0.409 0.295 𝑃# = 9𝑃# 1 − 𝐾# 19
  • 20. Incorporating Known System Instability 0.000 0.100 0.200 0.300 0.400 0.500 0.600 1 2 3 4 5 6 7 8 9 10 Observed Estimated with System Shock Value(x) Time (t) Q 20
  • 21. K 20K 40K 60K 19 26 2 9 16 23 2 9 16 23 30 6 13 20 27 4 11 18 25 1 NumberofTweetsmentioning“trump” 0 January 2017 February March April May Incorporating Twitter Brand Mention in Brand Tracking Twitter Brand mention is used as an indicator of system instability. “Buzz” brand equity volatility∝ 9𝑃# = 𝑃#*+ + 𝑄 June 21
  • 22. Tracking the “Trump” Brand January 2017 February March April May Trumpapprovalrating(SBA) Total US Sample June 38% 40% 42% 44% 46% 48% 50% 25 27 30 3 6 10 15 17 27 1 10 13 15 17 22 27 29 5 7 12 19 21 24 26 28 5 8 17 24 2 7 Raw KF - Constant KF w Twitter Updates 22
  • 23. “Trump” Brand Tracking in Subpopulation Trumpapprovalrating(SBA) Midwest Female January 2017 February March April May June 20% 30% 40% 50% 60% 25 27 30 3 6 10 15 17 27 1 10 13 15 17 22 27 29 5 7 12 19 21 24 26 28 5 8 17 24 2 7 Raw KF - Constant KF w Twitter Updates 23
  • 25. 25 Q & A Ray Poynter Chief Research Officer Potentiate Jane Tang Principal Bootstrap Analytics