Finite Sobolev statistics for testing (hyper)spherical uniformity
Computes the finite Sobolev statistic [REMOVE_ME]
for a sequence of non-negative weights. For , the Gegenbauer polynomials are replaced by Chebyshev ones.
sph_stat_Sobolev(X, Psi_in_X = FALSE, p = 0, vk2 = c(0, 0, 1)) cir_stat_Sobolev(Theta, Psi_in_Theta = FALSE, vk2 = c(0, 0, 1))
X
: an array of size c(n, p, M)
containing the Cartesian coordinates of M
samples of size n
of directions on . Must not contain NA
's.
Psi_in_X
: does X
contain the shortest angles matrix that is obtained with Psi_mat(X)
? If FALSE
(default), is computed internally.
p
: integer giving the dimension of the ambient space that contains .
vk2
: weights for the finite Sobolev test. A non-negative vector or matrix. Defaults to c(0, 0, 1)
.
Theta
: a matrix of size c(n, M)
with M
samples of size n
of circular data on . Must not contain NA
's.
Psi_in_Theta
: does Theta
contain the shortest angles matrix that is obtained with
Psi_mat(array(Theta, dim = c(n, 1, M)))
? If FALSE
(default), is computed internally.
A matrix of size c(M, ncol(vk2))
containing the statistics for each of the M
samples.
Computes the finite Sobolev statistic
for a sequence of non-negative weights. For , the Gegenbauer polynomials are replaced by Chebyshev ones.
Downloads (last 30 days):