parconv {adaptTest} | R Documentation |
Function to convert between two different parameterizations of a family of conditional error functions
Description
This function converts between two different parameterizations of a family of conditional error functions: a (more ‘traditional’) parameter , and a (more convenient) parameter
specifying the local level of the test after the second stage.
Usage
parconv(typ, a2 = NA, c = NA)
Arguments
typ |
type of test: |
a2 |
|
c |
the parameter |
Details
Traditionally, a family of conditional error functions is often parameterized by some parameter that, in turn, depends on the local level
of the test after the second stage. However, it can be convenient to parameterize the family directly by
. The function
parconv
converts one parameter into the other: provide one, and it returns the other.
Essentially, the relation between the two parameterizations is implemented as:
-
for Fisher's combination test (Bauer and Koehne, 1994)
-
for the inverse normal method (Lehmacher and Wassmer, 1999)
-
for Vandemeulebroecke (2006)
-
for the family of horizontal conditional error functions
Value
parconv
returns corresponding to the supplied
, or
corresponding to the supplied
.
Note
Provide either a2
or c
, not both!
is the local level of the test after the second stage, and it equals the integral under the corresponding conditional error function:
where is the conditional error function (of a specified family) with parameter
.
Note that in this implementation of adaptive two-stage tests, early stopping bounds are not part of the conditional error function. Rather, they are specified separately (see also tsT
).
can take any value in
;
can take values in
-
for Fisher's combination test (Bauer and Koehne, 1994)
-
for the inverse normal method (Lehmacher and Wassmer, 1999)
-
for Vandemeulebroecke (2006)
-
for the family of horizontal conditional error functions
Author(s)
Marc Vandemeulebroecke
References
Bauer, P., Koehne, K. (1994). Evaluation of experiments with adaptive interim analyses. Biometrics 50, 1029-1041.
Lehmacher, W., Wassmer, G. (1999). Adaptive sample size calculations in group sequential trials. Biometrics 55, 1286-1290.
Vandemeulebroecke, M. (2006). An investigation of two-stage tests. Statistica Sinica 16, 933-951.
See Also
adaptTest
package description, getpar
, CEF
Examples
## Obtain the parameter c for Fisher's combination test, using
## the local level 0.05 for the test after the second stage
parconv(typ="b", a2=0.05)