© John M. Abowd and Lars Vilhuber 2005, all rights reserved Record Linking Examples John M. Abowd and Lars Vilhuber March 2005.

Slides:



Advertisements
Similar presentations
Record Linking, II John M. Abowd and Lars Vilhuber April 2011 © 2011 John M. Abowd, Lars Vilhuber, all rights reserved.
Advertisements

1 A Common Measure of Identity and Value Disclosure Risk Krish Muralidhar University of Kentucky Rathin Sarathy Oklahoma State University.
A Comparison of String Matching Distance Metrics for Name-Matching Tasks William Cohen, Pradeep RaviKumar, Stephen Fienberg.
Record Linkage in Stata
© 2007 John M. Abowd, Lars Vilhuber, all rights reserved Introduction to Record Linking John M. Abowd and Lars Vilhuber April 2007.
March 2013 ESSnet DWH - Workshop IV DATA LINKING ASPECTS OF COMBINING DATA INCLUDING OPTIONS FOR VARIOUS HIERARCHIES (S-DWH CONTEXT)
© 2007 John M. Abowd, Lars Vilhuber, all rights reserved An application of probabilistic matching Abowd and Vilhuber (2004), JBES.
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 7-1 Chapter 7 Confidence Interval Estimation Statistics for Managers.
Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap 8-1 Chapter 8 Confidence Interval Estimation Basic Business Statistics 10 th Edition.
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 7-1 Introduction to Statistics: Chapter 8 Estimation.
INFO 4470/ILRLE 4470 Social and Economic Data Populations and Frames John M. Abowd and Lars Vilhuber February 7, 2011.
Business Statistics: A Decision-Making Approach, 7e © 2008 Prentice-Hall, Inc. Chap 9-1 Business Statistics: A Decision-Making Approach 7 th Edition Chapter.
© John M. Abowd 2005, all rights reserved Statistical Tools for Data Integration John M. Abowd April 2005.
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 8-1 Business Statistics: A Decision-Making Approach 6 th Edition Chapter.
Chap 9-1 Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chapter 9 Estimation: Additional Topics Statistics for Business and Economics.
© John M. Abowd 2005, all rights reserved Sampling Frame Maintenance John M. Abowd February 2005.
© John M. Abowd and Lars Vilhuber 2005, all rights reserved Introduction to Probabilistic Record Linking John M. Abowd and Lars Vilhuber March 2005.
7-1 Copyright ©2011 Pearson Education, Inc. publishing as Prentice Hall Chapter 7 Sampling and Sampling Distributions Statistics for Managers using Microsoft.
© John M. Abowd and Lars Vilhuber 2005, all rights reserved Record Linking, II John M. Abowd and Lars Vilhuber March 2005.
Chapter 8 Introduction to Hypothesis Testing
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 8-1 TUTORIAL 6 Chapter 10 Hypothesis Testing.
© 2007 John M. Abowd, Lars Vilhuber, all rights reserved Estimating m and u Probabilities Using EM Based on Winkler 1988 "Using the EM Algorithm for Weight.
Statistics for Managers Using Microsoft Excel, 5e © 2008 Pearson Prentice-Hall, Inc.Chap 8-1 Statistics for Managers Using Microsoft® Excel 5th Edition.
INFO 4470/ILRLE 4470 Register-based statistics by example: County Business Patterns John M. Abowd and Lars Vilhuber February 14, 2011.
Business Statistics, A First Course (4e) © 2006 Prentice-Hall, Inc. Chap 8-1 Chapter 8 Confidence Interval Estimation Business Statistics, A First Course.
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 7-1 Chapter 7 Confidence Interval Estimation Statistics for Managers.
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 7-1 Chapter 7 Confidence Interval Estimation Statistics for Managers.
Chapter 10 Hypothesis Testing
Confidence Intervals and Hypothesis Testing - II
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 7-1 Business Statistics: A Decision-Making Approach 6 th Edition Chapter.
Confidence Interval Estimation
Introduction to Record Linking John M. Abowd and Lars Vilhuber April 2011 © 2011 John M. Abowd, Lars Vilhuber, all rights reserved.
Basic Business Statistics, 11e © 2009 Prentice-Hall, Inc. Chap 8-1 Chapter 8 Confidence Interval Estimation Basic Business Statistics 11 th Edition.
PROBABILITY (6MTCOAE205) Chapter 6 Estimation. Confidence Intervals Contents of this chapter: Confidence Intervals for the Population Mean, μ when Population.
1 Introduction to Hypothesis Testing. 2 What is a Hypothesis? A hypothesis is a claim A hypothesis is a claim (assumption) about a population parameter:
Lecture 7 Introduction to Hypothesis Testing. Lecture Goals After completing this lecture, you should be able to: Formulate null and alternative hypotheses.
© John M. Abowd 2007, all rights reserved Analyzing Frames and Samples with Missing Data John M. Abowd March 2007.
Statistics for Managers Using Microsoft Excel, 5e © 2008 Pearson Prentice-Hall, Inc.Chap 8-1 Statistics for Managers Using Microsoft® Excel 5th Edition.
Copyright ©2011 Pearson Education 7-1 Chapter 7 Sampling and Sampling Distributions Statistics for Managers using Microsoft Excel 6 th Global Edition.
The relationship between error rates and parameter estimation in the probabilistic record linkage context Tiziana Tuoto, Nicoletta Cibella, Marco Fortini.
The Conditional Independence Assumption in Probabilistic Record Linkage Methods Stephen Sharp National Records of Scotland Ladywell Road Edinburgh EH12.
Introduction to Record Linking John M. Abowd and Lars Vilhuber April 2013.
Chap 7-1 A Course In Business Statistics, 4th © 2006 Prentice-Hall, Inc. A Course In Business Statistics 4 th Edition Chapter 7 Estimating Population Values.
Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap 8-1 Confidence Interval Estimation.
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 8-1 Chapter 8 Fundamentals of Hypothesis Testing: One-Sample Tests Statistics.
Chap 8-1 A Course In Business Statistics, 4th © 2006 Prentice-Hall, Inc. A Course In Business Statistics 4 th Edition Chapter 8 Introduction to Hypothesis.
© 2007 John M. Abowd, Lars Vilhuber, all rights reserved Record Linking, II John M. Abowd and Lars Vilhuber April 2007.
© John M. Abowd 2007, all rights reserved General Methods for Missing Data John M. Abowd March 2007.
Chap 7-1 A Course In Business Statistics, 4th © 2006 Prentice-Hall, Inc. A Course In Business Statistics 4 th Edition Chapter 7 Estimating Population Values.
Finding a PersonBOS Finding a Person! Building an algorithm to search for existing people in a system Rahn Lieberman Manager Emdeon Corp (Emdeon.com)
Basic Business Statistics, 11e © 2009 Prentice-Hall, Inc. Chap 7-1 Chapter 7 Sampling and Sampling Distributions Basic Business Statistics 11 th Edition.
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 7-1 Business Statistics: A Decision-Making Approach 6 th Edition Chapter.
Functions Math library functions Function definition Function invocation Argument passing Scope of an variable Programming 1 DCT 1033.
Basic Business Statistics
CHAPTER 7 SAMPLING DISTRIBUTIONS Prem Mann, Introductory Statistics, 7/E Copyright © 2010 John Wiley & Sons. All right reserved.
Department of Quantitative Methods & Information Systems
INFO 4470/ILRLE 4470 Visualization Tools and Data Quality John M. Abowd and Lars Vilhuber March 16, 2011.
Hypothesis Tests. An Hypothesis is a guess about a situation that can be tested, and the test outcome can be either true or false. –The Null Hypothesis.
Introduction to Record Linking John M. Abowd and Lars Vilhuber April 2013, 2016.
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 8 th Edition Chapter 9 Hypothesis Testing: Single.
INFO 7470/ECON 7400/ILRLE 7400 Register-based statistics John M. Abowd and Lars Vilhuber March 4, 2013 and April 4, 2016.
Developing job linkages for the Health and Retirement Study John Abowd, Margaret Levenstein, Kristin McCue, Dhiren Patki, Ann Rodgers, Matthew Shapiro,
Yandell – Econ 216 Chap 8-1 Chapter 8 Confidence Interval Estimation.
Chapter 7 Confidence Interval Estimation
Introduction to Probabilistic Record Linking
Two-Sample Hypothesis Testing
I. Statistical Tests: Why do we use them? What do they involve?
Objectives 6.1 Estimating with confidence Statistical confidence
Stephanie Hirner ESTP ”Administrative data and censuses
Presentation transcript:

© John M. Abowd and Lars Vilhuber 2005, all rights reserved Record Linking Examples John M. Abowd and Lars Vilhuber March 2005

© John M. Abowd and Lars Vilhuber 2005, all rights reserved Need for automated record linkage RA time required for the following matching tasks: –Finding financial records for Fortune 100: 200 hours –Finding financial records for 50,000 small businesses: ?? hours –Unduplication of the U.S. Census survey frame (115,904,641 households): ???? –Identifying miscoded SSNs on 500 million wage records: ???? –Longitudinally linking the 12 milliion establishments in the Business Register: ????

© John M. Abowd and Lars Vilhuber 2005, all rights reserved Basic methodology Name and address parsing and standardization Identifying comparison strategies: –Which variables to compare –String comparator metrics –Number comparison algorithms –Search and blocking strategies Ensuring computational feasibility of the task

© John M. Abowd and Lars Vilhuber 2005, all rights reserved Generic workflow Standardize Match Revise and iterate through again

© John M. Abowd and Lars Vilhuber 2005, all rights reserved An example Abowd and Vilhuber (2002), forthcoming in JBES: “The Sensitivity of Economic Statistics to Coding Errors in Personal Identifiers” Approx. 500 million records (quarterly wage records for , California) 28 million SSNs

© John M. Abowd and Lars Vilhuber 2005, all rights reserved 1’s tenure with A: 1’s employment history CodedCoded Name SSN EIN Leslie Kay 1A Leslie Kay 2A Lesly Kai 3B Earnings $10 $10 $11 Separations too high Accessions too high SSN Name editing Example / 1

© John M. Abowd and Lars Vilhuber 2005, all rights reserved Need for Standardization Names may be written many different ways Addresses can be coded in many different ways Firm names can be formal, informal, or differ according to the reporting requirement

© John M. Abowd and Lars Vilhuber 2005, all rights reserved How to standardize Inspect the file to refine strategy Use commercial software Write custom software (SAS, Fortran, C) Apply standardizer Inspect the file to refine strategy

© John M. Abowd and Lars Vilhuber 2005, all rights reserved Standardizing Names Alternate spellings 1.Dr. William J. Smith, MD 2.Bill Smith 3.W. John Smith, MD 4.W.J. Smith, Jr. 5.Walter Jacob Smith, Sr.

© John M. Abowd and Lars Vilhuber 2005, all rights reserved Standardized names PreFirstMidLastPos t1 Post 2 Alt1Std1 1DrWilliamJSmithMDBWILL 2BillSmithWilliamBWILL 3WJohnSmithMD 4WJSmithJr 4WalterJacobSmithSrWALT

© John M. Abowd and Lars Vilhuber 2005, all rights reserved Standardizing addresses Many different pieces of information 1.16 W Main Street #16 2.RR 2 Box Fuller Building, Suite 405, 2 nd door to the right Highway 16W

© John M. Abowd and Lars Vilhuber 2005, all rights reserved Standardized addresses Pre 2 HsnmStnmRRBoxPost1Post2Unit 1 Unit 2 Bldg 1W16MainSt Fuller Hwy16W

© John M. Abowd and Lars Vilhuber 2005, all rights reserved A&V: standardizing Knowledge of structure of the file: -> No standardizing Matching will be within records close in time -> assumed to be similar, no need for standardization BUT: possible false positives -> chose to do an weighted unduplication step (UNDUP) to eliminate wrongly associated SSNs

© John M. Abowd and Lars Vilhuber 2005, all rights reserved A&V: UNDUP SSNUIDFirstMiddleLastEarnYQ JohnCDoe Q JohnCDoe Q JonCDoe Q RobertELee743993Q1 A UID is a unique combination of SSN-First-Middle-Last A89

© John M. Abowd and Lars Vilhuber 2005, all rights reserved A&V: UNDUP (2) SSNUIDFirstMiddleLastEarnYQ JohnCDoe Q JohnCDoe Q JonCDoe Q RobertELee743993Q RobertELee743994Q1 Conservative strategy: Err on the side of caution

© John M. Abowd and Lars Vilhuber 2005, all rights reserved A&V: UNDUP (3) SSNUIDFirstMiddleLastEarnYQ RobertaCDoe Q RobertaCDoe Q RobertaDoe Q BobbieLee Q BobbieLee Q1 Conservative strategy: Err on the side of caution

© John M. Abowd and Lars Vilhuber 2005, all rights reserved Matching Define match blocks Define matching parameters: marginal probabilites Define upper T u and lower T l cutoff values

© John M. Abowd and Lars Vilhuber 2005, all rights reserved Record Blocking Computationally inefficient to compare all possible record pairs Solution: Bring together only record pairs that are LIKELY to match, based on chosen blocking criterion Analogy: SAS merge by-variables

© John M. Abowd and Lars Vilhuber 2005, all rights reserved Blocking example Without blocking: AxB is 1000x1000=1,000,000 pairs With blocking, f.i. on 3-digit ZIP code or first character of last name. Suppose 100 blocks of 10 characters each. Then only 100x(10x10)=10,000 pairs need to be compared.

© John M. Abowd and Lars Vilhuber 2005, all rights reserved A&V: Blocking and stages Two stages were chosen: –UNDUP stage (preparation) –MATCH stage (actual matching) Each stage has own –Blocking –Match variables –Parameters

© John M. Abowd and Lars Vilhuber 2005, all rights reserved A&V: UNDUP blocking No comparisons are ever going to be made outside of the SSN Information about frequency of names may be useful Large amount of records: 57 million UIDs associated with 28 million SSNs, but many SSNs have a unique UID  Blocking on SSN  Separation of files by last two digits of SSN (efficiency)

© John M. Abowd and Lars Vilhuber 2005, all rights reserved A&V: MATCH blocking Idea is to fit 1-quarter records into work histories with a 1-quarter interruption at same employer  Block on Employer – Quarter  Possibly block on Earnings deciles

© John M. Abowd and Lars Vilhuber 2005, all rights reserved A&V: MATCH block setup # Pass 1: BLOCK1 CHAR SEIN SEIN BLOCK1 CHAR QUARTER QUARTER BLOCK1 CHAR WAGEQANT WAGEQANT # follow 3 other BLOCK passes with identical setup # # Pass 2: relax the restriction on WAGEQANT BLOCK5 CHAR SEIN SEIN BLOCK5 CHAR QUARTER QUARTER # follow 3 other BLOCK passes with identical setup

© John M. Abowd and Lars Vilhuber 2005, all rights reserved Determination of match variables Must contain relevant information Must be informative (distinguishing power!) May not be on original file, but can be constructed (frequency, history information)

© John M. Abowd and Lars Vilhuber 2005, all rights reserved A&V: Variables and Matching File only contains Name, SSN, Earnings, Employer Construct frequency of use of name, work history, earnings deciles Stage 1: use name and frequency Stage 2: use name, earnings decile, work history with employer

© John M. Abowd and Lars Vilhuber 2005, all rights reserved Understanding comparators Comparators need to account for –Typographical error –Significance of slight variations in numbers (both absolute and relative) –Possible variable inversions (first and last name flipped)

© John M. Abowd and Lars Vilhuber 2005, all rights reserved String comparators: Soundex The first letter is copied unchanged Subsequent letters: bfpv -> "1" cgjkqsxzç -> "2" dt -> "3" l -> "4" mnñ -> "5" r -> "6 " Other characters are ignored Repeated characters treated as single character. 4 chars, zero padded. For example, "SMITH" or "SMYTHE" would both be encoded as "S530".

© John M. Abowd and Lars Vilhuber 2005, all rights reserved String comparators: Jaro First returns a value based on counting insertions, deletions, transpositions, and string length Total agreement weight is adjusted downward towards the total disagreement weight by some factor based on the value Custom adjustments (Winkler and others)

© John M. Abowd and Lars Vilhuber 2005, all rights reserved Comparing numbers A difference of “34” may mean different things: –Age: a lot (mother-daughter? Different person) –Income: little –SSN or EIN: no meaning Some numbers may be better compared using string comparators

© John M. Abowd and Lars Vilhuber 2005, all rights reserved Number of matching variables In general, the distinguishing power of a comparison increases with the number of matching variable Exception: variables are strongly correlated, but poor indicators of a match Example: General business name and legal name associated with a license.

© John M. Abowd and Lars Vilhuber 2005, all rights reserved Determination of match parameters Need to determine the conditional probabilities P(agree|M), P(agree|U) for each variable comparison Methods: –Clerical review –Straight computation (Fellegi and Sunter) –EM algorithm (Dempster, Laird, Rubin, 1977) –Educated guess/experience –For P(agree|U) and large samples (population): computed from random matching

© John M. Abowd and Lars Vilhuber 2005, all rights reserved Determination of match parameters (2) Fellegi & Sunter provide a solution when γ represents three variables. The solution can be expressed as marginal probabilities m k and u k In practice, this method is used in many software applications For k>3, method-of-moments or EM methods can be used.

© John M. Abowd and Lars Vilhuber 2005, all rights reserved Marginal probabilities: educated guesses for starting values P(agree on characteristic X| M)= 0.9 if X = first, last name, age 0.8 if X = house no., street name, other characteristic P(agree on characteristic X| U)= 0.1 if X = first, last name, age 0.2 if X = house no., street name, other characteristic Note that distinguishing power of first name (R(first)=0.9/0.1=9) is larger than the street name (R(street)=0.8/0.2=4)

© John M. Abowd and Lars Vilhuber 2005, all rights reserved Marginal probabilities: better estimates of P(agree|M) P(agree | M) can be improved after a first match pass by a clerical review of match pairs: –Draw a sample of pairs –Manual review to determine “true” match status –Recompute P(agree|M) based on known truth sample

© John M. Abowd and Lars Vilhuber 2005, all rights reserved A&V: UNDUP match variables # Pass1 MATCH1 NAME_UNCERT namef MATCH1 NAME_UNCERT namel MATCH1 NAME_UNCERT namem MATCH1 NAME_UNCERT concat # Pass 2 MATCH2 ARRAY NAME_UNCERT fm_name MATCH2 NAME_UNCERT namel MATCH2 NAME_UNCERT concat # and so on…

© John M. Abowd and Lars Vilhuber 2005, all rights reserved A&V: MATCH match variables # Pass1 MATCH1 CNT_DIFF SSN SSN MATCH1 NAME_UNCERT namef namef MATCH1 NAME_UNCERT namel namem MATCH1 NAME_UNCERT namel namel # Pass 2 MATCH2 CNT_DIFF SSN SSN MATCH2 NAME_UNCERT concat concat # Pass 3 MATCH3 UNCERT SSN SSN MATCH3 NAME_UNCERT namef namef MATCH3 NAME_UNCERT namem namem MATCH3 NAME_UNCERT namel namel and so on…

© John M. Abowd and Lars Vilhuber 2005, all rights reserved Adjusting P(agree|M) for relative frequency Further adjustment can be made by adjusting for relative frequency (idea goes back to Newcombe (1959) and F&S (1969)) –Agreement of last name by Smith counts for less than agreement by Vilhuber Default option for some software packages Requires assumption of strong assumption about independence between agreement on specific value states on one field and agreement on other fields.

© John M. Abowd and Lars Vilhuber 2005, all rights reserved A&V: Frequency adjustment UNDUP: –none specified MATCH: –allow for name info, –disallow for wage quantiles, SSN

© John M. Abowd and Lars Vilhuber 2005, all rights reserved Marginal probabilities: better estimates of P(agree|U) P(agree | U) can be improved by computing random agreement weights between files α(A) and β(B) (i.e. AxB) –# pairs agreeing randomly by variable X divided by total number of pairs

© John M. Abowd and Lars Vilhuber 2005, all rights reserved Error rate estimation methods Sampling and clerical review –Within L: random sample with follow-up –Within C: since manually processed, “truth” is always known –Within N: Draw random sample with follow-up. Problem: sparse occurrence of true matches Belin-Rubin (1995) method for false match rates –Model the shape of the matching weight distributions (empirical density of R) if sufficiently separated Capture-recapture with different blocking for false non-match rates

© John M. Abowd and Lars Vilhuber 2005, all rights reserved Analyst Review Matcher outputs file of matched pairs in decreasing weight order Examine list to determine cutoff weights and non-matches.

© John M. Abowd and Lars Vilhuber 2005, all rights reserved A&V: Finding cutoff values UNDUP: –CUTOFF –CUTOFF2 8 8 –Etc. MATCH: –CUTOFF –CUTOFF –CUTOFF –Etc.

© John M. Abowd and Lars Vilhuber 2005, all rights reserved A&V: Sample matcher output

© John M. Abowd and Lars Vilhuber 2005, all rights reserved Post-processing Once matching software has identified matches, further processing may be needed: –Clean up –Carrying forward matching information –Reports on match rates

© John M. Abowd and Lars Vilhuber 2005, all rights reserved Generic workflow (2) Start with initial set of parameter values Run matching programs Review moderate sample of match results Modify parameter values (typically only m k ) via ad hoc means

© John M. Abowd and Lars Vilhuber 2005, all rights reserved Acknowledgements This lecture is based in part on a 2000 lecture given by William Winkler, William Yancey and Edward Porter at the U.S. Census Bureau Some portions draw on Winkler (1995), “Matching and Record Linkage,” in B.G. Cox et. al. (ed.), Business Survey Methods, New York, J. Wiley, Examples are all purely fictitious, but inspired from true cases presented in the above lecture, in Abowd & Vilhuber (2004).