calculate_MDE_biomarker: Calculate minimal detectable effect for a continuous variable

View source: R/calculate_MDE_continuous_variable.R

calculate_MDE_biomarkerR Documentation

Calculate minimal detectable effect for a continuous variable

Description

Calculate the minimal detectable effect (Hazard Ratio) given an observed number of events for a continuous variable (based on Schoenfeld's formula) Reference: "Sample-Size Calculations for the Cox Proportional Hazards Regression Model with Nonbinary Covariates" by F.Y. Hsieh, PhD, and Philip W. Lavori, PhD (2000)

Usage

calculate_MDE_biomarker(number_of_events, alpha = 0.05, sd = 1)

Arguments

number_of_events

Number of events

alpha

1-sided alpha (Type I error)

sd

Standarad deviation of the continuous covariate (default is 1 assuming the continuous marker is standardized)

Value

Minimal detectable effect


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