Learn R Programming

GroupSeq (version 1.0)

stdDeviations: Standard deviations are calculated

Description

Standard deviations are calculated.

Usage

stdDeviations(n, t2)

Arguments

n
is the number of interim analyses.
t2
is the 'second' time scale, used for the covariance of sequential statistics, usually number of events or subjects.

Value

  • standardDeviationis the standard deviation of the process increment.
  • standardDeviationProcessis the standard deviation of the process.

See Also

groupseq

Examples

Run this code
## simple example
stdDeviations(3, c(0.33,0.66,1.0))
## with following result:
# $standardDeviation
# [1] 0.5744563 0.5744563 0.5830952
#
# $stdvOfTheProcess
# [1] 0.5744563 0.8124038 1.0000000

Run the code above in your browser using DataLab