Tools and Tests for Experiments with Partially Synthetic Data Sets
Overview
A set of functions to support experimentation in the utility of partially synthetic data sets. All functions compare an observed data set to one or a set of partially synthetic data sets derived from the observed data to (1) check that data sets have identical attributes, (2) calculate overall and specific variable perturbation rates, (3) check for potential logical inconsistencies, and (4) calculate confidence intervals and standard errors of desired variables in multiple imputed data sets. Confidence interval and standard error formulas have options for either synthetic data sets or multiple imputed data sets. For more information on the formulas and methods used, see Reiter & Raghunathan (2007) doi:10.1198/016214507000000932.
- Added a
NEWS.mdfile to track changes to the package. - Replaced all instances of cat() function with more appropriate functions
- Updated oneCatCI() and twoCatCI() functions to have options for fully or partially synthetic data.
- Updated calls to data.frame() to have the stringsAsFactors = TRUE in anticipation of new default changes to R 4.0.0.
- Now able to check the variable rates for a single variable in pertRates().
From NEWS.md in the release
Install
Health
NOTEdependencies in R coder-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Namespace in Imports field not imported from: ‘utils’ All declared Imports should be used.
- NOTE11 OK, 2 NOTE2026-09-08
- ERROR11 OK, 1 NOTE, 1 ERROR2026-09-07
- NOTE12 OK, 2 NOTE2026-03-10
Documentation
- Help pages
- 13
- Examples that run
- 100%6 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 15% with a bibliography file
Downloads
Dependencies
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- 1.0.1Latest
- 1.0.02019-09-04
- RR 3.6.0 released · 2019-04-26
Package metadata
- First published
- 2019-09-04
- Total releases
- 2 / 7 yrs
- License
- GPL (>= 2) OSI
- Minimum R
- ≥ 2.10
- Bundled data
- 24 KB / 7 files
- Download size
- 47 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("SynthTools")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.