setNoncentrality: Function that sets the noncentrality parameter

Description Usage Arguments Details Value Examples

Description

Sets the noncentrality parameter.

Usage

1
setNoncentrality(theObject, noncent)

Arguments

theObject

The sequential design object

noncent

The noncentrality parameter

Details

The noncentrality paraeter is the expected drift at the end of the study. For example, if the study has a power of 80% using a one sided Z-test with 2.5% type 1 error, the noncentrality parameter is q(0.975)+q(0.8), where q() is the percentile function of the standard normal distribution.

Value

an object of class "sequential.design"

Examples

1
2
3
design1<-sequential.design()
noncent<-qnorm(0.975,0,1)+qnorm(0.8,0,1)
design1<-setNoncentrality(design1,noncent)


seqmon documentation built on May 20, 2017, 2:14 a.m.
Search within the seqmon package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.