powered by
Calculates the histogram-based estimate (A.2) of the negentropy, $$Negent(g) = (1/2)*(1 + log(2\pi \sigma ^2)) - Entropy(g),$$ for a vector of observations.
negent(x, K = ceiling(log2(length(x)) + 1))
The \(n\)-vector of observations.
The number of bins to use in the histogram.
The value of the estimated negentropy.
negent2D,negent3D
negent2D
negent3D
# NOT RUN { # TBA - Submit a PR! # }
Run the code above in your browser using DataLab