Description Usage Arguments Details Value References Examples
Calculate the bounds of harm rate from the treatment to the outcome.
1 | HRbound(Tr, S, Y, c1 = 0, c3 = 1)
|
Tr |
Treatment variable, a vector taking value 1 or 0. |
S |
Surrogate variable, a vector taking value 1 or 0. |
Y |
Outcome variable, a vector taking value 1 or 0. |
c1 |
0<=c1<=1, representing the harm rate from the treatment to the surrogate. |
c3 |
0<=c3<=1, representing the upper bound for the propotion of the individuals that do not conform to causal necessity. |
This function calculates the lower and upper sharp bounds of harm rate from the treatment to the surrogate, using the method proposed in Ma et al.
Lower and upper bound of the harm rate from the treatment to the outcome.
Ma, L., Yin, Y., Liu, L. and Geng, Z. On the Individual Surrogate Paradox. Submitted
1 | HRbound(Tr = ACCORD_eye[, 1], S = ACCORD_eye[, 2], Y = ACCORD_eye[, 3])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.