Missing data. Patrick Breheny. April 23. Introduction Missing response data Missing covariate data

Similar documents
A Case Study: Two-sample categorical data

Bayesian graphical models for combining multiple data sources, with applications in environmental epidemiology

Introduction. Patrick Breheny. January 10. The meaning of probability The Bayesian approach Preview of MCMC methods

Bayesian methods for combining multiple Individual and Aggregate data Sources in observational studies

Bayesian approaches to handling missing data: Practical Exercises

Bayesian and Frequentist Approaches

Two-sample Categorical data: Measuring association

A COMPARISON OF IMPUTATION METHODS FOR MISSING DATA IN A MULTI-CENTER RANDOMIZED CLINICAL TRIAL: THE IMPACT STUDY

Catherine A. Welch 1*, Séverine Sabia 1,2, Eric Brunner 1, Mika Kivimäki 1 and Martin J. Shipley 1

Biostatistics for Med Students. Lecture 1

Bayesian hierarchical modelling

Practical Bayesian Design and Analysis for Drug and Device Clinical Trials

Accommodating informative dropout and death: a joint modelling approach for longitudinal and semicompeting risks data

A Brief Introduction to Bayesian Statistics

Fundamental Clinical Trial Design

Lecture Outline. Biost 590: Statistical Consulting. Stages of Scientific Studies. Scientific Method

Observational studies; descriptive statistics

Introduction to Bayesian Analysis 1

Bayesian Statistics Estimation of a Single Mean and Variance MCMC Diagnostics and Missing Data

An Introduction to Bayesian Statistics

An Introduction to Using WinBUGS for Cost-Effectiveness Analyses in Health Economics

Dylan Small Department of Statistics, Wharton School, University of Pennsylvania. Based on joint work with Paul Rosenbaum

first three years of life

MS&E 226: Small Data

Improving ecological inference using individual-level data

Adjusting for mode of administration effect in surveys using mailed questionnaire and telephone interview data

Strategy for modelling non-random missing data mechanisms in observational studies using Bayesian methods

Dichotomizing partial compliance and increased participant burden in factorial designs: the performance of four noncompliance methods

On Test Scores (Part 2) How to Properly Use Test Scores in Secondary Analyses. Structural Equation Modeling Lecture #12 April 29, 2015

Advanced IPD meta-analysis methods for observational studies

Att vara eller inte vara (en Bayesian)?... Sherlock-conundrum

Bayesian Inference. Thomas Nichols. With thanks Lee Harrison

Analysis of TB prevalence surveys

Logistic Regression with Missing Data: A Comparison of Handling Methods, and Effects of Percent Missing Values

Introduction to Observational Studies. Jane Pinelis

ST440/550: Applied Bayesian Statistics. (10) Frequentist Properties of Bayesian Methods

Bayesian versus maximum likelihood estimation of treatment effects in bivariate probit instrumental variable models

Bayesian Dose Escalation Study Design with Consideration of Late Onset Toxicity. Li Liu, Glen Laird, Lei Gao Biostatistics Sanofi

Missing Data and Imputation

Estimands, Missing Data and Sensitivity Analysis: some overview remarks. Roderick Little

On Missing Data and Genotyping Errors in Association Studies

12/30/2017. PSY 5102: Advanced Statistics for Psychological and Behavioral Research 2

A Bayesian Perspective on Unmeasured Confounding in Large Administrative Databases

MISSING DATA AND PARAMETERS ESTIMATES IN MULTIDIMENSIONAL ITEM RESPONSE MODELS. Federico Andreis, Pier Alda Ferrari *

Biostatistical modelling in genomics for clinical cancer studies

EPI 200C Final, June 4 th, 2009 This exam includes 24 questions.

Bayesian Joint Modelling of Benefit and Risk in Drug Development

Data Analysis Using Regression and Multilevel/Hierarchical Models

Bayesian Nonparametric Methods for Precision Medicine

Comparison of imputation and modelling methods in the analysis of a physical activity trial with missing outcomes

Exploring the Impact of Missing Data in Multiple Regression

Using follow-up data to adjust for selective non-participation in cross-sectional setting

Biostatistics II

Patrick Breheny. January 28

WinBUGS : part 1. Bruno Boulanger Jonathan Jaeger Astrid Jullion Philippe Lambert. Gabriele, living with rheumatoid arthritis

COMMITTEE FOR PROPRIETARY MEDICINAL PRODUCTS (CPMP) POINTS TO CONSIDER ON MISSING DATA

Structural Equation Modeling (SEM)

Bayesian performance

NEW METHODS FOR SENSITIVITY TESTS OF EXPLOSIVE DEVICES

Bayesian Models for Combining Data Across Subjects and Studies in Predictive fmri Data Analysis

RAG Rating Indicator Values

Instrumental Variables Estimation: An Introduction

Analysis of Environmental Data Conceptual Foundations: En viro n m e n tal Data

Validity and reliability of measurements

Bayesian growth mixture models to distinguish hemoglobin value trajectories in blood donors

STATISTICAL METHODS FOR THE EVALUATION OF A CANCER SCREENING PROGRAM

Regression Discontinuity Designs: An Approach to Causal Inference Using Observational Data

Statistical Reasoning in Public Health Biostatistics 612, 2009, HW#3

Author's response to reviews

Sensitivity Analysis in Observational Research: Introducing the E-value

Econometric Game 2012: infants birthweight?

Data Analysis in the Health Sciences. Final Exam 2010 EPIB 621

Analysis of Vaccine Effects on Post-Infection Endpoints Biostat 578A Lecture 3

Joseph W Hogan Brown University & AMPATH February 16, 2010

False Discovery Rates and Copy Number Variation. Bradley Efron and Nancy Zhang Stanford University

Fitting growth curve models in the Bayesian framework

t-test Tutorial Aliza McConnahey & Josh Petkash

Bayesian Model Averaging for Propensity Score Analysis

Bias in regression coefficient estimates when assumptions for handling missing data are violated: a simulation study

Selected Topics in Biostatistics Seminar Series. Missing Data. Sponsored by: Center For Clinical Investigation and Cleveland CTSC

Application of Local Control Strategy in analyses of the effects of Radon on Lung Cancer Mortality for 2,881 US Counties

Measures of Association

Chapter 02. Basic Research Methodology

Sample size calculation for a stepped wedge trial

Citation for published version (APA): Ebbes, P. (2004). Latent instrumental variables: a new approach to solve for endogeneity s.n.

Introduction to Multilevel Models for Longitudinal and Repeated Measures Data

Bayesian Adjustments for Misclassified Data. Lawrence Joseph

Hakan Demirtas, Anup Amatya, Oksana Pugach, John Cursio, Fei Shi, David Morton and Beyza Doganay 1. INTRODUCTION

Validity and reliability of measurements

Modelling Spatially Correlated Survival Data for Individuals with Multiple Cancers

Bayesian Adjustments for Misclassified Data. Lawrence Joseph

Statistical reports Regression, 2010

Meta-analysis of few small studies in small populations and rare diseases

Logistic Regression Predicting the Chances of Coronary Heart Disease. Multivariate Solutions

Measuring association in contingency tables

Risk-prediction modelling in cancer with multiple genomic data sets: a Bayesian variable selection approach

Bayesian Joint Modelling of Longitudinal and Survival Data of HIV/AIDS Patients: A Case Study at Bale Robe General Hospital, Ethiopia

Module 14: Missing Data Concepts

Kelvin Chan Feb 10, 2015

Transcription:

Missing data Patrick Breheny April 3 Patrick Breheny BST 71: Bayesian Modeling in Biostatistics 1/39

Our final topic for the semester is missing data Missing data is very common in practice, and can occur for a variety of reasons: patients skip hospital visits, investigators run out of time, investigators run out of money, experiments fail, subjects refuse to answer questions or permit tests, etc. There is an extensive literature on the topic of missing data and a wide variety of methods and approaches; although we cannot hope to do justice to the entire topic in a week, we can illustrate some of the issues and how they can be addressed in a Bayesian MCMC framework Patrick Breheny BST 71: Bayesian Modeling in Biostatistics /39

Missing data in the Bayesian paradigm In Bayesian statistics, there is no fundamental difference between data and parameters ; both are random, the only difference is that data are observable whereas parameters are not Missing data, then, is simply another unobserved quantity in the model it requires a prior and will have a posterior distribution The requires a prior remark is more complicated than it sounds, though depending on the type of missing data, we may need to give a lot of thought to modeling the missing data mechanism Furthermore, we do not typically model the distribution of covariates; this adds an additional layer of complexity when covariates are missing Patrick Breheny BST 71: Bayesian Modeling in Biostatistics 3/39

Missing data models The complexity of these missing-data models can vary considerably depending on the mechanism that may have resulted in missing data In the simplest case, it may be reasonable to assume y i iid p(θ) Somewhat more complicated, it may be the case that the value of the missing data depends on other values recorded for that observation: y i p(θ, x i ) Still more complicated, the probability that an observation is missing may depend on the missing value itself (e.g., obese individuals may be less likely to report their weight, minorities may be less likely to report their ethnicity), or upon unobserved covariates Patrick Breheny BST 71: Bayesian Modeling in Biostatistics 4/39

Imputation The most common approach to handling missing data is probably to throw out observations with missing values, but this has two large drawbacks: Doing so throws away information and reduces efficiency Doing so may introduce selection bias Another approach, also common and usually better, for handling missing data is imputation: filling in missing values with reasonable guesses as to what the value may have been Imputation methods range from simple (fill in missing values with the mean) to complex, model-based approaches, and may be deterministic or random Patrick Breheny BST 71: Bayesian Modeling in Biostatistics 5/39

Multiple imputation A refinement of single imputation is multiple imputation, in which missing observations are repeatedly replaced with random values (typically from the predictive distribution of a model), creating several imputed data sets in which the observed values remain the same but the missing data varies from data set to data set In a sense, this is similar to what occurs in a Bayesian model fit using Gibbs sampling: with each iteration, missing data are drawn conditional on the current values of θ, then θ is drawn from its full conditional given the current ( imputed ) values of the missing data Multiple imputation, however, requires extra adjustments to simultaneously account for uncertainty in the parameter estimates and uncertainty in the values of the missing data (and does not entirely account for all sources of uncertainty) Patrick Breheny BST 71: Bayesian Modeling in Biostatistics 6/39

Ignorable Informative We begin with the case of missing responses and illustrate using the CD4 data One can consider this data set to contain missing values in the sense that some subjects do not have recordings for all visits 1, 4, 7, 1, 13, 16, and 19 We will analyze this data two ways: the first assuming that the missingness is essentially ignorable, and the second assuming that missing values are more likely to have low CD4 percentages Patrick Breheny BST 71: Bayesian Modeling in Biostatistics 7/39

New data structure Ignorable Informative Thus, instead of: ID CD4Pct 1 1. 4.3 we now have ID CD4Pct 1 1. 4.3 7 NA 1 NA 13 NA 16 NA 19 NA Patrick Breheny BST 71: Bayesian Modeling in Biostatistics 8/39

Results Ignorable Informative First, we consider fitting the exact same model as in the assignment (model 3, specifically) Not surprisingly, we obtain the exact same posterior; the only difference is that (if we choose to monitor them), JAGS returns draws from the posterior predictive distribution of y for the missing observations Be careful, however, in monitoring all of y, as it can be a considerable computational burden to store an enormous array of y values, especially when the majority of values are identical from one iteration to the next Patrick Breheny BST 71: Bayesian Modeling in Biostatistics 9/39

Subject Ignorable Informative 1 1 3 Patrick Breheny BST 71: Bayesian Modeling in Biostatistics 1/39

Ignorable Informative Posterior for γ β For future reference, here is the posterior for γ β, the slope (in years) Median.5% 97.5% γ β1 -.3 -.35 -.11 γ β.4 -.13.1 In other words, the control group had average slope -.3, while the treatment group had average slope -.19 Patrick Breheny BST 71: Bayesian Modeling in Biostatistics 11/39

Informative missingness Ignorable Informative Alternatively, it is possible that patients drop out of the study because they are too sick to continue, or have died Let Miss indicate whether or not y is missing for a given visit; consider adding the following logistic regression component to our model: log Miss i π i Binom(1, π i ) ) = γ m1 + γ m y i 1 π i γ m1 N(, 1) ( πi γ m N(, 1/1) Patrick Breheny BST 71: Bayesian Modeling in Biostatistics 1/39

Remarks Ignorable Informative Under the new model, the fact that an observation is missing may potentially inform us as to what its value may have been Note that we could not possibly fit this model classically without imputing y, as y would be missing (by definition) in all cases where the outcome equals 1 The model depends on imputing values for y, although note that this is done dynamically here in the sense that the imputation informs us about the missingness parameters (γ m ), which in turn informs us about the missing values of y, which affects α, β, which affect the next imputation, etc. Patrick Breheny BST 71: Bayesian Modeling in Biostatistics 13/39

Code Ignorable Informative ## level for (i in 1:n) { y[i] ~ dnorm(a[id[i]] + b[id[i]]*x[i], sigma[1]^(-)) Miss[i] ~ dbern(p[i]) logit(p[i]) <- gm[1] + gm[]*y[i] } gm[1] ~ dnorm(,.1) gm[] ~ dnorm(, 1) Patrick Breheny BST 71: Bayesian Modeling in Biostatistics 14/39

Missing-data model Ignorable Informative Posterior mean for γ m is -.76, with 95% interval (-.88, -.61) 1..8 Pr(Miss).6.4.. 1 3 4 5 CD4 % Patrick Breheny BST 71: Bayesian Modeling in Biostatistics 15/39

Subject Ignorable Informative Ignorable Informative 1 1 3 Patrick Breheny BST 71: Bayesian Modeling in Biostatistics 16/39

Ignorable Informative Posterior for γ β Under the informative missingness model, we have the following posterior for the population-level slope parameters: Median.5% 97.5% γ β1 -.59 -.77 -.4 γ β -.6 -.9.18 In other words, the average progression (in both groups) is considerably more rapid if we assume an informative missingness than if we ignore it; there s still no solid evidence that treatment has any effect on disease progression Patrick Breheny BST 71: Bayesian Modeling in Biostatistics 17/39

Representative patients Ignorable Informative 4 3 1 5 4 3 1 4 3 1 5 4 3 5 4 3 4 3 1 1 1 4 3 1 4 3 1 5 4 3 5 4 3 4 3 1 3 1 5 4 3 1 5 4 3 5 4 3 5 4 3 1 1 5 4 3 5 4 3 1 Patrick Breheny BST 71: Bayesian Modeling in Biostatistics 18/39

Representative patients Ignorable Informative 5 5 5 5 5 4 4 4 4 4 3 3 3 3 3 1 1 1 1 1 5 5 5 5 5 4 4 4 4 4 3 3 3 3 3 1 1 1 1 1 5 5 5 5 5 4 4 4 4 4 3 3 3 3 3 1 1 1 1 1 5 5 5 5 5 4 4 4 4 4 3 3 3 3 3 1 1 1 1 1 Patrick Breheny BST 71: Bayesian Modeling in Biostatistics 19/39

THM study: We now turn to the case where we have missing covariate data To illustrate, we will analyze data from a study of trihalomethanes (THM) in domestic tap water THMs are a chemical byproduct of the treatment process used to disinfect the public water supply As we mentioned earlier in the course, THMs are thought to be carcinogenic in humans at high concentrations, but may also have other deleterious consequences; here we investigate the relationship between THM levels and the probability that a child is born with a low birthweight Patrick Breheny BST 71: Bayesian Modeling in Biostatistics /39

Data The study used data from the UK (United Kingdom, not University of Kentucky) National Births Register, which contains data on the birth weight (here categorized as lbw), where the mother lives (from which the THM levels in her water supply could be estimated, dichotomized into > 6µg/L or not) and the sex of the baby (Male) Socioeconomic status may play a role; as a rough measure of that, we include Dep, an indicator for whether the mother lived in a deprived local area Patrick Breheny BST 71: Bayesian Modeling in Biostatistics 1/39

Missing data Smoking and ethnicity are known risk factors for low birthweight, as well as potential confounders with THM levels due to their spatial patterns It would certainly be desirable to control for smoking and ethnicity, but these variables are not recorded in the Births Register They are, however, available for a separate group of mothers who participated in a study known as the national birth cohort study The full sample, therefore, consists of 1, births from the cohort study with complete data and 3, births from the registry with missing values for smoking and ethnicity Patrick Breheny BST 71: Bayesian Modeling in Biostatistics /39

We begin with a simple model to illustrate the basic idea of modeling the distribution of covariates No matter how ignorable the missing data may be, we still must specify a distribution for the covariates In this particular case, this is straightforward both Smk and Eth are indicator variables (for maternal smoking during pregnancy and non-white ethnicity, respectively), so a Bernoulli distribution is a natural choice Patrick Breheny BST 71: Bayesian Modeling in Biostatistics 3/39

Implementation This is straightforward to implement: # Imputation for (i in 1:n) { Smk[i] ~ dbern(theta[1]) Eth[i] ~ dbern(theta[]) } for (j in 1:) { theta[j] ~ dunif(,1) } Note that in doing this, we re assuming that smoking and ethnicity are independent of the other explanatory variables Patrick Breheny BST 71: Bayesian Modeling in Biostatistics 4/39

Comparison with external imputation Note that we are not, however, assuming that smoking and ethnicity are independent of the outcome (low birth weight); the fact that smoking and ethnicity appear in the logistic regression model allows their imputation to be influenced by the response This is in stark contrast to external imputation, in which the imputation model must include the response, otherwise effect estimates will be biased towards Patrick Breheny BST 71: Bayesian Modeling in Biostatistics 5/39

Results Eth Smk THM Dep Male.5 1. 1.5..5 3. 3.5 4. 4.5 Odds ratio Patrick Breheny BST 71: Bayesian Modeling in Biostatistics 6/39

Imputation illustration lbw THM Dep Male Smk Eth SmkImp EthImp 14 1 1.49.37 1476 1.3.19 The sample means (among the complete cases) for Smk and Eth were.355 and.8, respectively Patrick Breheny BST 71: Bayesian Modeling in Biostatistics 7/39

Comparison: Imputation To illustrate the bias towards zero phenomenon, let s compare the results of our Bayesian model with an external imputation, in which we impute Smk and Eth and then fit a logistic regression model to the imputed data set: OR estimates Smoking Ethnicity Two-step 1.4 1.5 Bayes.4.8 Patrick Breheny BST 71: Bayesian Modeling in Biostatistics 8/39

Comparison: Complete-case How does this affect the estimate of the effect of THM? Let s compare our odds ratio estimates with that of the unadjusted logistic regression and the complete-case analysis: 95% Interval OR Lower Upper Bayes 1.4 1. 1.7 Unadjusted 1.4 1. 1.7 Complete-case 1.1.8 1.6 Patrick Breheny BST 71: Bayesian Modeling in Biostatistics 9/39

Ignorable missingness? The assumption of ignorable missingness is perhaps a bit questionable in this case For example, 51% of smokers were exposed to high THM levels, compared with 4% of nonsmokers Likewise, 5% of non-white mothers were exposed to high THM levels, compared with 41% of white mothers Furthermore, 4% of non-white mothers smoked, compared with 39% of white mothers In other words, Smk and Eth do not seem to be independent of each other or the exposure of interest Patrick Breheny BST 71: Bayesian Modeling in Biostatistics 3/39

Area variables Furthermore, the investigators have access to the area of residence for the mothers, which may contain useful clues about the smoking status and ethnicity of the mother The data set online also contains SmkArea, the proportion of mothers in a given mother s residenial area who smoke, and similarly for EthArea We can use these variables, along with THM and maybe others, to build an imputation model Patrick Breheny BST 71: Bayesian Modeling in Biostatistics 31/39

Correlation If we only had one variable to impute, or if the variables were independent, we could consider a logistic regression model (or models) However, it seems plausible that the two variables are correlated, which complicates things a bit as we now need a model for a multivariate discrete outcome Correlations among normally distributed variables are relatively straightforward, but things are much more complicated for other distributions Patrick Breheny BST 71: Bayesian Modeling in Biostatistics 3/39

Multivariate probit models For this reason, it is often convenient to work with a latent variable approach that treats the discrete variable as a coarse observation of an underlying continuous quantity Specifically, we consider the following model: z i N(µ i, Σ) µ i1 = δ 11 + δ 1 THM i + δ 15 SmkArea i + δ 16 EthArea i µ i = δ 1 + δ THM i + δ 5 SmkArea i + δ 6 EthArea i { 1 z i1 > Smk i = z i1 { 1 z i > Eth i = z i Patrick Breheny BST 71: Bayesian Modeling in Biostatistics 33/39

Implementation The model can be implemented in JAGS as follows: for (i in 1:n) { Z[i,1:] ~ dmnorm(mu[i,1:], Omega[1:,1:]) mu[i,1] <- d[1,1] + d[,1]*thm[i] + d[3,1]*male[i] + d[4,1]*dep[i] + d[5,1]*smkarea[i] + d[6,1]*etharea[i] mu[i,] <- d[1,] + d[,]*thm[i] + d[3,]*male[i] + d[4,]*dep[i] + d[5,]*smkarea[i] + d[6,]*etharea[i] Smk[i] ~ dinterval(z[i,1],) Eth[i] ~ dinterval(z[i,],) } with standard uninformative priors on δ and a (1, ρ, ρ, 1) prior on Σ Patrick Breheny BST 71: Bayesian Modeling in Biostatistics 34/39

Imputation model results 95% interval for ρ: (-.41, -.1) THM THM Male Male Dep Dep SmkArea SmkArea EthArea EthArea.5..5 1. 1.5. δ 1 1 3 4 5 δ Patrick Breheny BST 71: Bayesian Modeling in Biostatistics 35/39

Imputation examples For the same two patients as before: lbw THM SmkArea EthArea SmkImp EthImp 14 1 1.6.18.46.47 1476.45..36.6 Patrick Breheny BST 71: Bayesian Modeling in Biostatistics 36/39

Results: Birthweight model Eth Smk THM Dep Male 1 3 4 5 Odds ratio Patrick Breheny BST 71: Bayesian Modeling in Biostatistics 37/39

Comparison 95% Interval OR Lower Upper Bayes (model) 1. 1. 1.4 Bayes (ignorable) 1.4 1. 1.7 Unadjusted 1.4 1. 1.7 Complete-case 1.1.8 1.6 Patrick Breheny BST 71: Bayesian Modeling in Biostatistics 38/39

Final remarks THM levels are correlated with smoking and ethnicity; failing to adjust for this effect leads to an overestimation of the risk posed by THM Treating the missing data as ignorable/missing completely at random also fails to properly adjust for these confounding variables The complete-case analysis seems reasonable in this case, but we have to throw away 75% of our data The multivariate model for the missing covariates properly adjusts for confounding, with a substantial reduction in uncertainty compared to the complete-case analysis THM seems to pose a borderline significant risk for low birth weight, although the effect is rather small Patrick Breheny BST 71: Bayesian Modeling in Biostatistics 39/39