Data Privacy
1
Data 6 Summer 2025
DISCUSSION 04
Looking at how data privacy has changed through a case analysis of Latanya Sweeney.
Created by Edwin Vargas Navarro
Week 2
Announcements!
2
Ice breaker
🧊🥶
3
Would you rather...
Talk to the people around you and explain why.
Today’s Roadmap
Discussion 04, Data 6 Summer 2025
4
Public, Anonymized, Personally Identifiable Data
5
1. Public, Anonymized, Personally Identifiable Data
2. Case Study: Latanya Sweeney and HIPPA
3. Discussion Worksheet
➤
Public vs. Anonymized vs. Personally Identifiable Data
Public Data: Freely available to anyone (e.g., census, weather).
Anonymized Data: Identifying info removed or masked.
Personally Identifiable Data (PID): Data that can be traced back to a person (e.g., name, SSN, birthday).
6
Case Study: Latanya Sweeney and HIPPA
7
1. Public, Anonymized, Personally Identifiable Data
2. Case Study: Latanya Sweeney and HIPPA
3. Discussion Worksheet
➤
Who is Latnaya Sweeney?
8
Latnaya is a computer scientist and privacy researcher at Harvard, but why is she relevant to us?
The Massachusetts "Anonymized" Dataset
In the 1990s, the state of Massachusetts released anonymized hospital records for research through the Group Insurance Commission (GIC) government agency.
9
The Voter Roll Linkage
At the same time, voter registration data was publicly available. Latnaya purchased the voter registration list for $20.
Voter data included:
These were not anonymized
10
Joining the two
11
Ethnicity
Visit Date
Diagnosis
Procedure
Medication
Total Charge
Name
Address
Date Registered
Party Affiliation
Date Last Voted
ZIP
Birthday
Gender
Medical Data
Voter List
Re-identifying Governor William Weld
William Weld was Governor of Massachusetts at the time
12
According to the Cambridge voter list:
That 1 person was uniquely identifiable: Governor Weld
HIPAA & the Risk of Re-Identification
What is HIPAA?
Health Insurance Portability and Accountability Act (1996)
But... Is That Enough?
13
Sweeney’s Findings
Latanya Sweeney showed that even HIPAA compliant data could be vulnerable.
87% of Americans could be uniquely identified using just:
These quasi-identifiers are not considered protected under HIPAA
Anonymized ≠ Anonymous
14
Questions?
15
Discussion Worksheet
16
1. Public, Anonymized, Personally Identifiable Data
2. Case Study: Latanya Sweeney and HIPPA
3. Discussion Worksheet
➤
Privacy
Q1.1 Use the shared fields ZIP, Birthday, and Gender to join these two tables. Based on this data, which voter could be re-identified in the anonymized medical dataset?
Person C
Q1.2 Use the shared fields ZIP, Birthday, and Gender to join these two tables. Based on this data, which voter could be re-identified in the anonymized medical dataset?
Option C:
While the medical dataset was anonymized, it still contained quasi-identifiers such as ZIP code, birthdate, and sex. These identifiers that uniquely identified many individuals. When these were joined with publicly available voter registration data that also had those same fields (plus names), Sweeney was able to re-identify individuals.... including the governor.
17
Table Function Visualizer
Q2.1 cones.group("Flavor")
Chocolate
Strawberry
3
2
18
Table Function Visualizer
Q2.2 chocolates.group("Color", max)
Dark
Milk
White
Round
Round
Rectangular
7
9
12
1.75
1.4
2
19
Table Function Visualizer
Q2.3 chocolates.pivot("Color", "Shape", "Amount", np.mean)
Rectangular
Round
0
5.5
7.5
2
12
0
20
Table Function Visualizer
Q2.4 Edwin has this table, but he needs your help finding the correct code. Select the option
that yields the following table:
Option D: chocolates.pivot("Shape", "Color", "Price", sum)
21