Hi I'm perplexed because I assume that a distribution with higher variance should have higher entropy scores, however this does not appear to be the case? Here is an example.
# Set seed for reproducibility
set.seed(0)
# High Variance Probe: Uniform distribution
high_variance_probe <- runif(1000, min = 0, max = 1)
# Low Variance Probe: Normal distribution, but tightly clustered
mean <- 0.5
std_dev <- 0.1
low_variance_probe <- rnorm(1000, mean = mean, sd = std_dev)
low_variance_probe <- pmin(pmax(low_variance_probe, 0), 1) # Clipping values to [0, 1]
entropy::entropy (high_variance_probe)
entropy::entropy (low_variance_probe)
high variance is: 6.717094 low variable_probe is: 6.886953