This function allows you to compute the family of alpha entropy
as stated in Martos et al (2018).
Usage
entropy(X,alpha=2,k.neighbor,scale=FALSE)
Arguments
X
data in a matrix where variables are in columns and observations are in rows.
alpha
a parameter defining the entropy function.
k.neighbor
number of neighbour points to consider in the computation of entropy.
scale
logical variable indicating if scaling is required.
Value
local.entropy
local entropy relative to each point in the sample.
entropy
estimated entropy.
Details
The function computes the alpha entropy and the local alpha entropy
(see reference for further details) of a data set using a non parametric
density estimator.
References
Martos, G. et al (2018): Entropy Measures for Stochastic Processes with
Applications in Functional Anomaly Detection. Entropy 20(1): 33 (2018).