sample_size_winratio: Calculate number of events using the winratio. Sample size...

View source: R/sample_size_winratio.R

sample_size_winratioR Documentation

Calculate number of events using the winratio. Sample size calculatin based on Yu and Ganju, Statistics in Medicine 2021

Description

Based on Schoenfeld's formula

Usage

sample_size_winratio(alpha, beta, WR_true, P_tie, v = 0.5)

Arguments

alpha

1-sided alpha (Type I error)

beta

Type II error

WR_true

Assumed effect size

P_tie

Proportion of ties

v

Proportion of patients that are assigned to the intervention arm (Default is 0.5)

Value

Total sample size required


th-zelniker/TIMI documentation built on Oct. 1, 2022, 2 p.m.