estimation_b: Blinded estimation of the correlation

View source: R/estimation_b.R

estimation_bR Documentation

Blinded estimation of the correlation

Description

This function estimates the correlation between two binary endpoints based on blinded data.

Usage

estimation_b(samplesize, p0_e1, p1_e1, OR1, p0_e2, p1_e2, OR2, p0_ce, p1_ce)

Arguments

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

Value

This function returns the estimated correlation and the truncated correlation within the possible margins.


eselect documentation built on Feb. 16, 2023, 8:11 p.m.