performs a test for testing the null hypothesis that the proportions (probabilities of success) in two groups are the same.

bintest(binary, treat, var_est = "Unpooled")

Arguments

binary

0=nonresponse, 1=response.

treat

The treatment-group indicator, normally 0=control, 1=intervention.

var_est

variance estimator: Unpooled/Pooled

Value

List: standardized statistic, statistic and variance.

Author

Marta Bofill Roig