Description Usage Arguments Value Author(s) Examples
This function computes the entropy
E_{f} [\log(f)] of the density of the multivariate gaussian,
with parameters in a list, as it is the case for
MCMC target density parameters. This function is used
mostly for benchmarking entropy estimation performed by the package
(using, e.g., the iid algorithm IID_norm
).
1 | normEntropy(target_param)
|
target_param |
A list of two elements: the mean |
The entropy of the Gaussian with these parameters.
Didier Chauveau.
1 2 3 4 | d=2 # model dimension
mu=rep(0,d); v = diag(d) # mean and variance
target_param = list(mean=mu, v=v) # parameters
normEntropy(target_param) # the entropy
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.