Learn R Programming

pfica (version 0.1.2)

kd: Kurtosis distance

Description

This function calculates the kurtosis distance (Vidal, 2020), which is an ad-hoc measure to select the number of components to be computed in kffobi and pspline.kffobi.

Usage

kd(fdx, hm = fdPar(fdx), pp = NULL, r = 2,
   pr = c("fdx", "fdx.st", "KL", "KL.st"),
   centerfd = FALSE, qmin = 2, qmax = 5)

Value

A vector of kurtosis distance values.

Arguments

fdx

a functional data object obtained from the fda package.

hm

a functional parameter object, obtained from the fda package, that defines the independent component functions to be estimated in kffobi.

pp

the penalty parameter to perform kd on pspline.kffobi.

r

a number indicating the order of the penalty to perform kd on pspline.kffobi

.

pr

the functional data object to project into the space spanned by the eigenfunctions of the kurtosis operator. To compute the independent components, the usual procedure is to use KL.st, the standardized principal component expansion. Thus, if pr is not supplied, KL.st is used.

centerfd

a logical value indicating whether the mean function has to be subtracted from each functional observation.

qmin

the minimum allowable \(q\) degree.

qmax

the maximum allowable \(q\) degree.

Author

Marc Vidal

Details

The kurtosis distance measures the degree of extremeness in a component space by computing the excess kurtosis on each score vector and the distance between the most extreme kurtosis values using the Frobenius norm.

References

Vidal, M. (2020). Functional Independent Component Analysis in Bioelectrical Signal Processing. MA thesis. Universidad de Granada.

See Also

kffobi