This function estimates the correlation between two binary endpoints based on blinded data.
estimation_b(samplesize, p0_e1, p1_e1, OR1, p0_e2, p1_e2, OR2, p0_ce, p1_ce)This function returns the estimated correlation and the truncated correlation within the possible margins.
numeric parameter, sample size per arm
numeric parameter, probability of occurrence E1 in the control group
numeric parameter, probability of occurrence E1 in the treatment group
numeric parameter, Odds ratio for the endpoint 1 (design)
numeric parameter, probability of occurrence E2 in the control group
numeric parameter, probability of occurrence E2 in the treatment group
numeric parameter, Odds ratio for the endpoint 2 (design)
numeric parameter, probability of occurrence composite endpoint in the control group
numeric parameter, probability of occurrence composite endpoint in the treatment group