R/propdiff_wald.R
propdiff_wald.Rdpropdiff_wald Calculates the difference between proportions and
standard error according to Wald and degrees of freedom to
be used in function with.miceafter.
propdiff_wald(y, x, formula, data, strata = FALSE)0-1 binary response variable.
0-1 binary independent variable.
A formula object to specify the model as normally used by glm.
An objects of class milist, created by
df2milist, list2milist or mids2milist.
If TRUE the proportion, se and n of each group is provided.
Default is FALSE. Has to be used in combination with function
pool_propdiff_wilson
The difference between proportions, standard error and complete data degrees of freedom (dfcom) as n-1.