marginal_compare_all_syn: Plot estimated marginal probabilities from observed data vs synthetic datasets
Description
Plot estimated marginal probabilities from observed data vs synthetic datasets
Usage
marginal_compare_all_syn(obsdata, syndata, vars)
Value
- Plot
the barplot
- Comparison
a table of marginal probabilies from observed data vs imputed datasets
Arguments
- obsdata
the observed data
- syndata
the list of m imputed datasets
- vars
the variable of interest