Skip to contents

Calculate Cox's Index for binary measures

Usage

coxs_index(
  prevalance_int = 0.4,
  prevalance_comp = 0.3,
  n_int = 100,
  n_comp = 110
)

Arguments

prevalance_int

The prevalence of the outcome for the intervention group.

prevalance_comp

The prevalence of the outcome for the comparison group.

n_int

The number of observations in the intervention group.

n_comp

The number of observations in the comparison group.

Value

The Cox's Index value.

Examples

i <- coxs_index(prevalance_int = 0.4, prevalance_comp = 0.3, n_int = 100, n_comp = 110)