powered by
Parametric approach using the delta method after the Box-Cox transformation after switching to a logit scale and then transforming back.
OVL.LogitDBC(x, y, alpha = 0.05, h_ini = -0.6)
confidence interval.
Numeric vector. Data from the first group.
Numeric vector. Data from the second group.
confidence level.
initial value in the optimization problem.
controls = rnorm(50,6,1) cases = rnorm(100,6.5,0.5) OVL.LogitDBC (controls,cases)
Run the code above in your browser using DataLab