Tutorials › Propensity Score Matching and Instrumental Variables › Reporting Missing Data and Data Processing

Reporting Observational Comparative Studies · Tutorial 655 of 699

Reporting Missing Data and Data Processing

Learn to make missing-data handling transparent, reproducible, and interpretable in an observational comparative study.

Intermediate 11 min read

What You'll Learn

  • Tabulate missing counts and percentages by variable and analysis group, using clear denominators.
  • Distinguish missing, structurally inapplicable, and invalid values.
  • Report complete-case exclusions and imputation procedures without implying that a method removes bias automatically.
  • Document coding rules, transformations, and the treatment of implausible values.
  • Describe assumptions and diagnostics while recognizing what missingness checks cannot establish.

Why Missing-Data Reporting Matters

A reader cannot evaluate an observational comparison if the report says only that “missing values were handled appropriately.” Missingness can differ between treatment groups, affect particular covariates or outcomes, and change which individuals contribute to an analysis. Data processing choices can also alter the meaning or scale of measured variables. Reporting these details lets readers understand what data were available, what was changed, and which assumptions support the chosen handling procedure.

This tutorial focuses on transparent reporting, not on selecting a propensity-score model or presenting matching and weighting diagnostics. The essential practice is to describe missingness and processing decisions at the level of each relevant variable and analysis group, then explain how those decisions connect to the analysis sample.

Definition: For an individual and variable, a value is missing when it was not observed or could not be used as intended. A missingness indicator \(R\) equals 1 when the value is observed and 0 when it is missing. A missingness percentage for a group and variable is the number of missing values divided by the number of individuals in that group for whom that variable was intended to be measured.

A variable may be unavailable for a meaningful reason. For example, a laboratory test may not have been ordered, or a question may not apply to a particular participant. State whether such cases were coded as missing, treated as a separate category, or excluded from the denominator. Do not combine “not applicable,” “not measured,” “unknown,” and a genuine zero without explaining the coding: they can have different meanings.

Describe Missingness by Variable and Group

A useful summary reports counts and percentages for each important variable separately in the treatment and comparator groups. State the denominator, define the groups, and identify the time point or measurement window. An overall percentage alone can hide a group difference; a group-level summary alone can hide that one variable is much less complete than another.

For a variable intended for all group members, calculate the percentage as \(100 \times \text{number missing}/\text{group denominator}\). If intended measurement varies, report the eligible denominator as well as the missing count. Specify whether the table describes the eligible cohort, the analysis sample before missing-data handling, or another point in cohort construction. If missingness overlaps across variables, do not add variable-specific missing counts and call the sum the number of people excluded; a person may be missing more than one variable.

Worked Example: Building a Group-by-Variable Missingness Table

Suppose a hypothetical comparative study has 120 participants in the treatment group and 180 in the comparator group. Age, a baseline laboratory measure, and smoking status were intended to be recorded for everyone. The observed missing counts are: age, 6 and 18; laboratory measure, 24 and 27; smoking status, 12 and 36, respectively.

For age, the treatment-group percentage is \(100(6/120)=5.00\%\); the comparator-group percentage is \(100(18/180)=10.0\%\). For the laboratory measure, the percentages are \(100(24/120)=20.0\%\) and \(100(27/180)=15.0\%\). For smoking status, they are \(100(12/120)=10.0\%\) and \(100(36/180)=20.0\%\). The denominators are 120 and 180 in every row because each variable was intended for every member of its group.

VariableTreatment missing, n/N (%)Comparator missing, n/N (%)
Age6/120 (5.00%)18/180 (10.0%)
Baseline laboratory measure24/120 (20.0%)27/180 (15.0%)
Smoking status12/120 (10.0%)36/180 (20.0%)

The report should also say whether these counts are before or after exclusions and whether missingness means “not recorded” only. The three counts within a group cannot be summed to obtain the number with any missing data unless the overlap between variables is known.

A short derivation clarifies why denominators matter. If \(M\) values are missing among \(N\) eligible individuals, the observed-value count is \(N-M\), and the missingness proportion is \(M/N\). Using only observed values as the denominator instead gives \(M/(N-M)\), which is not the fraction missing among eligible individuals. For example, 20 missing values among 100 eligible people means 20%, not \(20/80=25\%\). If only 80 people were eligible for measurement, however, the correct denominator would be 80; eligibility must therefore be defined, not guessed from the data table.

State the Handling Procedure and Its Assumptions

Reports should name the handling procedure and specify which variables and analyses it affected. With complete-case analysis, state the variables that had to be observed, the number retained and excluded, and the counts by group. The term “complete case” is otherwise ambiguous: a record may be complete for one model but incomplete for another.

Complete-case analysis does not automatically preserve an unbiased comparison. Let \(Y\) be a variable of interest and \(R=1\) indicate that it is observed. If missingness is completely at random, \(R\) is independent of the full data, including \(Y\). Then:

$$ E(Y\mid R=1)=E(Y) $$

This follows because independence makes the distribution of \(Y\) among records with \(R=1\) the same as the distribution of \(Y\) overall. If selection into the complete-case sample depends on observed or unobserved data, that equality need not hold. In comparative analyses, the relevant conditions can involve treatment, outcome, and covariates; an overall complete-case percentage does not establish that the analysis is unbiased.

Multiple imputation is another common approach. Report the variables imputed, the number of imputed data sets, the broad imputation model specification, how treatment and outcome information were incorporated when appropriate, and how estimates and uncertainty were combined. State the assumptions supporting the method. In particular, missing at random (MAR) means that, conditional on observed information included in the missingness model, the probability of missingness does not depend on the unobserved value itself. MAR is an assumption, not a conclusion established by a test. Missing not at random (MNAR) means missingness can still depend on the unobserved value after conditioning on observed information. No routine check of observed data can rule out MNAR.

For any approach, distinguish the assumption from the evidence used to assess whether the procedure behaved plausibly. Useful checks may include comparing missingness patterns across groups and measured characteristics, checking imputed values against plausible ranges and observed distributions, and reviewing convergence or other algorithm diagnostics for the chosen imputation procedure. These checks can reveal problems; they cannot prove that the missingness assumption is true.

Worked Example: Reporting Complete-Case Exclusions

Consider a hypothetical study with 100 treated and 150 comparator participants. The prespecified analysis requires observed age, baseline laboratory measure, smoking status, and outcome. After applying that requirement, 82 treated and 126 comparator participants have complete records.

The treated group has \(100-82=18\) incomplete records, or \(100(18/100)=18.0\%\). The comparator group has \(150-126=24\) incomplete records, or \(100(24/150)=16.0\%\). Overall, \(250\) participants were eligible and \(42\) were excluded, so the overall exclusion fraction is \(42/250=0.168\), or \(16.8\%\). The analysis includes \(82+126=208\) participants.

A transparent report would say that the complete-case analysis required observed values for the four named variables, retained 82/100 treated and 126/150 comparator participants, and excluded 18 and 24 participants, respectively. It would also provide variable-specific missingness counts and, if known, explain how often omissions overlapped. The group-specific counts make clear that exclusion was not identical across groups, but they do not by themselves establish bias or its direction.

The report should state the assumptions under which complete-case results are interpreted. It should not call the analysis unbiased merely because most records were complete, nor infer that the missingness was completely at random from similar exclusion percentages. Similar rates can arise from different missingness patterns.

Document Coding and Transformations

Data processing is part of the analysis and should be reproducible from the report. Describe how raw values became analysis variables, especially when the choices affect interpretation or eligibility. Relevant details include category mappings, reference groups, units, measurement windows, derived-variable formulas, handling of implausible values, and whether a transformation was performed before or after imputation.

For example, report whether a recorded smoking code of 9 meant “unknown” and was converted to missing, rather than treated as a smoking category. If a laboratory value recorded in mg/dL was converted to mmol/L, give the conversion factor or formula and identify the units used in analysis. If negative values were set to missing because they were impossible under the measurement definition, state the rule and how many records it affected. Avoid vague statements such as “variables were cleaned” or “outliers were removed.”

Worked Example: Reporting Coding and Imputation

In a hypothetical study, smoking status is recorded as 0 for no, 1 for yes, and 9 for unknown. A baseline laboratory value is recorded in mg/dL, with negative values considered invalid. The report states that code 9 was recoded as missing, the observed smoking categories remained no and yes, and 7 negative laboratory entries were set to missing before imputation. It also states that laboratory values were converted to mmol/L by multiplying mg/dL by 0.0555.

For an observed value of 90 mg/dL, the analysis value is \(90 \times 0.0555=4.995\) mmol/L, reported as 5.00 mmol/L. This makes both the transformation and the resulting scale reproducible. The report should identify whether the seven invalid records are included in the missingness table and whether their values were treated as missing in the imputation procedure.

Suppose the investigators used 20 multiply imputed data sets for missing age, laboratory values, and smoking status. A complete description would identify those variables, state the number of data sets, summarize the information used in the imputation models, describe the method for combining estimates, and report checks such as whether imputed laboratory values fell within plausible bounds and whether imputed and observed distributions were reasonably compatible. It would also state that the interpretation relies on the imputation assumptions, including MAR conditional on the information used. These checks support evaluation of implementation, but cannot verify MAR.

Diagnostics, Alternatives, and Common Pitfalls

The principal alternatives are complete-case analysis, imputation, and other explicitly defined approaches such as using available observations for a particular summary. They answer to different assumptions and can yield different analysis populations. A report should not present them as interchangeable data-cleaning choices. If a study uses more than one approach, state which result is primary and describe the others as sensitivity or supplementary analyses only when that is how they were prespecified and interpreted.

ApproachWhat to reportKey caution
Complete-case analysisRequired variables, retained and excluded counts by group, and missingness summariesExcluding incomplete records can change the analyzed population and introduce bias
Multiple imputationVariables imputed, number of data sets, model information, pooling, assumptions, and checksImputation does not remove the need for assumptions or appropriate model specification
Available observations for a summaryVariable-specific denominator and the rule for using observed valuesDifferent summaries may describe different subsets of participants

Check for coding errors such as special numeric codes accidentally treated as real measurements, transformations applied in inconsistent units, and missingness percentages calculated with the wrong denominator. For imputation, inspect whether the procedure completed as intended, whether imputed values violate known constraints, and whether the imputed distributions are plausible in context. For complete-case analysis, compare the reported retained counts with the stated exclusion rule and check whether group-specific losses are visible.

A common mistake is to write, “A test found no significant difference in missingness, so the data were missing completely at random.” This is incorrect. A nonsignificant test does not establish equality of missingness patterns, and an observed-data comparison cannot test whether missingness depends on values that were never observed. The correction is to report the observed patterns and any checks, state the assumption used by the analysis, and acknowledge that the assumption cannot generally be confirmed from observed data alone.

Another mistake is to report only the total number of imputed cells or excluded records. That number conceals which variables and groups were affected. Report variable-by-group missingness and analysis-specific participant counts, then explain how overlapping missing values contributed to exclusions or were handled by imputation. Keep the account bounded: document missingness and processing here, while presenting propensity-score specifications, balance diagnostics, and final effect estimates in their appropriate analyses.

Key takeaway: A reproducible missing-data account identifies the denominator, variable, group, and analysis stage; states every consequential coding or transformation rule; names the handling procedure; and separates its assumptions from diagnostics that can only assess, not prove, those assumptions.

Check Your Understanding

Answer each question, then compare your reasoning with the solutions.

  1. In a group of 80 eligible participants, 12 values are missing. What missingness percentage should be reported, and what is the denominator?
  2. Why can variable-specific missing counts not usually be summed to obtain the number of participants excluded as complete cases?
  3. A report says that a missingness test was nonsignificant, therefore missingness was completely at random. What is wrong with this conclusion?
  4. What details should be reported when a numeric code for “unknown” is recoded as missing and a measurement is converted to a new unit?
  5. A study uses multiple imputation. Name two implementation checks and one assumption that the checks cannot establish.

Solutions. (1) \(100(12/80)=15.0\%\); the denominator is all 80 eligible participants for whom the variable was intended. (2) The same participant may be missing several variables, so the counts overlap; the number with any missing value requires the joint pattern or a direct count. (3) A nonsignificant result is not proof of no group difference, and observed-data tests cannot establish independence from unobserved values. The report should describe observed patterns and state the assumption without claiming it was proven. (4) Give the original code and its meaning, the recoding rule, the number affected if available, the conversion formula or factor, and the units before and after processing. (5) Examples include checking imputed values against plausible bounds and comparing observed and imputed distributions; such checks cannot establish MAR or rule out MNAR.

Clinical Biostats