Presentation is loading. Please wait.

Presentation is loading. Please wait.

DEPARTMENT OF MATHEMATICS AND STATISTICS Handling Missing Data Tao Sun Lena Zhang Yaqing Chen Francisco Aguirre SSC Case Study 2002.

Similar presentations


Presentation on theme: "DEPARTMENT OF MATHEMATICS AND STATISTICS Handling Missing Data Tao Sun Lena Zhang Yaqing Chen Francisco Aguirre SSC Case Study 2002."— Presentation transcript:

1 DEPARTMENT OF MATHEMATICS AND STATISTICS Handling Missing Data Tao Sun Lena Zhang Yaqing Chen Francisco Aguirre SSC Case Study 2002

2 DEPARTMENT OF MATHEMATICS AND STATISTICS SSC Conference Hamilton Ontario May Preliminary analysis Various plotsVarious plots 2.Assessing the missing pattern Spearman rank correlation, logistic regressionSpearman rank correlation, logistic regression 3.Data analysis with missing data - Multiple Imputation Random hot deck imputation with bootstrapRandom hot deck imputation with bootstrap PROC MI and MIANALIZE (SAS)PROC MI and MIANALIZE (SAS) Transcan function (Hmisc library in S plus or R)Transcan function (Hmisc library in S plus or R) 4.Conclusions 5.Further work Presentation Outline Objective: Compare different approaches to handle missing data from a practitioner’s point of view

3 DEPARTMENT OF MATHEMATICS AND STATISTICS SSC Conference Hamilton Ontario May Preliminary analysis RESPONSE OVERVIEW Sample size: 2389 Males: 1097 (45.9%) Females: 1292 (54.1%) Observed: 1691 Missing: 698 (28.8%) Mean: The response variable is highly skewed to the left. Histogram of observed responses DVHST94

4 DEPARTMENT OF MATHEMATICS AND STATISTICS SSC Conference Hamilton Ontario May Preliminary analysis 8 covariates in total, first 4 shown here. There appears to be a pattern of two clusters in the response DVHST94 (below 0.5 and above 0.5). DVBMI94 appears to have some “wild” values ( = 96) –43 observations, all males. (3.9% of males sample) –Wild values were replaced with the mean DVBMI94 of males –DVBMI94 transformation: NEW.DVBMI94 = abs (DVBMI94 – 22)

5 DEPARTMENT OF MATHEMATICS AND STATISTICS SSC Conference Hamilton Ontario May Preliminary analysis There are no obvious linear patterns between the covariates and the response DVHST94 DVPP94 is recoded as dichotomous: NEW.DVPP94 = 0 (91% of observations) NEW.DVPP94 > 0 (9% of observations) The AGEGRP covariate is recoded to NEW.AGE NEW.AGE = mid range value (AGEGRP) – 20

6 DEPARTMENT OF MATHEMATICS AND STATISTICS SSC Conference Hamilton Ontario May Preliminary analysis Mean DVHST94

7 DEPARTMENT OF MATHEMATICS AND STATISTICS SSC Conference Hamilton Ontario May Preliminary analysis Strength of marginal relationships between the covariates and the response using generalized Spearman chi-square

8 DEPARTMENT OF MATHEMATICS AND STATISTICS SSC Conference Hamilton Ontario May The missing pattern of the response does not appear to depend on the sampling weights Assessing the missing pattern

9 DEPARTMENT OF MATHEMATICS AND STATISTICS SSC Conference Hamilton Ontario May The missing values depend on age Assessing the missing pattern

10 DEPARTMENT OF MATHEMATICS AND STATISTICS SSC Conference Hamilton Ontario May Assessing the missing pattern LOGISTIC REGRESSION Coefficients: Estimate Std. Error z value Pr(>|z|) (Intercept) < 2e-16 *** NEW.AGE < 2e-16 *** SEXMale e-10 *** DVHHIN DVSMKT NEW.DVPP94 = NUMCHRON VISITS NEW.WT NEW.DVBMI % missing for males: 24% % missing for females: 34%

11 DEPARTMENT OF MATHEMATICS AND STATISTICS SSC Conference Hamilton Ontario May Multiple imputation Methods: –Random Hot Deck MI with Bootstrap –SAS PROC MI and PROC MIANALIZE –Function TRANSCAN in S-plus from Hmisc Library (Frank Harrel)

12 DEPARTMENT OF MATHEMATICS AND STATISTICS SSC Conference Hamilton Ontario May Multiple Imputation INCOMPLETE DATA IMPUTATION ANALYSIS POOLING IMPUTED DATA ANALYSIS RESULTS FINAL RESULTS IMPUTATION: Impute the missing entries of the incomplete data sets B times, resulting in B complete data sets. ANALYSIS: Analyze each of the B completed data sets using weighted least squares. POOLING: Integrate the B analysis results into a final result. Simple rules exist for combining the B analyses.

13 DEPARTMENT OF MATHEMATICS AND STATISTICS SSC Conference Hamilton Ontario May Random hot-deck MI with Bootstrap B = 1000 replicates Observed Missing response response Choose randomly with replacement Probability ~ weights Complete data (, ) (, ) (Within variance,R-square) Same procedure (, ) (, ) (Within variance,R-square) Estimated Estimated Compute 95% CI for judging significance of predictors

14 DEPARTMENT OF MATHEMATICS AND STATISTICS SSC Conference Hamilton Ontario May PROC MI & MIANALYZE Method PROC MI 1By default generates 5 imputation values for each missing value 2Imputation method: MCMC (Markov Chain Monte Carlo)  EM algorithm determines initial values  MCMC repeatedly simulates the distribution of interest from which the imputed values are drawn 3Assumption: Data follows multivariate normal distribution PROC REG  Fits five weighted linear regression models to the five complete data sets obtained from PROC MI (used by_imputation_statement ) PROC MIANALIZE Reads the parameter estimates and associated Reads the parameter estimates and associated covariance matrix from the analysis covariance matrix from the analysis performed on the multiple imputed data sets performed on the multiple imputed data sets and derives valid statistics for the parameters and derives valid statistics for the parameters

15 DEPARTMENT OF MATHEMATICS AND STATISTICS SSC Conference Hamilton Ontario May TRANSCAN(Splus,Hmisc) Transforms continuous and categorical variables to have maximum correlation with the best linear combination of the other variables. It approximates the multiple imputation algorithm described by Rubin’s Bayesian bootstrap. Draws a sample of size r from r non-missing residuals. Chooses a sample of size m from this sample of size r with replacement. m is the number of missing values. LS Bootstrap Bootstrap Generates imputed values with the linear imputation model and the bootstrapped residuals. Advantage: Does not need normality assumption or symmetry of residuals. Does shrinkage to avoid overfitting Disadvantage: “ Freezes” the imputation model before drawing the multiple imputations. Frank Harrell This algorithm is repeated B times to obtain the multiple imputed data sets that are analyzed using WLS with the function LM.

16 DEPARTMENT OF MATHEMATICS AND STATISTICS SSC Conference Hamilton Ontario May Comparing imputation methods Ranking: 1.TRANSCAN ( Advantage: shrinkage correction to prevent over fitting) 2.PROC MI (Drawback: normality assumption) 3.Bootstrap random hot deck (does not use the information of the covariates)

17 DEPARTMENT OF MATHEMATICS AND STATISTICS SSC Conference Hamilton Ontario May Significant variables

18 DEPARTMENT OF MATHEMATICS AND STATISTICS SSC Conference Hamilton Ontario May Conclusions about the missing pattern The missing values of the response variable DVHST94 are not MCAR. The probability of missing depends primarily on the age and sex covariates, therefore the missing values are MAR.

19 DEPARTMENT OF MATHEMATICS AND STATISTICS SSC Conference Hamilton Ontario May Conclusions about multiple imputation Transcan function appeared to perform better than PROC MI for imputing and analyzing this data set given non-normality. Random hot deck MI with bootstrap gave significantly biased results. This approach does not take into account the information provided by the covariates therefore is not appropriate for data MAR.

20 DEPARTMENT OF MATHEMATICS AND STATISTICS SSC Conference Hamilton Ontario May Conclusions about the data analysis The health status of the population tends decreases with age. People with higher income tend to have better health than people with less income. People with lower health status demand more medical services (visits to a doctor). People that are propense to depression have lower health. Smoking does not appear to have a decisive influence on the health status.

21 DEPARTMENT OF MATHEMATICS AND STATISTICS SSC Conference Hamilton Ontario May Future work GLM could be used to model the categorical response GQ.H1 using a multinomial logistic model to impute the missing categorical responses Interactions of the significant variables with the insignificant variables should be explored in order to further assess the concomitant effects (e.g. smoking and depression).

22 DEPARTMENT OF MATHEMATICS AND STATISTICS SSC Conference Hamilton Ontario May Acknowledgements: Special thanks to professor Peggy Ng and George Monette for their support.


Download ppt "DEPARTMENT OF MATHEMATICS AND STATISTICS Handling Missing Data Tao Sun Lena Zhang Yaqing Chen Francisco Aguirre SSC Case Study 2002."

Similar presentations


Ads by Google