A class to represent the results of Poisson kernel-based quadratic distance tests for Uniformity on the sphere.
Slots
methodDescription of the test.
xMatrix of data
UnThe value of the U-statistic.
CV_UnThe critical value for Un computed through replications.
H0_UnA logical value indicating whether or not the null hypothesis is rejected according to Un.
VnThe value of the V-statistic.
CV_VnThe critical value for Vn computed following the asymptotic distribution.
H0_VnA logical value indicating whether or not the null hypothesis is rejected according to Vn.
rhoThe concentration parameter of the Poisson kernel.
BNumber of replications.
var_Unexact variance of the kernel-based U-statistic.
Examples
# create a pk.test object
d=3
size=100
x_sp <- sample_hypersphere(d, n_points=size)
pk.test(x_sp,rho=0.8)
#>
#> Poisson Kernel-based quadratic distance test of
#> Uniformity on the Sphere
#> Selected consentration parameter rho: 0.8
#>
#> U-statistic:
#>
#> H0 is rejected: FALSE
#> Statistic Un: 1.116381
#> Critical value: 1.543358
#>
#> V-statistic:
#>
#> H0 is rejected: FALSE
#> Statistic Vn: 49.36276
#> Critical value: 52.23077
#>
