power_subgroup: Calculate power for subgroup interaction

View source: R/power_subgroup.R

power_subgroupR Documentation

Calculate power for subgroup interaction

Description

Based on Alosh, Huque, Koch (2015)

Usage

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. 1, 2022, 2 p.m.