IDEAS home Printed from https://ideas.repec.org/p/osf/socarx/t6cne_v1.html

Synthesizing Tabular Microdata with Gaussian Copulas: The rsdv R Package

Author

Listed:
  • Venkitasubramanian, Kailas

    (University of North Carolina at Charlotte)

Abstract

Administrative records, survey microdata, and clinical research data carry identifying detail that data-governance procedures restrict from open release. Synthetic data — artificial rows that preserve the distributional structure of a real dataset without releasing any single observation — is now widely used as a substitute when the underlying records cannot be shared. The R ecosystem has had good options for parts of this workflow, but no native implementation of the copula-based joint-modelling design that the Python Synthetic Data Vault (SDV) library popularised. The `rsdv` package fills that gap: it fits a Gaussian copula jointly over numerical, categorical, and boolean columns, supports conditional sampling and declarative row-level constraints, and ships three evaluation reports (quality, structural validity, and privacy) modelled on SDMetrics' two-property hierarchy. I describe the package's design, benchmark it against the most widely used R alternatives (`synthpop` and `arf`) on the UCI Adult Income data, report quality scores as a function of training-set size, and quantify attribute-disclosure risk across four threat models. `synthpop` produces the highest marginal fidelity on this dataset; `arf` is fast and competitive; `rsdv` is comparable to `synthpop` on privacy and uniquely brings the SDV-style integrated reporting pipeline to R. The package is on CRAN, has 200+ tests, three vignettes, and a reproducible replication archive accompanies this paper.

Suggested Citation

  • Venkitasubramanian, Kailas, 2026. "Synthesizing Tabular Microdata with Gaussian Copulas: The rsdv R Package," SocArXiv t6cne_v1, Center for Open Science.
  • Handle: RePEc:osf:socarx:t6cne_v1
    DOI: 10.31219/osf.io/t6cne_v1
    as

    Download full text from publisher

    File URL: https://osf.io/download/6a2753badd88c0c834cdd34c/
    Download Restriction: no

    File URL: https://libkey.io/10.31219/osf.io/t6cne_v1?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    References listed on IDEAS

    as
    1. Nowok, Beata & Raab, Gillian M. & Dibben, Chris, 2016. "synthpop: Bespoke Creation of Synthetic Data in R," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 74(i11).
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Dominik Bietsch & Robert Stahlbock & Stefan Voß, 2023. "Synthetic Data as a Proxy for Real-World Electronic Health Records in the Patient Length of Stay Prediction," Sustainability, MDPI, vol. 15(18), pages 1-30, September.
    2. Deer, Lachlan & Adler, Susanne J. & Datta, Hannes & Mizik, Natalie & Sarstedt, Marko, 2025. "Toward open science in marketing research," International Journal of Research in Marketing, Elsevier, vol. 42(1), pages 212-233.
    3. Marta Cipriani & Lorenzo Di Rocco & Maria Puopolo & Marco Alfò, 2025. "A flexible parametric approach to synthetic patients generation using health data," Statistical Methods & Applications, Springer;Società Italiana di Statistica, vol. 34(4), pages 639-662, September.
    4. Gunjan Chandra & Pekka Siirtola & Satu Tamminen & Mikael J. Knip & Riitta Veijola & Juha Röning, 2022. "Impacts of Data Synthesis: A Metric for Quantifiable Data Standards and Performances," Data, MDPI, vol. 7(12), pages 1-26, December.
    5. James Jackson & Robin Mitra & Brian Francis & Iain Dove, 2022. "Using saturated count models for user‐friendly synthesis of large confidential administrative databases," Journal of the Royal Statistical Society Series A, Royal Statistical Society, vol. 185(4), pages 1613-1643, October.
    6. Daiho Uhm & Sunghae Jun, 2022. "Zero-Inflated Patent Data Analysis Using Generating Synthetic Samples," Future Internet, MDPI, vol. 14(7), pages 1-11, July.
    7. Felix Ritchie & Jim Smith, 2019. "Confidentiality and linked data," Papers 1907.06465, arXiv.org.
    8. Joshua Snoke & Gillian M. Raab & Beata Nowok & Chris Dibben & Aleksandra Slavkovic, 2018. "General and specific utility measures for synthetic data," Journal of the Royal Statistical Society Series A, Royal Statistical Society, vol. 181(3), pages 663-688, June.
    9. Wesley J. Marrero & Mariel S. Lavieri & Jeremy B. Sussman, 2021. "Optimal cholesterol treatment plans and genetic testing strategies for cardiovascular diseases," Health Care Management Science, Springer, vol. 24(1), pages 1-25, March.
    10. Jahangir Alam M. & Dostie Benoit & Drechsler Jörg & Vilhuber Lars, 2020. "Applying data synthesis for longitudinal business data across three countries," Statistics in Transition New Series, Polish Statistical Association, vol. 21(4), pages 212-236, August.
    11. Seungkyu Kim & Johan Lim & Donghyeon Yu, 2025. "Synthetic data generation method providing enhanced covariance matrix estimation," Computational Statistics, Springer, vol. 40(7), pages 4007-4035, September.
    12. Erik D. Mueller & J. S. Onésimo Sandoval & Srikanth P. Mudigonda & Michael Elliott, 2019. "Extending cluster-based ensemble learning through synthetic population generation for modeling disparities in health insurance coverage across Missouri," Journal of Computational Social Science, Springer, vol. 2(2), pages 271-291, July.
    13. Asunur Cezar & Srinivasan Raghunathan & Sumit Sarkar, 2020. "Adversarial Classification: Impact of Agents’ Faking Cost on Firms and Agents," Production and Operations Management, Production and Operations Management Society, vol. 29(12), pages 2789-2807, December.
    14. Speidel, Matthias & Drechsler, Jörg & Jolani, Shahab, 2018. "R package hmi: a convenient tool for hierarchical multiple imputation and beyond," IAB-Discussion Paper 201816, Institut für Arbeitsmarkt- und Berufsforschung (IAB), Nürnberg [Institute for Employment Research, Nuremberg, Germany].
    15. Soumya Mukherjee & Aratrika Mustafi & Aleksandra Slavkovic & Lars Vilhuber, 2026. "Improving Privacy for Respondents in Randomized Controlled Trials: A Differential Privacy Approach," NBER Chapters, in: Data Privacy Protection and the Conduct of Applied Research: Methods, Approaches and New Findings, National Bureau of Economic Research, Inc.
    16. Lau Lilleholt & Ingo Zettler & Cornelia Betsch & Robert Böhm, 2023. "Development and validation of the pandemic fatigue scale," Nature Communications, Nature, vol. 14(1), pages 1-19, December.
    17. Anmol Arora & Ananya Arora, 2023. "Machine learning models trained on synthetic datasets of multiple sample sizes for the use of predicting blood pressure from clinical data in a national dataset," PLOS ONE, Public Library of Science, vol. 18(3), pages 1-10, March.
    18. Schön, Peter & Heinen, Eva & Manum, Bendik, 2026. "Route-based network analysis: “Route betweenness” and “route link density” applied to a study of a proposed bridge in Trondheim," Journal of Transport Geography, Elsevier, vol. 130(C).
    19. Stefan Wimmer & Robert Finger, 2023. "A note on synthetic data for replication purposes in agricultural economics," Journal of Agricultural Economics, Wiley Blackwell, vol. 74(1), pages 316-323, February.

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:osf:socarx:t6cne_v1. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: OSF (email available below). General contact details of provider: https://arabixiv.org .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.