Skip to main content
BMJ Open Access logoLink to BMJ Open Access
. 2026 Jan 9;80(5):e224750. doi: 10.1136/jech-2025-224750

Accounting for missing data in public health research using a synthesis of statistical and mathematical models

Paul N Zivich 1,, Bonnie E Shook-Sa 2,3, Stephen R Cole 1, Eric T Lofgren 4, Jessie K Edwards 1
PMCID: PMC7618619  EMSID: EMS211453  PMID: 41513267

Abstract

Introduction

Accounting for missing data by imputing or weighting conditional on covariates relies on the variable with missingness being observed at least some of the time for all unique covariate values. This requirement is referred to as positivity, and positivity violations can result in bias. Here, we review a novel approach to addressing positivity violations in the context of systolic blood pressure.

Methods

To illustrate the proposed approach, we estimate the mean systolic blood pressure among children and adolescents aged 2–17 years old in the USA using data from the 2017–2018 National Health and Nutrition Examination Survey (NHANES). As blood pressure was not measured for those aged 2–7, there exists a positivity violation by design. Using a recently proposed synthesis of statistical and mathematical models, we integrate external information with NHANES to address our motivating question.

Results

With the synthesis model, the estimated mean systolic blood pressure was 100.5 (95% CI 99.9 to 101.0), which is notably lower than either a complete-case analysis or extrapolation from a statistical model. The synthesis results were supported by a diagnostic comparing the performance of the mathematical model in the positive region.

Discussion

Positivity violations pose a threat to quantitative medical research, and standard approaches to addressing non-positivity rely on restrictive untestable assumptions. Using a synthesis model, like the one detailed here, offers a viable alternative.

Keywords: BLOOD PRESSURE; METHODS; MODELS, THEORETICAL; STATISTICS; STUDY DESIGN


WHAT IS ALREADY KNOWN ON THIS TOPIC

  • Positivity is an important underlying assumption for many methods to address systematic errors, or biases, in epidemiologic research.

  • When there is non-positivity, epidemiologists have had to modify their scientific questions or rely on strong parametric modelling assumptions to extrapolate.

WHAT THIS STUDY ADDS

  • A recently proposed method to address positivity violations based on a synthesis of statistical and mathematical models is reviewed and illustrated in the context of systolic blood pressure, missing data and non-positivity.

HOW THIS STUDY MIGHT AFFECT RESEARCH, PRACTICE OR POLICY

  • The method reviewed in this article offers a way forward when the positivity assumption is not met, which does not require modifying the motivating epidemiologic question or having to rely on extrapolation.

Introduction

Suppose we are interested in estimating the mean systolic blood pressure (SBP) among children and adolescents aged 2–17 in the USA between 2017 and 2018. To estimate this mean, we use data from the National Health and Nutrition Examination Survey (NHANES), a nationally representative survey of children in the USA.1 However, SBP measurements are partially missing. While we could restrict our data to those with measured SBP (ie, conduct a complete-case analysis), this approach may be biased when there is a variable predictive of both SBP and missingness of SBP.2 Instead, methods like weighting and imputation can be used to correct for missing outcome data.3 In the absence of strong parametric modelling assumptions, these methods assume that SBP is measured for at least some people for each unique value of the measured variables. For example, if missingness depends on age (which is related to SBP), then these methods assume that SBP has a non-zero probability of being measured for each age. This assumption is referred to as positivity and can lead to bias when it is violated.24,6 Existing approaches to address non-positivity require modifying the scientific question or extrapolating from a statistical model. In recent work, Zivich and colleagues introduced a new approach that avoids the issues of these existing approaches.7 8 Here, we review the problem posed by non-positivity and illustrate this novel alternative with publicly available data and corresponding code in R and Python to replicate the analyses.9

Methods

Here, we consider the following variables collected by NHANES. The variable of interest, SBP (mm Hg), was measured up to three times. In this analysis, we took the mean of the available SBP measurements, and SBP was set to missing if fewer than two measurements were available. Sampling weights were applied for inference to the US population. Additional covariates included age (years), height (centimetres), weight (kilograms) and gender (male, female).

In the NHANES data, SBP was missing for 44% of children. Unless SBP and the probability of missing SBP are independent, a complete-case analysis (ie, restricting to only those with measured SBP) can be substantially biased.2 To help make these ideas more precise, we introduce some notation. Let X be age and Y be SBP, and R=1 indicate that SBP was observed. Our parameter of interest, the mean SBP for children and adolescents, can be expressed as μ=EY, where E is the expected value function. However, SBP is only observed for those with R=1. For a complete-case analysis to be unbiased, SBP and missingness must be marginally independent or exchangeable,3 which can be expressed as EY=EY|R=1 and indicates that those with a measured SBP are a random sample of all children and adolescents. This assumption would be valid if NHANES randomly determined which participants had their SBP measured. However, this assumption is not consistent with the NHANES design.

With missing data, a marginal exchangeability assumption is often unreasonable, as investigators rarely have control over non-response. However, weaker assumptions regarding the missing data mechanism can be made. Rather than marginal exchangeability, we can instead assume conditional exchangeability. For didactic purposes, consider whether missingness was independent of SBP conditional on age. The conditional exchangeability assumption can then be expressed as EY|X=x=EY|X=x,R=1 for all ages x from 2 to 17. This assumption states that those with a measured SBP are a random sample within each stratum of age from 2 to 17, allowing those with a measured SBP to ‘stand in’ for those with an unmeasured SBP that are the same age. Implicitly, this exchangeability assumption comes with the positivity assumption that SBP has a non-zero probability of being measured for each unique age in our population.4 10 This assumption can be written as PrR=1|X=x§amp;gt;0 for all ages x from 2 to 17. To illustrate why positivity is important, note that if everyone of a given age does not have a measured SBP, then there would be no one with a measured SBP to stand in for them.

Given conditional exchangeability with positivity, we can express the parameter of interest, μ, in terms of the data we observed. Specifically, we can show that

EY=xEY|X=x,R=1PrX=x

following from the law of total expectation over all ages x from 2 to 17 and exchangeability with positivity. As the right-hand side is expressed in terms of the observed data, this result provides a recipe for estimating μ. Specifically, it motivates a direct maximum likelihood estimator, also referred to as g-computation or imputation.2 3 To apply this method, one first estimates a regression model for SBP given age among all observations with complete data and the NHANES sampling weights. Then, using this estimated model, one predicts SBP given age for all children in the dataset. Effectively, this approach fills in the missing values for all observations. The mean SBP is then estimated by taking the sample-weighted average of the predicted SBP.

Non-positivity

Positivity is violated in our example, as NHANES did not measure SBP for any participants <8 years old. To reiterate why non-positivity is an issue, suppose we considered the following model for SBP given age

E[Y | X,R=1; β]=β2I(X=2)+β3 I(X=3)++β17I(X=17)

where I is the indicator function. In this model, there is a unique coefficient for each age (ie, the model is saturated), so no parametric modelling assumptions are imposed. Non-positivity means that there is no one with SBP measured for ages <8, so the coefficients from β2 through β7 cannot be estimated using the NHANES data alone.

Existing approaches

To proceed when there is non-positivity, we could modify the research question. Here, we could consider estimating the mean SBP in children aged 8–17 instead, represented mathematically as E[YX8]. While valid, this revision addresses a different research question and thus may limit the utility of this data analysis if the interest is really in the 2–17 age range. Instead, consider another approach to address the original research question. One could incorporate structural or parametric assumptions into a statistical model and use that model to extrapolate to ages with unmeasured SBP. For example, we might consider the following linear model

EY|X,R=1,;β=β0+β1X

which imposes a linear relationship between age and SBP. This model allows us to fill in SBP values of those aged 2–7 using a model fit to those aged 8–17. Use of this regression model requires two important assumptions. First, the model assumes that there is a linear relationship between SBP and age among those 8–17. This assumption is possible to assess and relax with the available data. Second, the use of this model assumes that the linear relationship extends to those aged 2–7. In other words, the model fit to those aged 8–17 is used to extrapolate to those aged 2–7. The assumption licensing this extrapolation cannot be assessed with the available NHANES data.

Proposed approach

To avoid the restrictive modelling assumptions of the extrapolation approach while still addressing the motivating question, we review a method based on a synthesis of statistical and mathematical models.7 To motivate this approach, first note that we can divide the data into two parts: one where positivity is met and one where positivity is not met. As shorthand, let X*=1 if a NHANES participant’s age was between 8 and 17 and X*=0 otherwise. Using this additional notation and the idea of dividing the data regarding whether positivity is met, we can rewrite μ as

E[Y]=E[Y | X=1]Pr(X=1)+E[Y | X=0]Pr(X=0)

which is a weighted average of the means in the positive and non-positive regions. Since X* is observed for all participants, PrX*=1 and PrX*=0 can be directly estimated from the data. Therefore, how EY|X*=1 and EY|X*=0 can be learnt is the remaining task. The core idea of the synthesis model is to rely on a statistical model to address missingness in the region with positivity (ie, EY|X*=1) and use a mathematical model to fill in missing values using external information in the non-positive region (ie, EY|X*=0).

Starting with EY|X*=1, recall that this is the region with positivity, which means standard statistical methods for missing data can be applied. Specifically, we can rely on the previous conditional exchangeability with positivity assumptions limited to those aged 8–17. These assumptions allow us to use the previously described g-computation procedure limited to those aged 8–17. Here, we use the following saturated model

E[Y | X,X=1,R=1, β]=β8I(X=8)+β9I(X=9)++β17I(X=17)

which places no parametric constraints on the relationship between age and SBP for those aged 8–17. Unlike the extrapolation approach for dealing with non-positivity, this statistical model does not require there to be a linear relationship between age and SBP for those ages 8–17.

Now, we turn the attention to EY|X*=0. To reiterate, SBP was never measured for X*=0 in the data. Therefore, we need to look outside the available NHANES data to make progress. To start, one might consider plugging in extreme but plausible values for the mean among 2–7 year olds (eg, 70–120 mm Hg).8 Plugging in these values provides a range of plausible values for μ, often referred to as bounds.11 These bounds provide a simple sensitivity analysis that only relies on the assumption that the true EY|X*=0 lies somewhere within the chosen range. How μ changes across the range of plausible values can also be plotted to further explore the bounds.

When additional external information is available, we can move beyond a sensitivity analysis and instead build a mathematical model to fill in the missing values. Here, values for those aged 2–7 are imputed based on published SBP distributions for US children and adolescents.12 The imputed values from the mathematical model come from random draws of age, gender and height percentile-specific SBP distributions. Here, we assume normal distributions under the assumption that the mean is equal to the median, and the SD is approximated from the 90th percentile. Use of this mathematical model to fill in missing values of SBP is justified by the assumption that the given external information is accurate for our context. Here, accurate external information for our context means that the source population for the published SBP descriptive statistics and the NHANES population are similar for all other predictors of SBP besides age, gender and height. This assumption would be violated, for example, if weight was distributed differently across data sources. As NHANES and the published SBP distributions are both intended to be representative of the US population, we expect any differences to be small.

To apply the synthesis model while also accounting for variability in both the statistical and mathematical models, we use a resampling procedure that incorporates the NHANES sample weights. The algorithm for this procedure is described in online supplemental appendix 1. Briefly, the NHANES data is resampled with replacement. The parameters of the statistical model are re-estimated and used to estimate EY|X*=1. Similarly, new imputed values are drawn from the mathematical model in order to estimate EY|X*=0. These values are then used to estimate μ. This process is repeated a large number of times (ie, 10 000), and the different estimates of μ are summarised by the median as the point estimate and the 2.5th and 97.5th percentiles as the 95% CI. This procedure accounts for the sampling uncertainty in NHANES as well as the uncertainty in the mathematical model parameters. However, this procedure does not account for clustering in the NHANES design, so this procedure is likely an underestimate of the uncertainty.

As mentioned, the validity of this approach is premised on the mathematical model being built from accurate external information. While there are substantive reasons to believe this assumption to be reasonable, the external information allows us to indirectly check the validity of this assumption. Here, the external information also included SBP distributions for those aged 8–17. Using this additional information, we compare the age-specific SBP values for those aged 8–17 between the statistical and mathematical models. To incorporate sources of uncertainty, the resampling procedure is used to compare the difference between the age-specific SBP averages by model. While we believe such a check to have utility, it should be recognised that this diagnostic cannot assess the applicability of the mathematical model for the non-positive region.

In practice, researchers may wish to incorporate more than one variable in their imputation model. For example, one could instead assume exchangeability conditional on age, gender, height and weight within the positive region. In online supplemental appendix 2, we show how the synthesis approach can be applied with a parametric statistical model to account for these variables in the positive region. As alluded to earlier, the use of parametric statistical models relies on the assumption that the model is correctly specified. When this assumption is not met, estimates of μ may be biased. In online supplemental appendix 3, we describe an augmented inverse probability weighting estimator for synthesis models that relies on less restrictive parametric modelling assumptions.

Research ethics

Ethical approval for this study was not required, as this was a secondary data analysis of deidentified data, and thus not considered to be human subject research under US federal regulation 45 CFR 46.102(e)(1). The design of NHANES was originally approved by the National Center for Health Statistics Ethics Review Board.

Results

Those aged 2–7 made up 34% of the NHANES weighted sample (online supplemental appendix table 1). Among those aged 8–17, SBP was missing for 8%. In a complete-case analysis, the estimated mean SBP was 104.7 (95% CI 104.1 to 105.3). These results are questionable, given what is known about the missing data and the relation between age and SBP. This estimate is more reflective of the mean SBP among those aged 8–17. With a linear extrapolation from the statistical model (figure 1), the estimated mean SBP among children and adolescents was noticeably lower (mean: 101.6, 95% CI 100.8 to 102.4). The difference between the complete-case analysis and extrapolation aligns with expectations, as those under 8 years old are expected to have lower SBP. If the mean SBP for those aged 2–7 was bound between 70 and 120, the bounds for the overall mean SBP would have ranged from 92.7 to 109.9 (95% CI 91.9 to 110.5). Figure 2 shows how μ varies across this range. With a mathematical model, the estimated mean SBP was lower than the extrapolation approach, at 100.5 (95% CI 99.9 to 101.0). This difference arises from the linear model imputing a higher mean SBP for lower ages relative to the mathematical model (figure 1). While the extrapolation and synthesis model results may not appear substantially different, the observed 1.1 mm Hg difference is 2.9 times the estimated SE of the extrapolation approach. When incorporating gender, height and weight into the outcome model, results for the synthesis model were unchanged (online supplemental appendix 2). However, the extrapolation approach results moved closer to the synthesis approach. Results did not substantially change further when using an augmented inverse probability weighting estimator (online supplemental appendix 3).

Figure 1. Systolic blood pressure by age from observations in the 2017–2018 National Health and Nutrition Examination Survey (NHANES) and projections from the mathematical model. Grey dots indicate the observed systolic blood pressure values by age (uniformly jittered for visualisation) from NHANES. Systolic blood pressure was not measured for those younger than 8 years old. The blue diamonds indicate the age-specific means. The blue line indicates a linear model fit to the observed data and projected for those under 8. The red shaded region indicates the distributions of 20 000 simulated observations from the mathematical model, with the red diamonds indicating the corresponding mean.

Figure 1

Figure 2. Sensitivity analysis for non-positivity on the mean systolic blood pressure in the 2017–2018 National Health and Nutrition Examination Survey. The black line indicates how the mean systolic blood pressure for children aged 2–17 (y-axis) varies under differing input values for the mean in the non-positive region (ie, children aged 2–8) across the range 70–120 mm Hg (x-axis). The coloured horizontal lines represent the results from the complete-case and extrapolation analyses and show how they relate to the sensitivity analysis. Shaded regions denote the 95% CIs.

Figure 2

When examining the validity of the mathematical model using the aforementioned diagnostic, the distribution of predicted SBP from the mathematical model overlaps with the observed SBP values for each age (figure 3). When comparing the differences between means and incorporating uncertainty, the estimated means from either approach were reasonably close to zero (figure 4). However, the statistical model results seemed to be consistently smaller than the mathematical model for those aged 15–17. Altogether, these results provide some support for the validity of the mathematical model in the positive region, which helps to support the belief that the mathematical model is also reasonable for the uncheckable non-positive region.

Figure 3. Comparison of statistical and mathematical model values for systolic blood pressure by age in the positive region. Caption: Grey dots indicate the observed systolic blood pressure values by age (uniformly jittered for visualisation) from NHANES. Blue diamonds indicate age-specific means from the statistical model. The red shaded region indicates the distributions of 20 000 simulated observations at each age from the mathematical model, with the red diamonds indicating the corresponding mean. NHANES, National Health and Nutrition Examination Survey.

Figure 3

Figure 4. Differences between mean systolic blood pressure comparing statistical versus mathematical models and corresponding 95% CIs. Circles indicate the difference between the statistical model and mathematical model for each of the means among those in the positive region. Vertical lines indicate the corresponding 95% CIs.

Figure 4

Discussion

Non-positivity threatens our ability to address important public health questions.6 While described here in the context of missing data, the positivity assumption also appears when addressing other biases, like confounding and selection bias.4 Historically, non-positivity has pushed public health and medical researchers to modify their questions or make restrictive, untestable assumptions.7 Here, we illustrated an alternative in the context of missing data on SBP using publicly available data from NHANES. The proposed approach is based on integrating the available data with external information through a synthesis of statistical and mathematical models. Importantly, this approach does not require modifying the motivating question or reliance on restrictive modelling assumptions, unlike competing methods.

There are a number of limitations to our analysis, and the NHANES example provided here should be viewed only as illustrative. Regarding variance estimation, the approaches used here did not account for the use of cluster sampling in NHANES, so the variance may be underestimated. Extending the resampling algorithm to include additional complexities, like clustering, is an area for future research. Regarding the mathematical model, a fairly simple model was used here to directly impute SBP values. Simple models like this may not always be feasible. Instead, intermediate processes may need to be modelled. For example, imputing missing SBP data for adults on hypertensive medication with a mathematical model may instead involve modelling active drug concentrations and subsequent physiological responses.13 Designing and building complex mathematical models should follow best practices14,16 and evaluate diagnostic procedures whenever possible. Future work should illustrate the use of these more advanced models. Finally, non-positivity may occur for more than a single variable. While the essential concepts of synthesis modelling still apply, illustrating their use in these contexts remains needed.

Supplementary material

online supplemental file 1
jech-80-5-s001.pdf (186KB, pdf)
DOI: 10.1136/jech-2025-224750

Acknowledgements

Special thanks to Dr Justin Lessler for discussion and suggestions on earlier versions of this work.

Footnotes

Funding: This work was supported in part by the National Institutes of Health through K01AI177102 (PNZ), R01AI157758 (PNZ, BES, SRC, JKE), R01GM140564 (PNZ, JKE), K01AI182506 (BES) and R35GM147013 (ETL) and by Cancer Research UK through grant PRCRPG-Nov21\100001 (BES). The content is solely the responsibility of the authors and does not necessarily represent the official views of the National Institutes of Health or Cancer Research UK. The study sponsors had no role in the design, analysis or decision to submit for publication.

Provenance and peer review: Not commissioned; externally peer reviewed.

Patient consent for publication: Not applicable.

Ethics approval: This study involves human participants but was not approved by an ethics committee(s) or institutional board(s). The design of NHANES was originally approved by the National Center for Health Statistics Ethics Review Board. The publicly available version of NHANES is deidentified, and thus, secondary analyses are not considered.

Data availability free text: All data and code are freely available at https://github.com/pzivich/publications-code.

Data availability statement

Data are available in a public, open access repository.

References

  • 1.NHANES questionnaires, datasets, and related documentation. [21-Dec-2023]. https://wwwn.cdc.gov/nchs/nhanes/continuousnhanes/default.aspx?BeginYear=2017 Available. Accessed.
  • 2.Cole SR, Zivich PN, Edwards JK, et al. Missing Outcome Data in Epidemiologic Studies. Am J Epidemiol. 2023;192:6–10. doi: 10.1093/aje/kwac179. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 3.Vansteelandt S, Carpenter J, Kenward MG. Analysis of Incomplete Data Using Inverse Probability Weighting and Doubly Robust Estimators. Methodology (Gott) 2010;6:37–48. doi: 10.1027/1614-2241/a000005. [DOI] [Google Scholar]
  • 4.Zivich PN, Cole SR, Westreich D. Positivity: identifiability and estimability. arXiv. 2022 doi: 10.48550/arXiv.2207.05010. Preprint. [DOI]
  • 5.Petersen ML, Porter KE, Gruber S, et al. Diagnosing and responding to violations in the positivity assumption. Stat Methods Med Res. 2012;21:31–54. doi: 10.1177/0962280210386207. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 6.Westreich D, Cole SR. Invited commentary: positivity in practice. Am J Epidemiol. 2010;171:674–7. doi: 10.1093/aje/kwp436. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 7.Zivich PN, Edwards JK, Lofgren ET, et al. Transportability Without Positivity: A Synthesis of Statistical and Simulation Modeling. Epidemiology. 2024;35:23–31. doi: 10.1097/EDE.0000000000001677. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 8.Zivich PN, Edwards JK, Shook-Sa BE, et al. Synthesis estimators for transportability with positivity violations by a continuous covariate. J R Stat Soc Ser A Stat Soc. 2025;188:158–80. doi: 10.1093/jrsssa/qnae084. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 9.Zivich P. Pzivich/publications-code: v2025.05.03. 2025
  • 10.Hernán MA, Robins JM. Estimating causal effects from epidemiological data. J Epidemiol Community Health. 2006;60:578–86. doi: 10.1136/jech.2004.029496. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 11.Manski CF. Partial identification with missing data: concepts and findings. Int J Approx Reason. 2005;39:151–65. doi: 10.1016/j.ijar.2004.10.006. [DOI] [Google Scholar]
  • 12.Flynn JT, Kaelber DC, Baker-Smith CM, et al. Clinical Practice Guideline for Screening and Management of High Blood Pressure in Children and Adolescents. Pediatrics. 2017;140:e20171904. doi: 10.1542/peds.2017-1904. [DOI] [PubMed] [Google Scholar]
  • 13.Heo YA, Holford N, Kim Y, et al. Quantitative model for the blood pressure-lowering interaction of valsartan and amlodipine. Br J Clin Pharmacol. 2016;82:1557–67. doi: 10.1111/bcp.13082. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 14.Roberts M, Russell LB, Paltiel AD, et al. Conceptualizing a model: a report of the ISPOR-SMDM Modeling Good Research Practices Task Force-2. Med Decis Making. 2012;32:678–89. doi: 10.1177/0272989X12454941. [DOI] [PubMed] [Google Scholar]
  • 15.Krijkamp EM, Alarid-Escudero F, Enns EA, et al. Microsimulation Modeling for Health Decision Sciences Using R: A Tutorial. Med Decis Making. 2018;38:400–22. doi: 10.1177/0272989X18754513. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 16.Slayton RB, O’Hagan JJ, Barnes S, et al. Modeling Infectious Diseases in Healthcare Network (MInD-Healthcare) Framework for Describing and Reporting Multidrug-resistant Organism and Healthcare-Associated Infections Agent-based Modeling Methods. Clin Infect Dis. 2020;71:2527–32. doi: 10.1093/cid/ciaa234. [DOI] [PMC free article] [PubMed] [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Supplementary Materials

online supplemental file 1
jech-80-5-s001.pdf (186KB, pdf)
DOI: 10.1136/jech-2025-224750

Data Availability Statement

Data are available in a public, open access repository.


Articles from Journal of Epidemiology and Community Health are provided here courtesy of BMJ Publishing Group

RESOURCES