Journal of Statistical Software (Feb 2020)

Computing the Oja Median in R: The Package OjaNP

  • Daniel Fischer,
  • Karl Mosler,
  • Jyrki Möttönen,
  • Klaus Nordhausen,
  • Oleksii Pokotylo,
  • Daniel Vogel

DOI
https://doi.org/10.18637/jss.v092.i08
Journal volume & issue
Vol. 92, no. 1
pp. 1 – 36

Abstract

Read online

The Oja median is one of several extensions of the univariate median to the multivariate case. It has many desirable properties, but is computationally demanding. In this paper, we first review the properties of the Oja median and compare it to other multivariate medians. Then, we discuss four algorithms to compute the Oja median, which are implemented in our R package OjaNP. Besides these algorithms, the package contains also functions to compute Oja signs, Oja signed ranks, Oja ranks, and the related scatter concepts. To illustrate their use, the corresponding multivariate one- and C-sample location tests are implemented.

Keywords