Introduction

BASC0005 Quantitative Methods 2: Data Science and Visualisation

Ollie Ballinger

Welcome to Quantitative Methods II

  • In this course, we’re going to learn how to use data to make sense of the world.
  • Your teaching team is as follows:
    • Me!
    • Matthias Loidolt (PGTA)
    • Dhimas Bayu Anindito (PGTA)

Outline

  1. About Me
  2. Why Study Data Science?
  3. Course Content

About Me

  • PhD: Oxford Department for International Development
    • Assessing the impact of a large agricultural development programme on the insurgency in Turkey’s southeastern provinces
  • Now
    • Lecturer in Geocomputation at the Centre for Advanced Spatial Analysis (CASA), UCL
      • Research Areas:
        • Conflict/Disaster response
        • Computer vision + Satellite imagery
        • Statistical methods
    • Data Scientist at Global Fishing Watch
    • Freelance investigative journalism

1. Why Study Data Science?

Why study data science?

  • Empirical evidence is the bedrock of human progress
  • Through trial and error, our species has gone from hunting and gathering to space flight
  • The speed of innovation increases exponentially
  • This is due to many things, including the increasing availability of information.

Harnessing Data: Private Sector

  • More information is available to us than ever before
  • The companies that can harness this data for profit are the largest in the world
    • Facebook, Apple, Amazon, Netflix, Google, Microsoft
  • The people who can harness this data are some of the highest paid workers in the world

Harnessing Data: Private Sector

  • Things mostly happen if their happening is profitable.
    • Research by UPS found that turning left is less efficient than turning right.
    • UPS trucks almost never turn left.
    • Doing so saves around 10m gallons of fuel per year, roughly £65m.
  • Many of the most intelligent people on this planet are applying their skills to figure out how to make you click on ads

Harnessing Data: for Research

  • There are many activities that are important, but unprofitable
    • Humanitarian aid
    • Investigative journalism
    • Policy planning
    • Academic research

Deep Mind’s Alpha Fold

Harnessing Data: Public Sector

Geofencing: a simple algorithm

Surveillance, public and private

Surveillance Capitalism

The headline story is that it’s not so much about the nature of digital technology as about a new mutant form of capitalism that has found a way to use tech for its purposes. The name Zuboff has given to the new variant is “surveillance capitalism”. It works by providing free services that billions of people cheerfully use, enabling the providers of those services to monitor the behaviour of those users in astonishing detail – often without their explicit consent.

Surveillance Capitalism

“Surveillance capitalism unilaterally claims human experience as free raw material for translation into behavioural data. Although some of these data are applied to service improvement, the rest are declared as a proprietary behavioural surplus, fed into advanced manufacturing processes known as ‘machine intelligence’, and fabricated into prediction products that anticipate what you will do now, soon, and later. Finally, these prediction products are traded in a new kind of marketplace that I call behavioural futures markets. Surveillance capitalists have grown immensely wealthy from these trading operations, for many companies are willing to lay bets on our future behaviour.”

Harnessing Data: You

  • Are multinational corporations, intelligence services, and research institutions the only ones who can harness the vast streams of data being produced?
  • No.
  • With the proper skills and an internet connection, anyone can.

Computers speaking human

  • LLMs flip it round: now the computer learns to speak human
  • “The hottest new programming language is English.” (Andrej Karpathy, 2023)
  • It doesn’t read English: it reads numbers, predicts the next one, and hands you back Python

Everyone moved up a rung

So why learn to code?

Use LLMs to write code. This course teaches you to read it, question it, and know when the number is wrong.

2. Course Content

Course Content

The material of the course will integrate the five key facets of an investigation using data:

  1. Data collection: data wrangling, cleaning, and sampling to get a suitable data set.
  2. Data management: accessing data quickly and reliably.
  3. Exploratory data analysis; generating hypotheses and building intuition.
  4. Prediction or statistical learning.
  5. Communication: summarizing results through visualization, stories, and interpretable summaries.

Lecture Outline

Week Lecture Theme
1 Introduction Question
2 Data Data Acquisition
3 Spatial & Network Data Data Acquisition
4 Text Data Data Acquisition
5 Sampling + Distributions Exploration
6 Hypothesis Testing Exploration
7 Regression Modeling
8 Causal Inference I Modeling
9 Embeddings Modeling
10 Machine Learning Modeling

Course Structure

Workshops

  • We’ll be working in Python, putting into practice what we’ve learned in the lectures
  • We’ll be using Google Colab, which allows us to write and execute python in the browser
  • https://colab.research.google.com/
  • You’ll be given a worksheet, and work together in groups to get through it.
  • We’ll be around to answer any questions and to walk you through if you get stuck

Assessments

  • Project Idea Pitch (10%)
    • A research proposal for your main project
    • Due: 17th November 5pm
  • Problem Set Submission (30%)
    • Each problem set will have one Assessed Question. During the final workshop of term, you will submit the answers to these questions into a Moodle Quiz.
    • Due: 18th December 5pm
  • Website and Report Hand in. (60%)
    • Website link
    • Due: 11th January 5pm

Why group work?

Assessment: Group Website

  • A website put together as a group
  • Describe / explain / analyse / visualise a chosen data set
  • https://github.com/awesomedata/awesome-public-datasets
  • Depending on the data chosen, different sorts of visualization will be appropriate
  • The website should be treated like other academic work
  • Claims should be backed by evidence
  • All data used should have proper attribution
  • Relevant research should be cited

IPAC Weighting

  1. The group of students complete the project, which is assessed by the tutor generating a group mark.
  2. After the students submit their group assignment, they give anonymous scores and anonymous feedback to each other based on their level of contribution and professional conduct during the project. These scores are used to calculate the IPAC scores per individual, that gets moderated or corroborated by the tutors.
  3. These two marks will then be combined to give each student their own grade, reflecting not only the final piece of assessed work but also how she or he functioned in the group over the whole project

Assessment: Problem Sets

  • During the course, we will have weekly workshops that are designed to develop your coding skills and data science knowledge.
  • Collaboration is welcome, and the Module Leader and PGTAs will provide solutions for the main body of the problem sets during the workshops.
  • However, each problem set will contain one Assessed Question, which students must answer themselves and will not receive tutorial guidance on. At the end of term, the answers to these Assessed Questions will be entered into a Moodle quiz and validated.

Any Questions?

o.ballinger@ucl.ac.uk