pdsample1 {ExPD2D}R Documentation

Projection depth of a point with respect to a given bivariate data

Description

pdsample1 function calculates projection depth of a given bivariate data points. This function is almost the same as pdsample, but only the object output is the projection depth of the given arbitrary point (not necessary sample point), with respect to the given data. It will be called by pdpoint function.

Usage

pdsample1(x,y)

Arguments

x A numeric vector (the x coordinates of the data)
y A numeric vector (the y coordinates of the data)

Author(s)

Yijun Zuo, Xiangyang Ye

References

Yijun Zuo, Projection-based Depth Functions and Associated Medians. The Annals of Statistics 2003; Vol 31, No. 5, 1460-1490

Yijun zuo, Exactly Compute Bivariate Projection Depth and Stahel-Donoho Estimator. Manuscript, 2009

See Also

pdsample

Examples

data(pds)
pdsample1(pds$x,pds$y)

[Package ExPD2D version 1.0.1 Index]