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](src/Mathematica/SphericalHarmonicsONB.nb) computes orthonormal bases
of spherical harmonics with the help of the Mathematica package [HFT.m](https://www.axler.net/HFT_Math.html). 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](src/R/Common/Legendre_Polynomial_Alternative.R)
from the aforementioned paper and other competing test statistics under the null hypothesis and for different alternative distributions on the hypersphere. Additionally, there is a [script](src/R/Common/Legendre_Polynomial_Alternative.R)
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](src/R/T_statistic/T_statistic_Functions.R)
under the name `T_stat_value` and corresponds to the newly proposed test statistic $T_{n, \beta}$.