1
$\begingroup$

Can someone clarify the difference for me between the spatial median and a group centroid, in the context of a group of points in multivariate space.

I have 9 locations each with 30 samples each. Each sample is a quadrat with species abundance data for multiple species.

I want to determine the group centroid for each location, but now I am confused about the difference between the group centroid (what i understand to be like a multivariate mean) and the spatial median of the points in multivariate space.

$\endgroup$
2
1
$\begingroup$

In my memories of my courses, centroid is the point minimizing the L2 norm, and spatial median is the point minimizing the L1 norm.

cent = arg min_x sum_i ||x - x_i||_2

med = arg min_x sum_i ||x - x_i||_1

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.