Compute test statistic for effect ratio
Computes statistic in used for inference on effect ratio in
equation (2) of Section 3.3 of Baiocchi (2010). Called by
eff.ratio when finding estimate and permutation based confidence
interval for effect ratio.
Hypothesized value of the effect ratio
Data frame where first column is outcome and second column is treatment
Data frame where first column contains indices for those individuals encouraged into treatment by instrumental variable and second column contains indices for those individuals discouraged from treatment by instrumental variable
Returns the value of the statistic described above
Joseph Rigdon firstname.lastname@example.org
Baiocchi M, Small D, Lorch S, Rosenbaum P (2010). Building a stronger instrument in an observational study of perinatal care for premature infants. Journal of the American Statistical Association, 105(492), 1285-1296.