incremental algorithms for missing data imputation based
play

Incremental Algorithms for Missing Data Imputation based on - PowerPoint PPT Presentation

Incremental Algorithms for Missing Data Imputation based on Recursive Partitioning Claudio Conversano Department of Economics University of Cassino, via M. Mazzaroppi, I-03043 Cassino (FR) c.conversano@unicas.it, http//cds.unina.it/~conversa


  1. Incremental Algorithms for Missing Data Imputation based on Recursive Partitioning Claudio Conversano Department of Economics University of Cassino, via M. Mazzaroppi, I-03043 Cassino (FR) c.conversano@unicas.it, http//cds.unina.it/~conversa Interface 2003: Security and Infrastructure Protection 35 th SYMPOSIUM ON THE INTERFACE Sheraton City Centre Salt Lake City, Utah March 12-15, 2003

  2. Outline • Supervised learning • Why Trees? • Trees for Statistical Data Editing • Examples • Discussion

  3. Trees in Supervised Learning Trees Supervised Learning • Output • Training sample L = {y, x n ; n = 1, …, N } • Approach : from the distribution (Y, X ) Recursive Partitioning � Y: output • Aim: � X : inputs Exploration/Decision • Decision rule: d(x) = y • Steps: Growing Pruning Testing

  4. Statistical Data Editing • Process : collected data are examined for errors • Winkler (2002) : those methods that can be used to edit (i.e., clean-up) and impute (fill-in) missing or contradictory data” � Data Validation � Data Imputation • How using trees � Incremental Approach for Data Imputation � TreeVal for Data Validation

  5. Missing Data: Examples 1. Household surveys (income, savings). 2. Industrial experiment (mechanical breakdowns unrelated to the experimental process). 3. Opinion surveys (people is unable to express a preference for one candidate over another).

  6. Features of Missing Data Problem Biased and inefficient estimates Their relevance is strictly proportional to data dimensionality Missing Data Mechanisms • Missing Completely at Random (MCAR) • Missing at Random (MAR) Classical Methods • Complete Case Analysis • Unconditional Mean • Hot Deck Imputation

  7. Model Based Imputation = + y f ( X ) ε mis obs obs Examples: • Linear Regression (e.g. Little, 1992) • Logistic Regression (e.g. Vach, 1994) • Generalized Linear Models (e.g. Ibrahim et. al, 1999) • Nonparametric Regression (e.g. Chu & Cheng, 1995) • Trees (Conversano & Siciliano, 2002; Conversano & Cappelli, 2002)

  8. Using Trees in Missing Data Imputation • Let y rs be the cell presenting a missing input in the r - th row and the s -th column of the matrix X . • Any missing input is handled using the tree grown from the learning sample L rs = { y i , x iT ; i = 1, …, r-1 } where x iT = ( x i1 …, x ij , …, x i,s-1 ) denotes completely observed inputs ( ) ˆ • The imputed value is = ˆ f x y r s

  9. Motivations • Nonparametric approach • Deals with numerical and categorical inputs • Computational feasibility • Considers conditional interactions among inputs • Derives simple imputation rules

  10. Incremental Approach: key idea • Data Pre-Processing rearrange columns and rows of the original data matrix • Missing Data Ranking define a lexicographical ordering of the data, that matches the order by value, corresponding to the numbers of missing values occurring in each record • Incremental Imputation impute iteratively missing data using tree based models

  11. The original data matrix A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 1 0 2 3 3 0 4 0 5 0 Number of 6 2 missing values 7 1 in each row 8 3 9 0 10 1 11 3 12 2 13 0 14 0 15 2 0 1 0 1 0 3 1 0 0 1 1 1 0 2 0 0 1 1 0 1 1 0 0 1 0 1 Number of missing values in each column

  12. Data re-arrangement by number of missing in each column A C E H I M O P S V W Y B D G J K L Q R T U X Z N F 1 2 3 4 5 6 7 8 9 10 11 12 by number of missing in each row 13 14 A C E H I M O P S V W Y B D G J K L Q R T U X Z N F 15 1 0 3 0 4 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 2 2 5 0 9 0 13 0 14 0 7 1 10 1 6 2 12 2 15 2 2 3 8 3 11 3

  13. Missing Data Ranking Lexicographical Lexicographical ordering ordering A C E H I M O P S V W Y B D G J K L Q R T U X Z N F 1 0_mis 3 0_mis 4 0_mis 5 0_mis 9 0_mis 13 0_mis 14 0_mis 7 1_f 10 1_l 6 2_j_x 12 2_u_f 15 2_d_j 2 3_t_n_f 8 3_b_l_n 11 3_d_r_z

  14. The working matrices A C E H I M O P S V W Y B D G J K L Q R T U X Z N F 1 0_mis 3 0_mis 4 0_mis C A 5 0_mis 9 0_mis 13 0_mis 14 0_mis 7 1_f 10 1_l 6 2_j_x D B 12 2_u_f 15 2_d_j 2 3_t_n_f 8 3_b_l_n 11 3_d_r_z First imputation D includes 8 missing data types

  15. First Iteration A C E H I M O P S V W Y B D G J K L Q R T U X Z N F 1 0_mis 3 0_mis 4 0_mis C A 5 0_mis 9 0_mis 13 0_mis 14 0_mis 7 0_mis 10 1_l 6 2_j_x B 12 2_u_f 15 2_d_j D 2 3_t_n_f 8 3_b_l_n 11 3_d_r_z D includes 7 missing data types

  16. Why Incremental? The data matrix X n,p   A C − is partitioned in: m d , m p d , =  X  n p , B D   − − − n m d , n m p d , where: A , B , C : matrix of observed data and imputed data D : matrix containing missing data The Imputation is incremental incremental because, as it goes on, more and more information is added to the data matrix. In fact: • A , B and C are updated in each iteration • D shrinks after each set of records with missing inputs has been filled-in

  17. Simulation Setting • X 1 ,…………, X p uniform in [0,10] • Data are missing with conditional probability: − ( ) 1   ψ = + α + 1 exp X β   α β being a constant and a vector of coefficients. • Goal: estimate mean and standard deviation of the variable under imputation (in the numerical response case ), and the expected value π (in the binary response case ). • Compared Methods: • Unconditional Mean Imputation ( UMI ) • Parametric Imputation ( PI ) • Non Parametric Imputation ( NPI ) • Incremental Non Parametric Imputation ( INPI )

  18. Numerical Response Missing variables Data n p ( ) ( ) ≈ − + − + sim1.n 500 3 2 2 Y N 3 0 . 7 X 0 . 3 X , exp 0 . 3 X 0 . 1 X 1 2 1 2 ( ( ) ) ≈ − + Y N X X , exp 0 . 2 X 0 . 1 X 1 2 1 2 sim2.n 1000 7 ( ) ( ) ≈ − + 2 Y N X X , exp 0 . 2 X 0 . 3 X 3 4 3 4 ( ( ) ) ≈ + + Y N X exp X , 0 . 5 X 0 . 2 X 1 2 1 2 sim3.n 1000 7 ( ( ) ) ≈ − + Y N X cos X , 0 . 7 X 0 . 4 X 3 4 3 4

  19. Estimated means and variances sim1.n sim2.n sim3.n µ µ ˆ µ ˆ µ ˆ ˆ µ ˆ 1 2 1 2 TRUE -639,2 -28,2 38,5 38,3 -27,8 UMI -760,7 -33,5 26,9 45,2 -33,6 PI -618,0 -27,4 37,7 37,5 -27,0 NPI -612,0 -27,6 39,4 38,3 -27,1 INPI -622,0 -27,7 37,3 38,3 -27,1 sim1.n sim2.n sim3.n σ ˆ σ σ σ σ ˆ ˆ ˆ ˆ 2 2 1 1 TRUE 916,5 30,4 31,8 30,2 29,9 UMI 833,5 27,2 29,6 26,1 26,6 PI 934,2 30,8 30,8 31,0 30,9 NPI 904,3 30,1 29,5 29,2 29,2 INPI 908,5 30,4 31,5 30,3 30,1 averaged results over 100 independent samples randomly drawn from the original distribution function

  20. Binary Response Missing variables Data n p ( )   − exp X X   ≈ Y Bin n , 1 2 sim1.c 500 3  )  ( + − 1 exp X X   1 2 ( ) [ ] ( ) − 1 ≈ + − Y Bin n , 1 exp X X 1 2 [ ] ( )   + sim2.c 1000 7 exp sin X X   ≈ Y Bin n , 3 4  [ ]  ( ) + + 1 exp sin X X   3 4 ( ) [ ] { ( ) } − 1 ≈ + − Y Bin n , 1 exp cos X X 1 2 [ ] ( )   sim3.c 1000 7 + exp sin X X   ≈ Y Bin n , 3 4  [ ]  ( ) + + 1 exp sin X X   3 4

  21. Estimated probabilities sim1.c sim2.c sim3.c π π π π ˆ π ˆ ˆ ˆ ˆ 1 1 2 2 TRUE 0,510 0,610 0,775 0,616 0,775 UMI 0,610 0,884 0,923 0,883 0,924 PI 0,551 0,699 0,851 0,700 0,876 NPI 0,629 0,677 0,897 0,740 0,849 INPI 0,514 0,633 0,845 0,676 0,813 1,0 0,8 0,6 0,4 0,2 0,0 sim1.c sim2.c sim2.c sim3.c sim3.c TRUE UMI PI NPI INPI averaged results over 100 independent samples randomly drawn from the original distribution function

  22. Evidence from Real Data • Source: UCI Machine Learning Repository • Boston Housing Data – 506 instances, 13 real valued and 1 binary attributes – Variables under imputation � distances to 5 employment centers ( dist , 28%) � nitric oxide concentration ( nox , 32%) � proportion of non-retail business acres per town ( indus , 33%) � n. rooms per dwelling ( rm , 24%) • Mushroom Data – 8124 instances, 22 nominally valued attributes – Variables under imputation • cap-surface (4 classes, 3%) • gill-size (binary, 6%) • stalk-shape (binary, 12%) • ring-number (3 classes, 19%)

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend