1

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.

Mkarcz
  • 11
  • 2

1 Answers1

1

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

MOB
  • 91
  • 1