How to calculate average (median) of a group of variables to get the eudlidean centre

Apr 2, 2014 12:17 PM(2133 views)

How would I calculate the shape of the average (using the median) of a variable from a group within a data set? I need a certain function for calculating the centre of gravity (centroid) or Euclidian centre of this group of variable. Many thanks!!