Spatial Depth
The method measures how central each observation is in a multivariate data cloud: it averages the unit vectors pointing from every data point to the observation and subtracts the length of this average from one. The depth is 1 at the spatial median, where the unit vectors cancel, and approaches 0 for points far outside the data.
다변량 자료 구름에서 각 관측값이 얼마나 중심에 있는지를 잽니다. 모든 자료점에서 그 관측값을 향하는 단위벡터의 평균을 구하고 그 길이를 1에서 뺍니다. 단위벡터가 서로 상쇄되는 공간 중앙값에서 깊이는 1이고, 자료에서 멀리 떨어진 점일수록 0에 가까워집니다.
Which observations sit at the centre of a multivariate data set and which lie on its outskirts?
다변량 자료에서 어떤 관측값이 중심에 있고 어떤 관측값이 가장자리에 있는지 알고 싶습니다.
The method reports the spatial depth of every observation, the spatial median with its depth, summary statistics of the depths and a flag for the lowest-depth fraction of observations.
When to use Spatial Depth
- You want a centre-outward ordering of multivariate observations.
- You screen for outlying observations without assuming normality.
- The data set is too large for halfspace or simplicial depth.
When to use something else
- Exact affine-invariant halfspace ranking in two dimensions: use Tukey Halfspace Depth
- You want a formal test of a multivariate centre: use Multivariate Spatial Sign Test for Location
- Elliptical normal data where the Mahalanobis distance suffices: use Projection Depth (Zuo-Serfling)
Assumptions and requirements
- Numeric variables on comparable scales, or standardised by the method
- Independent observations
- Depth is invariant to rotations; affine invariance needs the 'affine' option
What the analysis reports
- Spatial depth and depth rank of every observation
- Spatial median and its depth
- Depth summary and low-depth flags
How to report it
Spatial depth of [value] observations ranged from [value] to [value]; [value] observations below the 5% depth quantile were flagged.
Related methods
- Tukey Halfspace Depth
- Simplicial Depth (Liu)
- Projection Depth (Zuo-Serfling)
- Lens Depth
- Multivariate Spatial Sign Test for Location
How this method is validated
이 방법의 검증 근거
- Independent computation. 2 reference tests compare the results with SciPy and direct computations (formulas, enumeration or simulation).
독립 계산. SciPy·직접 계산(식·열거·모의실험) 대조 참조 시험 2건 통과.
Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.
허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.
Run Spatial Depth on Quorant
- Data you need
- a table (CSV or Excel) with predictor (feature) columns
- Price
- 400 credits for one analysis up to 10,000 rows (complexity level 3); larger or wider data costs more. Optional methodologist review: 1800 credits.
- Checking
- Compared with independent computations
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.