© John M. Abowd 2007, all rights reserved Statistical Tools for Data Integration John M. Abowd April 2007.

Slides:



Advertisements
Similar presentations
Ordinary Least-Squares
Advertisements

Estimation of Means and Proportions
General Linear Model With correlated error terms  =  2 V ≠  2 I.
GENERAL LINEAR MODELS: Estimation algorithms
1 Chapter 4 Experiments with Blocking Factors The Randomized Complete Block Design Nuisance factor: a design factor that probably has an effect.
Chapter 4 Randomized Blocks, Latin Squares, and Related Designs
CmpE 104 SOFTWARE STATISTICAL TOOLS & METHODS MEASURING & ESTIMATING SOFTWARE SIZE AND RESOURCE & SCHEDULE ESTIMATING.
6-1 Introduction To Empirical Models 6-1 Introduction To Empirical Models.
11 Simple Linear Regression and Correlation CHAPTER OUTLINE
INFO 7470/ILRLE 7400 Geographic Information Systems John M. Abowd and Lars Vilhuber March 29, 2011.
Ch11 Curve Fitting Dr. Deshi Ye
The General Linear Model. The Simple Linear Model Linear Regression.
Visual Recognition Tutorial
The Simple Linear Regression Model: Specification and Estimation
Chapter 10 Simple Regression.
Independent Component Analysis (ICA) and Factor Analysis (FA)
© John M. Abowd 2005, all rights reserved Statistical Tools for Data Integration John M. Abowd April 2005.
© John M. Abowd 2005, all rights reserved Recent Advances In Confidentiality Protection John M. Abowd April 2005.
© John M. Abowd 2005, all rights reserved Modeling Integrated Data John M. Abowd April 2005.
Ordinary least squares regression (OLS)
Chapter 5 Normalization Transparencies © Pearson Education Limited 1995, 2005.
Linear and generalised linear models
1 1 Slide © 2003 South-Western/Thomson Learning™ Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
Linear and generalised linear models
Basics of regression analysis
Linear and generalised linear models Purpose of linear models Least-squares solution for linear models Analysis of diagnostics Exponential family and generalised.
Separate multivariate observations
Elec471 Embedded Computer Systems Chapter 4, Probability and Statistics By Prof. Tim Johnson, PE Wentworth Institute of Technology Boston, MA Theory and.
INFO 7470/ILRLE 7400 Statistical Tools: Basic Integrated Data Models John M. Abowd and Lars Vilhuber April 12, 2011.
PATTERN RECOGNITION AND MACHINE LEARNING
Slide Slide 1 Chapter 8 Sampling Distributions Mean and Proportion.
CREST-ENSAE Mini-course Microeconometrics of Modeling Labor Markets Using Linked Employer-Employee Data John M. Abowd portions of today’s lecture are.
Probabilistic and Statistical Techniques 1 Lecture 24 Eng. Ismail Zakaria El Daour 2010.
ArrayCluster: an analytic tool for clustering, data visualization and module finder on gene expression profiles 組員:李祥豪 謝紹陽 江建霖.
 A probability function is a function which assigns probabilities to the values of a random variable.  Individual probability values may be denoted by.
© John M. Abowd 2007, all rights reserved Analyzing Frames and Samples with Missing Data John M. Abowd March 2007.
Normalization Transparencies
Multinomial Distribution
Yaomin Jin Design of Experiments Morris Method.
SUPA Advanced Data Analysis Course, Jan 6th – 7th 2009 Advanced Data Analysis for the Physical Sciences Dr Martin Hendry Dept of Physics and Astronomy.
Danila Filipponi Simonetta Cozzi ISTAT, Italy Outlier Identification Procedures for Contingency Tables in Longitudinal Data Roma,8-11 July 2008.
Lecture 5 Normalization. Objectives The purpose of normalization. How normalization can be used when designing a relational database. The potential problems.
Chapter 10 Normalization Pearson Education © 2009.
Section 2.3 Properties of Solution Sets
Multivariate Statistics Confirmatory Factor Analysis I W. M. van der Veld University of Amsterdam.
CHAPTER 5 SIGNAL SPACE ANALYSIS
Generalised method of moments approach to testing the CAPM Nimesh Mistry Filipp Levin.
© John M. Abowd 2007, all rights reserved General Methods for Missing Data John M. Abowd March 2007.
Simulation Study for Longitudinal Data with Nonignorable Missing Data Rong Liu, PhD Candidate Dr. Ramakrishnan, Advisor Department of Biostatistics Virginia.
Chapter 2-OPTIMIZATION G.Anuradha. Contents Derivative-based Optimization –Descent Methods –The Method of Steepest Descent –Classical Newton’s Method.
Tutorial I: Missing Value Analysis
Sampling Design and Analysis MTH 494 Lecture-21 Ossam Chohan Assistant Professor CIIT Abbottabad.
INFO 7470/ECON 7400 Statistical Tools: Complex Data Models John M. Abowd and Lars Vilhuber April 22, 2013.
INFO 4470/ILRLE 4470 Visualization Tools and Data Quality John M. Abowd and Lars Vilhuber March 16, 2011.
MathematicalMarketing Slide 5.1 OLS Chapter 5: Ordinary Least Square Regression We will be discussing  The Linear Regression Model  Estimation of the.
Computacion Inteligente Least-Square Methods for System Identification.
The LEHD Program and Employment Dynamics Estimates Ronald Prevost Director, LEHD Program US Bureau of the Census
Estimation Econometría. ADE.. Estimation We assume we have a sample of size T of: – The dependent variable (y) – The explanatory variables (x 1,x 2, x.
Chapter 4 Discrete Random Variables and Probability Distributions
Part 3: Estimation of Parameters. Estimation of Parameters Most of the time, we have random samples but not the densities given. If the parametric form.
Lecture XXVII. Orthonormal Bases and Projections Suppose that a set of vectors {x 1,…,x r } for a basis for some space S in R m space such that r  m.
INFO 7470 Statistical Tools: Hierarchical Models and Network Analysis John M. Abowd and Lars Vilhuber May 2, 2016.
Chapter 7. Classification and Prediction
Matrices Definition: A matrix is a rectangular array of numbers or symbolic elements In many applications, the rows of a matrix will represent individuals.
The Regression Model Suppose we wish to estimate the parameters of the following relationship: A common method is to choose parameters to minimise the.
Where did we stop? The Bayes decision rule guarantees an optimal classification… … But it requires the knowledge of P(ci|x) (or p(x|ci) and P(ci)) We.
OVERVIEW OF LINEAR MODELS
OVERVIEW OF LINEAR MODELS
Parametric Methods Berlin Chen, 2005 References:
Presentation transcript:

© John M. Abowd 2007, all rights reserved Statistical Tools for Data Integration John M. Abowd April 2007

© John M. Abowd 2007, all rights reserved Outline What Are “Linked” or “Integrated” Data? The Relational Database Model Statistical Underpinnings of the Relational Database Model Graphical Representations of Integrated Data Estimating Models from Linked Data Building Models with Heterogeneity for Linked Data Fixed Effect Estimation Identification Calculation Mixed Effect Estimation

© John M. Abowd 2007, all rights reserved What Are Linked Data? Observations used in the analysis are sampled from different universes of entities Observations from the different entities relate to each other according to a system of identifiers Integration of the observations requires specifying a universe for the result and a rule for associating data from entities belonging to other universes with the observations in the result.

© John M. Abowd 2007, all rights reserved Examples of Linked Data Hierarchies –Population census: block-household-resident –Economic census: enterprise-establishment Relations –Person-job-employer –Customer-item-supplier

© John M. Abowd 2007, all rights reserved The Relational Database Model Informal characterization (formal model)formal model All data are represented as a collection of linked tables Each table has a unique key (primary key) that is defined for every entity in the table Each table may have data items defined for each entity in the table Each table may have items that refer to data from another table (foreign key) Views are created by specifying a reference table and gathering the values of data items based on the keys in the reference table and operations applied to the items retrieved by the foreign keys

© John M. Abowd 2007, all rights reserved Example of the Relational Database Model Table_Employer –Primary_key: Employer_ID –Foreign_key: NAICS –Items: Sales, Employees Table_Individual –Primary_key: Individual_ID –Foreign_key: Census_block –Items: Age, Education Table_Job –Primary_key: Job_ID –Foreign_key: Employer_ID –Foreign_key: Individual_ID –Items: Earnings Table_Industry –Primary_key: NAICS –Items: average_earnings

© John M. Abowd 2007, all rights reserved Example: Job View Select records from Table_Job (universe or sample) Look-up Sales, Employees, NAICS in Table_Employer using Employer_ID; compute sales_per_employee Look-up NAICS in Table_Industry; compute log_industry_average_earnings Look-up Age and Education in Table_Individual using Individual_ID; compute potential_experience Compute log_earnings Create Table_Output –Primary_key: Job_ID –Items: log_earnings, education, potential_experience, sales_per_employee, log_industry_average_earnings

© John M. Abowd 2007, all rights reserved Graphical Representation of Linked Data Graphs: –Nodes: list of entities –Edges: ordered (directed) or unordered (non- directed) pairs indicating a link between two nodes Example –Nodes: {Employer_IDs, Individual_IDs} –Edges: Ordered pairs (Individual_ID ‘works for’ Employer_ID)

© John M. Abowd 2007, all rights reserved Statistical Underpinnings of the Relational Database Model Tables are frames If every table is complete relative to its universe, then samples can be constructed by sampling records from the relevant table and linking data from the other tables If some tables are incomplete, then imputation of missing data is equivalent to imputing a link and estimating its items

© John M. Abowd 2007, all rights reserved Example: Industry View Select records from Table_Industry Look-up all Employer_IDs in NAICS in Table_Employer; compute variance_earnings Ouput Table_Output –Primary_key: NAICS –Item average_earnings, variance_earnings

© John M. Abowd 2007, all rights reserved Estimating Models from Linked Files Linked files are usually analyzed as if the linkage were without error Most of this class focuses on such methods There are good reasons to believe that this assumption should be examined more closely

© John M. Abowd 2007, all rights reserved Lahiri and Larsen Consider regression analysis when the data are imperfectly linked See JASA article March 2005 for full discussion

© John M. Abowd 2007, all rights reserved Setup of Lahiri and Larsen

© John M. Abowd 2007, all rights reserved Estimators

© John M. Abowd 2007, all rights reserved Problem: Estimating B

© John M. Abowd 2007, all rights reserved Does It Matter? Yes The bias from the naïve estimator is very large as the average q ii goes away from 1. The SW estimator does better. The U estimator does very well, at least in simulations.

© John M. Abowd 2007, all rights reserved Graph-based Estimation Models Abowd-Schmutte paper

© John M. Abowd 2007, all rights reserved Building Integrated Labor Market Data Examples from the LEHD infrastructure files Analysis can be done using workers, jobs or employers as the basic observation unit Want to model heterogeneity due to the workers and employers for job level analyses Want to model heterogeneity due to the jobs and workers for employer level analyses Want to model heterogeneity due to the jobs and employers for individual analyses

© John M. Abowd 2007, all rights reserved The Longitudinal Employer - Household Dynamics Program Link Record Person-ID Employer-ID Data Business Register Employer-ID Census Entity-ID Data Economic Censuses and Surveys Census Entity-ID Data Demographic Surveys Household Record Household-ID Data Person Record Household-ID Person-ID Data

© John M. Abowd 2007, all rights reserved Basic model The dependent variable is some individual level outcome, usually the log wage rate. The function J(i,t) indicates the employer of i at date t. The first component is the measured characteristics effect. The second component is the person effect. The third component is the firm effect. The fourth component is the statistical residual, orthogonal to all other effects in the model.

© John M. Abowd 2007, all rights reserved Matrix Notation: Basic Statistical Model All vectors/matrices have row dimensionality equal to the total number of observations. Data are sorted by person-ID and ordered chronologically for each person. D is the design matrix for the person effect: columns equal to the number of unique person IDs plus columns of u i. F is the design matrix for the firm effect: columns equal to the number of unique firm IDs times the number of effects per firm.

© John M. Abowd 2007, all rights reserved Estimation by Fixed-effect Methods The normal equations for least squares estimation of fixed person, firm and characteristic effects are very high dimension. Estimation of the full model by either fixed- effect or mixed-effect methods requires special algorithms to deal with the high dimensionality of the problem.

© John M. Abowd 2007, all rights reserved Least Squares Normal Equations The full least squares solution to the basic estimation problem solves these normal equations for all identified effects.

© John M. Abowd 2007, all rights reserved Identification of Effects Use of the decomposition formula for the industry (or firm-size) effect requires a solution for the identified person, firm and characteristic effects. The usual technique of eliminating singular row/column combinations from the normal equations won’t work if the least squares problem is solved directly.

© John M. Abowd 2007, all rights reserved Identification by Grouping Firm 1 is in group g = 1. Repeat until no more persons or firms are added: –Add all persons employed by a firm in group 1 to group 1 –Add all firms that have employed a person in group 1 to group 1 For g= 2,..., repeat until no firms remain: –The first firm not assigned to a group is in group g. –Repeat until no more firms or persons are added to group g: Add all persons employed by a firm in group g to group g. Add all firms that have employed a person in group g to group g. Identification of  : drop one firm from each group g. Identification of  : impose one linear restriction Software

© John M. Abowd 2007, all rights reserved Normal Equations after Group Blocking The normal equations have a sub-matrix with block diagonal components. This matrix is of full rank and the solution for (  ) is unique.

© John M. Abowd 2007, all rights reserved Necessity of Identification Conditions For necessity, we want to show that exactly N+J-G person and firm effects are identified (estimable), including the grand mean  y.. Because X and y are expressed in deviations from the mean, all N effects are included in the equation but one is redundant because both sides of the equation have a zero mean by construction. So the grand mean plus the person effects constitute N effects. There are at most N + J-1 person and firm effects including the grand mean. The grouping conditions imply that at most G group means are identified (or, the grand mean plus G-1 group deviations). Within each group g, at most N g and J g -1 person and firm effects are identified. Thus the maximum number of identifiable person and firm effects is:

© John M. Abowd 2007, all rights reserved Sufficiency of Identification Conditions For sufficiency, we use an induction proof. Consider an economy with J firms and N workers. Denote by E[y it ] the projection of worker i's wage at date t on the column space generated by the person and firm identifiers. For simplicity, suppress the effects of observable variables X The firms are connected into G groups, then all effects  j, in group g are separately identified up to a constraint of the form:

© John M. Abowd 2007, all rights reserved Sufficiency of Identification Conditions II Suppose G=1 and J=2. Then, by the grouping condition, at least one person, say 1, is employed by both firms and we have So, exactly N+2-1 effects are identified.

© John M. Abowd 2007, all rights reserved Sufficiency of Identification Conditions III Next, suppose there is a connected group g with J g firms and exactly J g -1 firm effects identified. Consider the addition of one more connected firm to such a group. Because the new firm is connected to the existing J g firms in the group there exists at least one individual, say worker 1 who works for a firm in the identified group, say firm J g, at date 1 and for the supplementary firm at date 2. Then, we have two relations So, exactly J g effects are identified with the new information.

© John M. Abowd 2007, all rights reserved Characteristics of the Groups

© John M. Abowd 2007, all rights reserved Estimation by Direct Solution of Least Squares Once the grouping algorithm has identified all estimable effects, we solve for the least squares estimates by direct minimization of the sum of squared residuals. This method, widely used in animal breeding and genetics research, produces a unique solution for all estimable effects.

© John M. Abowd 2007, all rights reserved Least Squares Conjugate Gradient Algorithm The matrix  is chosen to precondition the normal equations. The data matrices and parameter vectors are redefined as shown.

© John M. Abowd 2007, all rights reserved LSCG (II) The goal is to find  to solve the least squares problem shown. The gradient vector g figures prominently in the equations. The initial conditions for the algorithm are shown. –e is the vector of residuals. –d is the direction of the search.

© John M. Abowd 2007, all rights reserved LSCG (III) The loop shown has the following features: –The search direction d is the current gradient plus a fraction of the old direction. –The parameter vector  is updated by moving a positive amount in the current direction. –The gradient, g, and residuals, e, are updated. –The original parameters are recovered from the preconditioning matrix.

© John M. Abowd 2007, all rights reserved LSCG (IV) Verify that the residuals are uncorrelated with the three components of the model. –Yes: the LS estimates are calculated as shown. –No: certain constants in the loop are updated and the next parameter vector is calculated. Software

© John M. Abowd 2007, all rights reserved Mixed Effects Assumptions The assumptions above specify the complete error structure with the firm and person effects random. For maximum likelihood or restricted maximum likelihood estimation assume joint normality. Software: ASREML, cgmixedASREMLcgmixed

© John M. Abowd 2007, all rights reserved Estimation by Mixed Effects Methods Solve the mixed effects equations Techniques: Bayesian EM, Restricted ML

© John M. Abowd 2007, all rights reserved Relation Between Fixed and Mixed Effects Models Under the conditions shown above, the ME and estimators of all parameters approaches the FE estimator

© John M. Abowd 2007, all rights reserved Correlated Random Effects vs. Orthogonal Design Orthogonal design means that characteristics, person design, firm design are orthogonal. Uncorrelated random effects means that  is diagonal.

© John M. Abowd 2007, all rights reserved Software SAS: proc mixed ASREML aML SPSS: Linear Mixed Models STATA: xtreg, gllamm, xtmixed R: the lme() function S+: linear mixed models Gauss Matlab Genstat: REML Grouping (connected sub-graphs)