Description Usage Arguments Details Value Author(s) References See Also Examples
The test statistic is based on the finite intersection approach.
1 2 3 4 5 6 7 8 9 10 11 | lnested.test(
y,
group,
location = c("median", "mean", "trim.mean"),
tail = c("right", "left", "both"),
trim.alpha = 0.25,
bootstrap = FALSE,
num.bootstrap = 1000,
correction.method = c("none", "correction.factor", "zero.removal", "zero.correction"),
correlation.method = c("pearson", "kendall", "spearman")
)
|
y |
a numeric vector of data values. |
group |
factor of the data. |
location |
the default option is |
tail |
the default option is |
trim.alpha |
the fraction (0 to 0.5) of observations to be trimmed from
each end of |
bootstrap |
a logical value identifying whether to implement bootstrap.
The default is |
num.bootstrap |
number of bootstrap samples to be drawn when the |
correction.method |
procedures to make the test more robust;
the default option is |
correlation.method |
measures of correlation; the default option is
|
The test statistic is based on
the classical Levene's procedure (using the group means),
the modified Brown–Forsythe Levene-type procedure (using the group medians),
or the modified Levene-type procedure (using the group trimmed means).
More robust versions of the test using the correction factor or structural zero
removal method are also available. Two options for calculating critical values,
namely, approximated and bootstrapped, are available.
By default, NA
s are omitted from the data.
A list with the following elements:
T |
the statistic and p-value of the test based on the Tippett p-value combination. |
F |
the statistic and p-value of the test based on the Fisher p-value combination. |
N |
the statistic and p-value of the test based on the Liptak p-value combination. |
L |
the statistic and p-value of the test based on the Mudholkar–George p-value combination. |
Each of the list elements is a list of class "htest"
with the following elements:
statistic |
the value of the test statistic expressed in terms of correlation (Pearson, Kendall, or Spearman). |
p.value |
the p-value of the test. |
method |
type of test performed. |
data.name |
a character string giving the name of the data. |
non.bootstrap.statistic |
the statistic of the test without bootstrap method. |
non.bootstrap.p.value |
the p-value of the test without bootstrap method. |
Kimihiro Noguchi, W. Wallace Hui, Yulia R. Gel, Joseph L. Gastwirth, Weiwen Miao
levene.test
, ltrend.test
,
mma.test
, neuhauser.hothorn.test
,
robust.mmm.test
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.