distr_fisher | R Documentation |
A function computing Fisher information, its inverse, or its inverse square root for a given distribution.
distr_fisher(f, distr, param = NULL, par_link = NULL, trans = NULL)
f |
Parameters. For the same parameters for all observations, a numeric vector. For individual parameters for each observation, a numeric matrix with rows corresponding to observations. |
distr |
A distribution. |
param |
A parametrization of the distribution. |
par_link |
An optional logical vector indicating whether the logarithmic/logistic link should be applied to restricted parameters in order to obtain unrestricted values. Defaults to keeping the original link for all parameters. |
trans |
An optional transformation of the Fisher information. The supported transformations are the inverse of the Fisher information ( |
The (transformed) Fisher information.
distr()
# Fisher information for the negative binomial distribution
distr_fisher(f = c(0.5, 1.2), distr = "negbin")
# Fisher information for the multivariate normal distribution
distr_fisher(f = c(0, 0, 1, 1, 0.5), distr = "mvnorm")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.