Learn R Programming

pfica (version 0.1.0)

kd: Kurtosis distance

Description

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

Usage

kd(fdx, hm = fdPar(fdx), rho = NULL, r = 2, centerfd = FALSE, qmin = 2, qmax = 5)

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.

rho

the smoothing parameter to perform kd on pspline.kffobi.

r

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

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.

Value

A vector of \(\mathtt{KD}\) values.

Details

The kurtosis distance (\(\mathtt{KD}\)) measures the degree of extremeness in an independent component coordinate space of degree \(q\). For a fixed \(q\), the kurtosis distance is defined as $$\mathtt{KD}(z_{j})=\mathrm{max}\left[\sum_{j=1}^{q}\mathrm{kurt}(z_{j})\right]-\mathrm{min}\left[\sum_{j=1}^{q}\mathrm{kurt}(z_{j})\right],$$ where \(z_{j}\) is the vector of independent components calculated from \(\int_{T}x_{i}^{st}(t)h_{j}(t)dt\). Thus, \(\mathtt{KD}\) is calculated from the the standardized original sample instead of the standardized principal component expansion. Then, the kd function calculates \(\mathtt{KD}\) for different values of \(q=2,\ldots,n-1\). The user can then consider choosing a value from those amongst the first relative maxima of the vector of \(\mathtt{KD}\) values. If the value of \(q\) is increased too much, there is a risk of losing accurate estimates, as more of the independent part (noise) of the model is induced.

References

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

See Also

kffobi