Description Usage Arguments Details Value Note See Also Examples
Calculation of p-values of a closed testing procedure (CTP).
The function returns an object of oldClass "ctp"; summary()
and Display()
can be applied.
1 | AnalyseCTP(ctp.struc, model, data, factor.name = NULL, test.name = "F", ...)
|
ctp.struc |
Object generated by the function |
model |
model of the form response~treatment. If |
data |
Dataframe, missing values in the response or treatment variable are not allowed! |
factor.name |
Character string naming the factor whose levels are compared (treatment factor). By default the first variable of the right-hand side of the model formula is used. |
test.name |
One of the following strings
|
... |
Additional arguments for the chosen test. |
The hypothesis tree of the closed testing procedure must be created using IntersectHypotheses
. For more details on the theory and the implementation as well
for many examples, see the vignettes.
An object of old class(ctp
), consisting of a list with:
CTPparms
: List with objects describing the CTP setup.
pvalues
: Dataframe with all tested hypotheses, raw and adjusted p-values.
This procedure is constructed for testing differences and two-sided hypotheses, but not for equivalence tests. It is further based on independent samples from the population involved (i.e. on parallel group designs, but not on cross-over designs).
IntersectHypotheses
, Display
, summary.ctp.str
, summary.ctp
,
Adjust_raw
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.