marginal_compare_all_imp function

Plot estimated marginal probabilities from observed data vs imputed datasets

Plot estimated marginal probabilities from observed data vs imputed datasets

marginal_compare_all_imp(obsdata, impdata, vars)

Arguments

  • obsdata: he observed data
  • impdata: the list of m imputed datasets
  • vars: the variable of interest

Returns

  • Plot: the barplot

  • Comparison: a table of marginal probabilies from observed data vs imputed datasets

  • Maintainer: Jingchen Hu
  • License: GPL (>= 3)
  • Last published: 2022-10-03

Useful links