AE.CI: Attributable effects based confidence interval for a treatment effect on a
binary outcome
Description
Computes the attributable effects based confidence interval for the
average treatment effect on a binary outcome in an experiment where
\(m\) of \(n\) individuals are randomized to treatment by design.
Usage
AE.CI(data, level)
Value
tau.hat
estimated average treatment effect
lower
lower bound of confidence interval
upper
upper bound of confidence interval
Arguments
data
observed 2 by 2 table in matrix form where row 1 is
the treatment assignment Z=1 and column 1 is the binary outcome Y=1
level
significance level of hypothesis tests, i.e., method yields a 100(1-level)% confidence interval