t1waybt | R Documentation |
Test the hypothesis of equal trimmed means using a percentile t bootstrap method. Corresponding post hoc tests are provided in mcppb20
.
t1waybt(formula, data, tr = 0.2, nboot = 599, ...)
mcppb20(formula, data, tr = 0.2, nboot = 599, ...)
formula |
an object of class formula. |
data |
an optional data frame for the input data. |
tr |
trim level for the mean. |
nboot |
number of bootstrap samples. |
... |
currently ignored. |
Returns an object of class t1waybt
containing:
test |
value of the test statistic |
p.value |
p-value |
Var.Explained |
explained amount of variance |
Effect.Size |
effect size |
nboot.eff |
effective number of bootstrap samples |
call |
function call |
mcppb20
returns an object of class "mcp1"
containing:
comp |
inference for all pairwise comparisons |
fnames |
names of the factor levels |
Wilcox, R. (2012). Introduction to Robust Estimation and Hypothesis Testing (3rd ed.). Elsevier.
t1way
,med1way
t1waybt(libido ~ dose, data = viagra)
## post hoc
mcppb20(libido ~ dose, data = viagra)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.