Description Usage Arguments Details Value Note Author(s) References See Also Examples
View source: R/localdepth.similarity.R
The function evaluates depth and local depth similarity for a set of points with respect to a dataset.
1 2 3 4 5 |
x |
numeric; vector, dataframe or matrix. If |
y |
numeric; vector, dataframe or matrix with the same number of columns as |
tau |
numeric; threshold value for the evaluation of the local depth. Use function |
use |
character; the statistic used to measure the size of the objects. Currently, for |
method |
character; the type of (local) depth similarity to be evaluated |
type |
character; how to evaluate membership. Only active for |
nsamp |
character or numeric; the number of objects that are considered. If |
nmax |
numeric; maximum fraction (in the range (0,1]) of objects to be considered when |
tol |
numeric; tolerance parameter to be fixed depending on the machine precision. Used to decide membership of points located near to the boundary of the objects |
dimension |
numeric; only used with |
location |
|
covariance |
|
weight |
experimental parameter used to weight entries in the similarity matrix. Not implemented in each method, dimension. |
With method="simplicial"
and type="exact"
, membership of the points in simplices is evaluated; when type="approx"
, an approximate membership function is used. See references below.
The function returns an object of class
localdepth.similarity
with the following components:
localdepth |
matrix of the local depth similarities |
depth |
matrix of the depth similarities |
max.localdepth |
|
max.depth |
|
num |
vector with two components. |
call |
match.call() result. Note that this is called from the internal function |
tau |
value of the corresponding input parameter |
use |
value of the corresponding input parameter |
tol |
value of the corresponding input parameter |
x |
value of the corresponding input parameter |
y |
value of the corresponding input parameter |
type |
value of the corresponding input parameter |
nsamp |
value of the corresponding input parameter |
method |
value of the corresponding input parameter |
The function is not yet implemented for Ellipsoid (local) depth.
Claudio Agostinelli and Mario Romanazzi
C. Agostinelli and M. Romanazzi (2007). Local depth of univariate distributions. Working paper n. 1/2007, Dipartimento di Statistica, Universita' Ca' Foscari, Venezia.
C. Agostinelli and M. Romanazzi (2008). Local depth of multidimensional data. Working paper n. 3/2008, Dipartimento di Statistica, Universita' Ca' Foscari, Venezia.
R.Y. Liu, J.M. Parelius and K. Singh (1999) Multivariate analysis by data depth: descriptive statistics, graphics and inference. The Annals of Statistics, 27, 783-858.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.