prop_nna function

Calculates the posterior beta components for a single proportion

Calculates the posterior beta components for a single proportion

prop_nna Calculates the posterior beta components for a single proportion (assuming noninformative prior).

prop_nna(x, data)

Arguments

  • x: name of variable to calculate proportion.
  • data: An object of class 'mistats' ('Multiply Imputed Statistical Analysis').

Returns

The posterior beta components.

Examples

imp_dat <- df2milist(lbpmilr, impvar='Impnr') ra <- with(imp_dat, expr=prop_nna(Radiation))

References

Raghunathan, T. (2016). Missing Data Analysis in Practice. Boca Raton, FL: Chapman and Hall/CRC. (paragr 4.6.2)

See Also

with.milist, pool_prop_nna

Author(s)

Martijn Heymans, 2021

  • Maintainer: Martijn Heymans
  • License: GPL (>= 2)
  • Last published: 2022-10-02