View source: R/estimation_ub.R
estimation_ub | R Documentation |
This function estimates the correlation between two binary endpoints based on unblinded data.
estimation_ub(samplesize, p0_e1, p1_e1, OR1, p0_e2, p1_e2, OR2, p0_ce, p1_ce)
samplesize |
numeric parameter, sample size per arm |
p0_e1 |
numeric parameter, probability of occurrence E1 in the control group |
p1_e1 |
numeric parameter, probability of occurrence E1 in the treatment group |
OR1 |
numeric parameter, Odds ratio for the endpoint 1 (design) |
p0_e2 |
numeric parameter, probability of occurrence E2 in the control group |
p1_e2 |
numeric parameter, probability of occurrence E2 in the treatment group |
OR2 |
numeric parameter, Odds ratio for the endpoint 2 (design) |
p0_ce |
numeric parameter, probability of occurrence composite endpoint in the control group |
p1_ce |
numeric parameter, probability of occurrence composite endpoint in the treatment group |
This function returns the estimated correlation based on unblinded data and the truncated correlation within the possible margins.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.