bintest.Rd
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")
binary | 0=nonresponse, 1=response. |
---|---|
treat | The treatment-group indicator, normally 0=control, 1=intervention. |
var_est | variance estimator: Unpooled/Pooled |
List: standardized statistic, statistic and variance.
Marta Bofill Roig