View source: R/pool_propdiff_ac.R
pool_propdiff_ac | R Documentation |
pool_propdiff_ac
Calculates the pooled difference between proportions
and standard error according to Agresti-Caffo across multiply imputed datasets.
pool_propdiff_ac(object, conf.level = 0.95, dfcom = NULL)
object |
An object of class 'mistats' ('Multiply Imputed Statistical Analysis'). |
conf.level |
Confidence level of the confidence intervals. |
dfcom |
Complete data degrees of freedom. Default
number is taken from function |
For the pooled difference between proportions the difference between proportions according to Wald are used. The Agresti-Caffo difference is used to derive the Agresti-Caffo confidence intervals.
The proportion, the Confidence intervals, the standard error and statistic.
Martijn Heymans, 2021
Agresti, A. and Caffo, B. Simple and Effective Confidence Intervals for Proportions and Differences of Proportions Result from Adding Two Successes and Two Failures. The American Statistician. 2000;54:280-288.
Fagerland MW, Lydersen S, Laake P. Recommended confidence intervals for two independent binomial proportions. Stat Methods Med Res. 2015 Apr;24(2):224-54.
with.milist
, propdiff_ac
imp_dat <- df2milist(lbpmilr, impvar="Impnr") ra <- with(imp_dat, expr=propdiff_ac(Chronic ~ Radiation)) res <- pool_propdiff_ac(ra) res
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.