Learn R Programming

TrialSize (version 1.4)

QOL: Quality of life

Description

Under the time series model, determine sample size based on normal approximation.

Usage

QOL(alpha, beta, c, epsilon)

Arguments

alpha

significance level

beta

power = 1-beta

c

constant c=0.5

epsilon

a meaningful difference epsilon. If the chosen acceptable limits are \((-\delta, \delta)\). \(epsilon=\delta-\eta\), \(\eta\) is the measure for detecting an equivalence when the true difference in treatment means is less than a small constant \(\eta\).

References

Chow SC, Shao J, Wang H. Sample Size Calculation in Clinical Research. New York: Marcel Dekker, 2003

Examples

Run this code
# NOT RUN {
Example.15.4.3<-QOL(0.05,0.1,0.5,0.25)
Example.15.4.3

# }

Run the code above in your browser using DataLab