Description Usage Arguments Details Value See Also
Bootstrap a cutoff value to identify anomalies
1 | bootstrap_C(coeff, d.method, c.method, alpha, B)
|
coeff |
A dataframe of coefficients of interest. The first column is |
d.method |
A character string determining the depth function to use: "LP", "Projection",
"Mahalanobis", or "Euclidean". It is suggested to not use "Tukey" due to singularity in
coefficient matrix. For details see |
c.method |
A character string determining the method to estimate the cutoff value. This can be "depth" or "alpha". |
alpha |
A value determining the percentage of rows to remove from |
B |
A value determining how many bootstrap datasets should be made to estimate the cutoff value with a suggested rate of 1000. |
The function starts by computing the depths for each parameter set by d.method.
The "alpha" c.method removes the alpha percent least deep coefficients. The rest of the
coefficients are bootstrapped and new depths are computed for each new bootstrapped set. The
1
1
The "depth" c.method bootstraps the coefficients with probability related to the
original depth values. New depths are computed for each new bootstrapped set. The
1
1
$d the depths computed by d.method over all coefficients.
$Cb the cutoff value; depths below cutoff may be anomalous.
depth, bootstrap_C.alpha, and
bootstrap_C.depth
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.