var_pi {door} | R Documentation |
Variance of DOOR probability
Description
Calculate multiple types of variances of DOOR probability
Usage
var_pi(p1, p2, n1, n2)
Arguments
p1 |
Vector of DOOR outcome proportion distribution for group 1 |
p2 |
Vector of DOOR outcome proportion distribution for group 2 |
n1 |
Sample size of group 1 |
n2 |
Sample size of group 2 |
Value
DOOR probability, Wald-type variance, exact variance, Halperin variance; theta for Halperin method
[Package door version 0.0.2 Index]