calcSampleSizeForRCT: calcSampleSizeForRCT

View source: R/calcSampleSizeForRCT.R

calcSampleSizeForRCTR Documentation

calcSampleSizeForRCT

Description

calcSampleSizeForRCT

Usage

calcSampleSizeForRCT(alpha, gamma, piT, piC, p = 0)

Arguments

alpha

the significance level

gamma

the power that you want

piT

the estimated incidences of the disease in the disease

piC

the estimated incidences of the disease in the control

p

lost follow-up ratio

Value

string

Examples

calcSampleSizeForRCT(alpha=0.05, gamma=0.80, piT=0.15, piC=0.2)
#tatol sample should be doubled

the8thday/ClinStats documentation built on July 20, 2022, 11:36 p.m.