pool_propdiff_nw function

Calculates the pooled difference between proportions and confidence intervals according to Newcombe-Wilson (NW) across multiply imputed datasets.

Calculates the pooled difference between proportions and confidence intervals according to Newcombe-Wilson (NW) across multiply imputed datasets.

pool_propdiff_nw Calculates the pooled difference between proportions and confidence intervals according to Newcombe-Wilson (NW) across multiply imputed datasets.

pool_propdiff_nw(object, conf.level = 0.95)

Arguments

  • object: An object of class 'mistats' ('Multiply Imputed Statistical Analysis'.).
  • conf.level: Confidence level of the confidence intervals. Mostly set at 0.95.

Returns

The Proportion and the Confidence intervals according to Newcombe-Wilson.

Details

The pool_propdiff_nw function uses information from separate exposure groups. It is therefore important to first use the propdiff_wald

function and to set strata = TRUE in that function.

Examples

library(magrittr) lbpmilr %>% df2milist(impvar="Impnr") %>% with(expr=propdiff_wald(Chronic ~ Radiation, strata = TRUE)) %>% pool_propdiff_nw() # Same as imp_dat <- df2milist(lbpmilr, impvar="Impnr") res <- with(imp_dat, expr=propdiff_wald(Chronic ~ Radiation, strata = TRUE)) res <- pool_propdiff_nw(res)

References

Yulia Sidi & Ofer Harel (2021): Difference Between Binomial Proportions Using Newcombe’s Method With Multiple Imputation for Incomplete Data, The American Statistician, DOI:10.1080/00031305.2021.1898468

See Also

with.milist, propdiff_wald

Author(s)

Martijn Heymans, 2021

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