Description Usage Arguments Details References See Also Examples
This function creates an object of class MultAdjProc
which can be
added to objects of class AnalysisModel
, MultAdj
or
MultAdjStrategy
.
1 | MultAdjProc(proc, par = NULL, tests = NULL)
|
proc |
defines a multiplicity adjustment procedure. |
par |
defines the parameters of the multiplicity adjustment procedure (optional). |
tests |
defines the tests taken into account in the multiplicity adjustment procedure. |
Objects of class MultAdjProc
are used in objects of class
AnalysisModel
to specify a Multiplicity Adjustment Procedure that
will be applied to the statistical tests to protect the overall Type I error
rate. Several objects of class MultAdjProc
can be added to an object
of class AnalysisModel
, using the '+' operator or by grouping them
into a MultAdj
object.
proc
argument defines the multiplicity adjustment procedure. Several
procedures are already implemented in the Mediana package (listed below,
along with the required or optional parameters to specify in the par
argument):
BonferroniAdj
: Bonferroni procedure.
Optional parameter: weight
.
HolmAdj
: Holm procedure.
Optional parameter: weight
.
HochbergAdj
: Hochberg
procedure. Optional parameter: weight
.
HommelAdj
: Hommel
procedure. Optional parameter: weight
.
FixedSeqAdj
:
Fixed-sequence procedure.
ChainAdj
: Family of chain procedures.
Required parameters: weight
and transition
.
FallbackAdj
: Fallback procedure. Required parameters: weight
.
NormalParamAdj
: Parametric multiple testing procedure derived
from a multivariate normal distribution. Required parameter: corr
.
Optional parameter: weight
.
ParallelGatekeepingAdj
:
Family of parallel gatekeeping procedures. Required parameters:
family
, proc
, gamma
.
MultipleSequenceGatekeepingAdj
: Family of multiple-sequence
gatekeeping procedures. Required parameters: family
, proc
,
gamma
.
MixtureGatekeepingAdj
: Family of mixture-based
gatekeeping procedures. Required parameters: family
, proc
,
gamma
, serial
, parallel
.
If no tests
are defined, the multiplicity adjustment procedure will
be applied to all tests defined in the AnalysisModel.
http://gpaux.github.io/Mediana/
See Also MultAdj
, MultAdjStrategy
and
AnalysisModel
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | # Parameters of the chain procedure (fixed-sequence procedure)
# Vector of hypothesis weights
chain.weight = c(1, 0)
# Matrix of transition parameters
chain.transition = matrix(c(0, 1,
0, 0), 2, 2, byrow = TRUE)
# Analysis model
analysis.model = AnalysisModel() +
MultAdjProc(proc = "ChainAdj",
par = parameters(weight = chain.weight,
transition = chain.transition)) +
Test(id = "PFS test",
samples = samples("Plac PFS", "Treat PFS"),
method = "LogrankTest") +
Test(id = "OS test",
samples = samples("Plac OS", "Treat OS"),
method = "LogrankTest")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.