mediancenter
Mediancenter
Description
It calculates the mediancenter (or geometric median) of multivariate data.
Usage
Arguments
| Argument | Description |
|---|---|
x |
a matrix or data frame. As usual, rows are observations and columns are variables. |
Details
The mediancenter for a sample of multivariate observations is computed using a steepest descend method combined with bisection. The mediancenter invariant to rotations of axes and is useful as a multivariate generalization of the median of univariate sample.
Value
A list containing the following named components:
| Value | Description |
|---|---|
median |
an estimate for the mediancenter of the data. |
iter |
the number of iterations performed, it is negative if a degenerate solution is found. |
Seealso
References
Gower, J.C. (1974). Algorithm AS 78: The mediancentre. Applied Statistics 23 , 466-470.