Skip to contents

A class to represent the results of Poisson kernel-based quadratic distance tests for Uniformity on the sphere.

Slots

method

Description of the test.

x

Matrix of data

Un

The value of the U-statistic.

CV_Un

The critical value for Un computed through replications.

H0_Un

A logical value indicating whether or not the null hypothesis is rejected according to Un.

Vn

The value of the V-statistic.

CV_Vn

The critical value for Vn computed following the asymptotic distribution.

H0_Vn

A logical value indicating whether or not the null hypothesis is rejected according to Vn.

rho

The concentration parameter of the Poisson kernel.

B

Number of replications.

var_Un

exact variance of the kernel-based U-statistic.

See also

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.082258 
#> Critical value:  1.44412 
#> 
#> V-statistic:
#> 
#> H0 is rejected:  FALSE 
#> Statistic Vn:  49.19885 
#> Critical value:  52.23077 
#>