pk.test-class: An S4 class for Poisson kernel-based quadratic distance...

pk.test-classR Documentation

An S4 class for Poisson kernel-based quadratic distance tests.

Description

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

pk.test()

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)


QuadratiK documentation built on Oct. 29, 2024, 5:08 p.m.