bintest: Tests for binary outcomes

Description Usage Arguments Value Author(s)

View source: R/binary-functions.R

Description

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

Usage

1
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(s)

Marta Bofill Roig


MartaBofillRoig/SurvBin documentation built on Sept. 29, 2021, 5:18 p.m.