While at BAMM Global, as part of our social listening offering that I ran, I added to our existing work with Shell through web-scraping a forum to capture how discussion around oil and the environment had changed over time. This involved writing a Python script to scrape post threads, within different topic pages and across … Continue reading Social listening: Web scraping and text analysis
Social listening: Weekday resilience versus weekend relaxation (calendar heat map & plot.ly interactive visuals)
While at BAMM Global, my work involved leading the social listening component of their global trends project, focusing on cultural shifts during the pandemic. My role was to both scrape forums and use APIs to extract opinions on pandemic life. Below is a visualisation I made, showing the number of tweets in the UK that … Continue reading Social listening: Weekday resilience versus weekend relaxation (calendar heat map & plot.ly interactive visuals)
Social listening: Kindness fatigue in the pandemic (animated plots)
While at BAMM Global, my work involved leading the social listening component of their global trends project, focusing on cultural shifts during the pandemic. My role was to both scrape forums and use APIs to extract opinions on pandemic life. Below is a visualisation I made showing the 28-day rolling average of tweets in the … Continue reading Social listening: Kindness fatigue in the pandemic (animated plots)
Differences in the use of suicide attacks across terrorist groups: logistic regression and predicting future attack types
This extract is taken from a piece of work I wrote near the end of 2017. It begins following a discussion on the importance of the issue at hand and after I had extracted, cleaned and transformed the two datasets I combined for this analysis, and is split into two parts. The first part is … Continue reading Differences in the use of suicide attacks across terrorist groups: logistic regression and predicting future attack types
How do sex, education and income impact individual wellbeing? Cross-sectional and longitudinal analysis using Linear Regression and factor analysis
The following is an extract from work I completed in early 2018, taking a nationally representative, longitudinal survey and completing both a cross-sectional and longitudinal analysis on the impact of sex, education and income on individual wellbeing, using linear regression. This article starts after I articulated the importance of understanding the effect of these variables … Continue reading How do sex, education and income impact individual wellbeing? Cross-sectional and longitudinal analysis using Linear Regression and factor analysis
Voter Turnout and Rational Choice Theory: Data Visualisation (ggplot) and Statistical Tests (t-tests and proportion tests)
This piece is taken from some work completed in early 2018, focusing on evaluating the accuracy of rational choice theory in voter turnout. Prior to the start of this extract, a large database was cleaned, and relevant variables (identifying ‘marginal seats’ and ‘high population areas’) were created, with a dummy variable for evaluating whether turnout … Continue reading Voter Turnout and Rational Choice Theory: Data Visualisation (ggplot) and Statistical Tests (t-tests and proportion tests)
Analysing the NSW Project: Bivariate Analysis and Probability
The following is an extract from an analysis of the NSW Project, completed in early 2018. This extract starts after I cleaned the data and wrote a descriptive analysis. The following contains bivariate analysis and the use of probabilities to predict whether African Americans were more likely to be on the programme. Following the analysis … Continue reading Analysing the NSW Project: Bivariate Analysis and Probability
Oil, Democracy and Development: Cluster Analysis
This article is taken from a piece of work I completed in late 2016, predominantly analysing the link between GDP per capita and literacy. The second half of this work contains k-means cluster analysis, which adds the consideration of how oil rich nations are when analysing the link between GDP per capita and literacy. To … Continue reading Oil, Democracy and Development: Cluster Analysis
Exploring Counter-Attacks
One thing that consistently gets crowds up on their feet and hearts racing in football is the sight of a counter-attack breaking away up the pitch, the attacking side streaming forward with the now-defenders scrambling back, having perhaps over-exerted themselves in search of a goal, leaving themselves vulnerable. Or have they? Here, I explore, using … Continue reading Exploring Counter-Attacks
Making a simple xG model
Expected goals (xG) is a phenomenon making its way deeper and deeper into mainstream football, appearing now on numerous newspaper reports of matches, Match of the Day, and even Sky Sports’ Soccer Saturday. However, the specifics of xG remains hidden to many. While this article will not explain the reasons behind creating an xG model, … Continue reading Making a simple xG model

