Key concepts

Biplot pipeline

  • Data preparation

    • Simulation → Amputation → Multiple Imputation
  • Biplot construction

    • MCA biplots

    • GPAbin biplot

Tour pipeline

  • Data preparation

    • Simulation → Amputation → Multiple Imputation
  • Tour construction

    • Jittering

    • Linear projections

    • Geodesic interpolation

Goal: Linking the two pipelines into an interactive biplot and tour display.

Data preparation

  • Ongoing investigation: simulation protocol (Nienkemper-Swanepoel (2025))
    • Uniform distribution
    • 1000 samples and 5 variables (categorised with 2 to 5 levels)
  • Limited response profiles
Table 1: Observed response profiles
Response pattern Frequency
23434 262
11111 237
12222 176
22323 163
23333 83
11212 79

Missing data mechanisms (MDMs):

  • Missing Completely At Random (MCAR): Missing values are independent of observed and missing observations.

  • Missing At Random (MAR): Missing values depend on observed values, but not on missing observations.

  • Missing Not At Random (MNAR): Missing values depend on both observed and missing observations.

Only MAR considered for this presentation - assumed to be the standard occurrence in practice.

  • MAR used to delete 20% observations
Figure 1: Missingness pattern with naniar (Tierney and Cook (2023))

Quick overview of multiple imputation (MI):

  • Each missing value is replaced with multiple plausible values.
  • Result in multiple completed data sets for standard complete-case analysis.
  • Estimates are combined using Rubin’s rules (Rubin (1987)).
  • Realistic representation of variation due to distribution of multiple responses per missing value.

Two general approaches to impute missing values in multiple variables:

  • Joint modelling (JM): The same imputation model is used for all variables.

    • missMDA - Multiple imputation with multiple correspondence analysis (Josse and Husson (2016))

    • jomo - Multilevel joint modelling multiple imputation (Quartagno and Carpenter (2023))

  • Fully conditional specification (FCS) / sequential regression / chained equations: Imputation models are specified per variable that is conditioned on the other variables.

    • mice - Multivariate imputation by chained equations, more flexible (van Buuren and Groothuis-Oudshoorn (2011)).
    • mi - Multivariate imputation by chained equations, strict Bayesian framework (Gelman and Hill (2011)).

      [R packages]

Biplot pipeline

  • Multivariate categorical data visualisation.
  • Representation of two modes of data (samples and variables) in a single display.
  • Multiple Correspondence Analysis (MCA) biplots.

If \(\mathbf{X}\) is categorical with \(n\) rows (samples) and \(p\) columns (variables) with a total of \(q\) category levels:

\[\mathbf{R}^{-\frac{1}{2}}\mathbf{G}\mathbf{C}^{-\frac{1}{2}} = \mathbf{U}\mathbf{ \Sigma}\mathbf{V}^\prime\]

  • \(\mathbf{G}\Rightarrow\) indicator matrix of \(\mathbf{X}\) with \(n\) samples and \(q\) columns.

  • \(\mathbf{R}^{-\frac{1}{2}}\),\(\mathbf{C}^{-\frac{1}{2}}\Rightarrow\) diagonal matrix of row and column weights of \(\mathbf{G}\).

Generally, plot the first two columns of:

  • \(\mathbf{U\Sigma}\) (principal coordinates) for the sample coordinates and

  • the first two columns of \(\mathbf{V}\) (standard coordinates) for the category level point coordinates.

Figure 2: MCA biplot: complete data
  • Construct MCA biplots for each multiple imputation.
  • Iteratively align the coordinates of the biplots to an updated target (i.e. average coordinates) until convergence.
    • Translation, reflection, rotation and scaling.
  • Average over the aligned coordinates to obtain a unified coordinate set for the GPAbin biplot.
  • Application: GPAbin (Nienkemper-Swanepoel (2026)).
Figure 3: MCA biplots: five imputations using mi.
Figure 4: GPAbin MCA biplot: mi.

Tour pipeline

  • Random noise added to the numerical response values representing the category levels.
  • The main patterns and groupings will still be visible.
  • Overplotting and emphasised artificial clusters are avoided.

Consists of 3 components (Cook and Laa (2026); Wickham et al. (2011)):

  • Data - multiple imputed data sets

  • Tour path - linear projections presented in a smooth sequence using geodesic interpolation

    • Grand tour: random linear projections are obtained

    • Geodesic interpolation: shortest path between planes

  • Display method - scatterplot

tourr (Wickham et al. (2011)) & detourr (Hart and Wang (2025))

Figure 5: Scatterplot matrix: observed jittered samples

Tour display

Variation linked to response profile recovery

MCA biplot

Figure 6: MCA biplot: all possible combinations

Tour

Linking

Figure 7: Linking: GPAbin biplot and multiple imputation tour (jomo)
Figure 8: Linking: GPAbin biplot and multiple imputation tour (missMDA)
Figure 9: Linking: GPAbin biplot and multiple imputation tour (mi)
Figure 10: Linking: GPAbin biplot and multiple imputation tour (mice)

Conclusion

  • Linked visualisations can guide the decision of imputation strategy.

  • Linked displays expose the severity of the imputation variation.

  • Identification of possible clusters of response profiles before imputation guides interpretations on variation.

  • Brushing over areas of high dispersion in the biplot coordinates reveal relevant patterns in the tour.

  • Tour enables the detection of incorrectly or implausible response patterns.

  • The fully conditional specification (FCS) strategies result in less variation for the presented simulated data.

  • Next phase: include real data analysis.

Resources



Slides made in Quarto, with code included.


Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

References

Cook, Dianne, and Ursula Laa. 2026. Interactively Exploring High-Dimensional Data and Models in r. Chapman; Hall/CRC. https://doi.org/10.1201/9781003471202.
Gelman, Andrew, and Jennifer Hill. 2011. “Opening Windows to the Black Box.” Journal of Statistical Software 40.
Hart, Casper, and Earo Wang. 2025. Detourr: Portable and Performant Tour Animations. https://doi.org/10.32614/CRAN.package.detourr.
Josse, Julie, and François Husson. 2016. missMDA: A Package for Handling Missing Values in Multivariate Data Analysis.” Journal of Statistical Software 70 (1): 1–31. https://doi.org/10.18637/jss.v070.i01.
Nienkemper-Swanepoel, Johané. 2025. “Biplot Visualisations of the Differences Between Multiple Imputation Techniques for Simulated Categorical Data.” Discover Data 3 (30): 1–19. https://doi.org/10.1007/s44248-025-00063-1.
Nienkemper-Swanepoel, Johané. 2026. GPAbin: Unifying Multiple Biplot Visualisations into a Single Display. https://github.com/jnienk/GPAbin.
Quartagno, Matteo, and James Carpenter. 2023. jomo: A Package for Multilevel Joint Modelling Multiple Imputation. https://CRAN.R-project.org/package=jomo.
Rubin, Donald B. 1987. Multiple Imputation for Nonresponse in Surveys. John Wiley; Sons Inc. https://doi.org/10.1002/9780470316696.
Tierney, Nicholas, and Dianne Cook. 2023. “Expanding Tidy Data Principles to Facilitate Missing Data Exploration, Visualization and Assessment of Imputations.” Journal of Statistical Software 105 (7): 1–31. https://doi.org/10.18637/jss.v105.i07.
van Buuren, Stef, and Karin Groothuis-Oudshoorn. 2011. mice: Multivariate Imputation by Chained Equations in r.” Journal of Statistical Software 45 (3): 1–67. https://doi.org/10.18637/jss.v045.i03.
Wickham, Hadley, Dianne Cook, Heike Hofmann, and Andreas Buja. 2011. tourr: An R Package For Exploring Multivariate Data With Projections.” Journal of Statistical Software 40 (2): 1–18. http://www.jstatsoft.org/v40/i02/.