MultivariateStatistics`
MultivariateStatistics`

SpatialMedian

As of Version 11.1, SpatialMedian is part of the built-in Wolfram Language kernel.

SpatialMedian[matrix]

gives the spatial median of the elements in matrix.

更多信息和选项

  • To use SpatialMedian, you first need to load the Multivariate Statistics Package using Needs["MultivariateStatistics`"].
  • SpatialMedian[matrix] gives the vector minimizing the sum of Euclidean distances from to the elements of matrix.

范例

基本范例  (1)

Spatial median for trivariate data:

Wolfram Research (2007),SpatialMedian,Wolfram 语言函数,https://reference.wolfram.com/language/MultivariateStatistics/ref/SpatialMedian.html.

文本

Wolfram Research (2007),SpatialMedian,Wolfram 语言函数,https://reference.wolfram.com/language/MultivariateStatistics/ref/SpatialMedian.html.

CMS

Wolfram 语言. 2007. "SpatialMedian." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/MultivariateStatistics/ref/SpatialMedian.html.

APA

Wolfram 语言. (2007). SpatialMedian. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/MultivariateStatistics/ref/SpatialMedian.html 年

BibTeX

@misc{reference.wolfram_2024_spatialmedian, author="Wolfram Research", title="{SpatialMedian}", year="2007", howpublished="\url{https://reference.wolfram.com/language/MultivariateStatistics/ref/SpatialMedian.html}", note=[Accessed: 22-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_spatialmedian, organization={Wolfram Research}, title={SpatialMedian}, year={2007}, url={https://reference.wolfram.com/language/MultivariateStatistics/ref/SpatialMedian.html}, note=[Accessed: 22-November-2024 ]}