posint: Sample Size of AEBSD for Postive and Interaction

Description Usage Arguments Value

Description

Calculate minimum sample size needed of AEBSD for testing both treatment effect in biomarker positve and interaction effect, and its comparison with BSD

Usage

1
posint(rtrue,raux,ppv,lam1e,lam0e,lam1c,lam0c,tau,raccrual,powerdesired,alpha,costs)

Arguments

rtrue

the prevalence rates of patients with positive true biomarker

raux

the prevalence rates of patients with positive auxiliary biomarker

lam1e

hazrd rate for biomarker-positive subpopulation in the experimental treatment group

lam0e

hazrd rate for biomarker-negative subpopulation in the experimental treatment group

lam1c

hazrd rate for biomarker-positive subpopulation in the control treatment group

lam0c

hazrd rate for biomarker-negative subpopulation in the control treatment group

tau

minimum follow-up time

raccrual

accrual rate

powerdesired

desired design power

alpha

type-I error (for each test)

costs

cost vector including costscr (scrrening cost), costtrt (average treatment cost), costfol (follow-up cost) and costtest (biomarker test cost) for each randomized patient

Value

(1) The probability of randomizing patients with positive and negative auxiliary variable; (2) Number of randomized patients for AEBSD (3) Screening number for AEBSD (4) Number of randomized patients for BSD (5) Patient ratio (6) Cost ratio (7) Screening ratio


tingwangkevin/AEBSD documentation built on May 22, 2019, 2:46 p.m.