power_subgroup: Calculate power for subgroup interaction

Description Usage Arguments Value

View source: R/power_subgroup.R

Description

Based on Alosh, Huque, Koch (2015)

Usage

1
power_subgroup(alpha_s, delta_rel, alpha, beta, K)

Arguments

alpha_s

1-sided alpha (Type I error) for subgroup interaction

delta_rel

Interaction effect relative to the overall effect [(log(HR_s - log(delta_c)) / log(HR_overall)], see separate function

alpha

Type I error of the study (one-sided alpha)

beta

Type II error of the study

K

Proportion

Value

Power of subgroup interaction


th-zelniker/TIMI documentation built on Oct. 17, 2018, 2:21 a.m.