Skip to content
Snippets Groups Projects
Name Last commit Last update
src
.gitignore
README.md

Overview

This is an accompanying collection of script files in R and Mathematica, which were used to obtain the numerical results appearing in the paper "A general maximal projection approach to uniformity testing on the hypersphere" (Borodavka, J. and Ebner, B.). The main Mathematica file computes orthonormal bases of spherical harmonics with the help of the Mathematica package HFT.m. The R script files can be used to compute critical values, powers and local Bahadur ARE of the newly proposed test statistic from the aforementioned paper and other competing test statistics under the null hypothesis and for different alternative distributions on the hypersphere. Additionally, there is script which defines a new alternative distribution on the hypersphere. Each file is complemented with introductory comments and many more details on implementation are given in the paper. The main R function is defined in script under the name T_stat_value and corresponds to the newly proposed test statistic

Tn,βT_{n, \beta}
.

Authors