The variable names in this function follow the notation in the original paper by MiettinenNurminen1985;textualtern, cf. Appendix 1.
h_miettinen_nurminen_var_est(n1, n2, x1, x2, diff_par)A named list with elements:
p1_hat: estimated proportion in group 1
p2_hat: estimated proportion in group 2
var_est: variance estimate of the difference in proportions
(numeric)
sample sizes in group 1.
(numeric)
sample sizes in group 2.
(numeric)
number of responders in group 1.
(numeric)
number of responders in group 2.
(numeric)
assumed difference in true proportions
(group 2 minus group 1).