Plot estimated marginal probabilities from observed data vs synthetic datasets
marginal_compare_all_syn(obsdata, syndata, vars)
obsdata
: the observed datasyndata
: the list of m imputed datasetsvars
: the variable of interestPlot: the barplot
Comparison: a table of marginal probabilies from observed data vs imputed datasets
Useful links