# Fisher information

In mathematical statistics, the Fisher information (sometimes simply called information) is a way of measuring the amount of information that an observable random variable X carries about an unknown parameter θ upon which the probability of X depends. Formally, it is the variance of the score, or the expected value of the observed information. In Bayesian statistics, the asymptotic distribution of the posterior mode depends on the Fisher information and not on the prior (according to the Bernstein–von Mises theorem, which was anticipated by Laplace for exponential families). The role of the Fisher information in the asymptotic theory of maximum-likelihood estimation was emphasized by the statistician R. A. Fisher (following some initial results by F. Y. Edgeworth). The Fisher information is also used in the calculation of the Jeffreys prior, which is used in Bayesian statistics.

The Fisher-information matrix is used to calculate the covariance matrices associated with maximum-likelihood estimates. It can also be used in the formulation of test statistics, such as the Wald test.

Statistical systems of a scientific nature (physical, biological, etc.) whose likelihood functions obey shift invariance have been shown to obey maximum Fisher information. The level of the maximum depends upon the nature of the system constraints.

## History

The Fisher information was discussed by several early statisticians, notably F. Y. Edgeworth. For example, Savage says: "In it [Fisher information], he [Fisher] was to some extent anticipated (Edgeworth 1908–9 esp. 502, 507–8, 662, 677–8, 82–5 and references he [Edgeworth] cites including Pearson and Filon 1898 [. . .])." There are a number of early historical sources and a number of reviews of this early work.

## Definition

The Fisher information is a way of measuring the amount of information that an observable random variable X carries about an unknown parameter θ upon which the probability of X depends. The probability function for X, which is also the likelihood function for θ, is a function f(X; θ); it is the probability mass (or probability density) of the random variable X conditional on the value of θ. The partial derivative with respect to θ of the natural logarithm of the likelihood function is called the score.

Under certain regularity conditions, it can be shown that the first moment of the score (that is, its expected value) is 0:

$\operatorname {E} \left[\left.{\frac {\partial }{\partial \theta }}\log f(X;\theta )\right|\theta \right]=\operatorname {E} \left[\left.{\frac {{\frac {\partial }{\partial \theta }}f(X;\theta )}{f(X;\theta )}}\right|\theta \right]=\int {\frac {{\frac {\partial }{\partial \theta }}f(x;\theta )}{f(x;\theta )}}f(x;\theta )\;\mathrm {d} x=$ $=\int {\frac {\partial }{\partial \theta }}f(x;\theta )\;\mathrm {d} x={\frac {\partial }{\partial \theta }}\int f(x;\theta )\;\mathrm {d} x={\frac {\partial }{\partial \theta }}\;1=0.$ The second moment is called the Fisher information:

${\mathcal {I}}(\theta )=\operatorname {E} \left[\left.\left({\frac {\partial }{\partial \theta }}\log f(X;\theta )\right)^{2}\right|\theta \right]=\int \left({\frac {\partial }{\partial \theta }}\log f(x;\theta )\right)^{2}f(x;\theta )\;\mathrm {d} x\,,$ where, for any given value of θ, the expression E[...|θ] denotes the conditional expectation over values for X with respect to the probability function f(x; θ) given θ. Note that $0\leq {\mathcal {I}}(\theta )<\infty$ . A random variable carrying high Fisher information implies that the absolute value of the score is often high. The Fisher information is not a function of a particular observation, as the random variable X has been averaged out.

Since the expectation of the score is zero, the Fisher information is also the variance of the score.

If log f(x; θ) is twice differentiable with respect to θ, and under certain regularity conditions, then the Fisher information may also be written as

${\mathcal {I}}(\theta )=-\operatorname {E} \left[\left.{\frac {\partial ^{2}}{\partial \theta ^{2}}}\log f(X;\theta )\right|\theta \right]\,,$ since

${\frac {\partial ^{2}}{\partial \theta ^{2}}}\log f(X;\theta )={\frac {{\frac {\partial ^{2}}{\partial \theta ^{2}}}f(X;\theta )}{f(X;\theta )}}\;-\;\left({\frac {{\frac {\partial }{\partial \theta }}f(X;\theta )}{f(X;\theta )}}\right)^{2}={\frac {{\frac {\partial ^{2}}{\partial \theta ^{2}}}f(X;\theta )}{f(X;\theta )}}\;-\;\left({\frac {\partial }{\partial \theta }}\log f(X;\theta )\right)^{2}$ and

$\operatorname {E} \left[\left.{\frac {{\frac {\partial ^{2}}{\partial \theta ^{2}}}f(X;\theta )}{f(X;\theta )}}\right|\theta \right]=\cdots ={\frac {\partial ^{2}}{\partial \theta ^{2}}}\int f(x;\theta )\;\mathrm {d} x={\frac {\partial ^{2}}{\partial \theta ^{2}}}\;1=0.$ Thus, the Fisher information is the negative of the expectation of the second derivative with respect to θ of the natural logarithm of f. Information may be seen to be a measure of the "curvature" of the support curve near the maximum likelihood estimate of θ. A "blunt" support curve (one with a shallow maximum) would have a low negative expected second derivative, and thus low information; while a sharp one would have a high negative expected second derivative and thus high information.

Information is additive, in that the information yielded by two independent experiments is the sum of the information from each experiment separately:

${\mathcal {I}}_{X,Y}(\theta )={\mathcal {I}}_{X}(\theta )+{\mathcal {I}}_{Y}(\theta ).$ This result follows from the elementary fact that if random variables are independent, the variance of their sum is the sum of their variances. In particular, the information in a random sample of size n is n times that in a sample of size 1, when observations are independent and identically distributed.

The information provided by a sufficient statistic is the same as that of the sample X. This may be seen by using Neyman's factorization criterion for a sufficient statistic. If T(X) is sufficient for θ, then

$f(X;\theta )=g(T(X),\theta )h(X)\!$ for some functions g and h. See sufficient statistic for a more detailed explanation. The equality of information then follows from the following fact:

${\frac {\partial }{\partial \theta }}\log \left[f(X;\theta )\right]={\frac {\partial }{\partial \theta }}\log \left[g(T(X);\theta )\right]$ which follows from the definition of Fisher information, and the independence of h(X) from θ. More generally, if T = t(X) is a statistic, then

${\mathcal {I}}_{T}(\theta )\leq {\mathcal {I}}_{X}(\theta )$ with equality if and only if T is a sufficient statistic.

### Informal derivation of the Cramér–Rao bound

The Cramér–Rao bound states that the inverse of the Fisher information is a lower bound on the variance of any unbiased estimator of θ. H.L. Van Trees (1968) and B. Roy Frieden (2004) provide the following method of deriving the Cramér–Rao bound, a result which describes use of the Fisher information, informally:

$\operatorname {E} \left[\left.{\hat {\theta }}(X)-\theta \right|\theta \right]=\int \left[{\hat {\theta }}(x)-\theta \right]\cdot f(x;\theta )\,\mathrm {d} x=0.$ The likelihood function f(X; θ) describes the probability that we observe a given sample x given a known value of θ. If f is sharply peaked with respect to changes in θ, it is easy to intuit the "correct" value of θ given the data, and hence the data contains a lot of information about the parameter. If the likelihood f is flat and spread-out, then it would take many, many samples of X to estimate the actual "true" value of θ. Therefore, we would intuit that the data contain much less information about the parameter.

Now, we differentiate the unbiased-ness condition above to get

${\frac {\partial }{\partial \theta }}\int \left[{\hat {\theta }}(x)-\theta \right]\cdot f(x;\theta )\,\mathrm {d} x=\int \left({\hat {\theta }}-\theta \right){\frac {\partial f}{\partial \theta }}\,\mathrm {d} x-\int f\,\mathrm {d} x=0.$ We now make use of two facts. The first is that the likelihood f is just the probability of the data given the parameter. Since it is a probability, it must be normalized, implying that

$\int f\,\mathrm {d} x=1.$ Second, we know from basic calculus that

${\frac {\partial f}{\partial \theta }}=f\,{\frac {\partial \log f}{\partial \theta }}.$ Using these two facts in the above let us write

$\int \left({\hat {\theta }}-\theta \right)f\,{\frac {\partial \log f}{\partial \theta }}\,\mathrm {d} x=1.$ Factoring the integrand gives

$\int \left(\left({\hat {\theta }}-\theta \right){\sqrt {f}}\right)\left({\sqrt {f}}\,{\frac {\partial \log f}{\partial \theta }}\right)\,\mathrm {d} x=1.$ If we square the equation, the Cauchy–Schwarz inequality lets us write

$\left[\int \left({\hat {\theta }}-\theta \right)^{2}f\,\mathrm {d} x\right]\cdot \left[\int \left({\frac {\partial \log f}{\partial \theta }}\right)^{2}f\,\mathrm {d} x\right]\geq 1.$ The right-most factor is defined to be the Fisher Information

${\mathcal {I}}\left(\theta \right)=\int \left({\frac {\partial \log f}{\partial \theta }}\right)^{2}f\,\mathrm {d} x.$ The left-most factor is the expected mean-squared error of the estimator θ^, since

$\operatorname {E} \left[\left.\left({\hat {\theta }}\left(X\right)-\theta \right)^{2}\right|\theta \right]=\int \left({\hat {\theta }}-\theta \right)^{2}f\,\mathrm {d} x.$ Notice that the inequality tells us that, fundamentally,

$\operatorname {Var} \left({\hat {\theta }}\right)\,\geq \,{\frac {1}{{\mathcal {I}}\left(\theta \right)}}.$ In other words, the precision to which we can estimate θ is fundamentally limited by the Fisher Information of the likelihood function.

### Single-parameter Bernoulli experiment

A Bernoulli trial is a random variable with two possible outcomes, "success" and "failure", with success having a probability of θ. The outcome can be thought of as determined by a coin toss, with the probability of heads being θ and the probability of tails being 1 − θ.

The Fisher information contained in n independent Bernoulli trials may be calculated as follows. In the following, A represents the number of successes, B the number of failures, and n = A + B is the total number of trials.

(1) defines Fisher information. (2) invokes the fact that the information in a sufficient statistic is the same as that of the sample itself. (3) expands the natural logarithm term and drops a constant. (4) and (5) differentiate with respect to θ. (6) replaces A and B with their expectations. (7) is algebra.

The end result, namely,

${\mathcal {I}}(\theta )={\frac {n}{\theta (1-\theta )}},$ is the reciprocal of the variance of the mean number of successes in n Bernoulli trials, as expected (see last sentence of the preceding section).

## Matrix form

When there are N parameters, so that θ is a N × 1 vector $\theta ={\begin{bmatrix}\theta _{1},\theta _{2},\dots ,\theta _{N}\end{bmatrix}}^{\mathrm {T} },$ then the Fisher information takes the form of an N × N matrix, the Fisher Information Matrix (FIM), with typical element

${\left({\mathcal {I}}\left(\theta \right)\right)}_{i,j}=\operatorname {E} \left[\left.\left({\frac {\partial }{\partial \theta _{i}}}\log f(X;\theta )\right)\left({\frac {\partial }{\partial \theta _{j}}}\log f(X;\theta )\right)\right|\theta \right].$ The FIM is a N × N positive semidefinite symmetric matrix, defining a Riemannian metric on the N-dimensional parameter space, thus connecting Fisher information to differential geometry. In that context, this metric is known as the Fisher information metric, and the topic is called information geometry.

Under certain regularity conditions, the Fisher Information Matrix may also be written as

${\left({\mathcal {I}}\left(\theta \right)\right)}_{i,j}=-\operatorname {E} \left[\left.{\frac {\partial ^{2}}{\partial \theta _{i}\,\partial \theta _{j}}}\log f(X;\theta )\right|\theta \right]\,.$ The metric is interesting in several ways; it can be derived as the Hessian of the relative entropy; it can be understood as a metric induced from the Euclidean metric, after appropriate change of variable; in its complex-valued form, it is the Fubini–Study metric.

We say that two parameters θi and θj are orthogonal if the element of the ith row and jth column of the Fisher information matrix is zero. Orthogonal parameters are easy to deal with in the sense that their maximum likelihood estimates are independent and can be calculated separately. When dealing with research problems, it is very common for the researcher to invest some time searching for an orthogonal parametrization of the densities involved in the problem.{{ safesubst:#invoke:Unsubst||date=__DATE__ |$B= {{#invoke:Category handler|main}}{{#invoke:Category handler|main}}[citation needed] }} ### Multivariate normal distribution The FIM for a N-variate multivariate normal distribution has a special form. Let $\mu (\theta )={\begin{bmatrix}\mu _{1}(\theta ),\mu _{2}(\theta ),\dots ,\mu _{N}(\theta )\end{bmatrix}}^{\mathrm {T} },$ and let Σ(θ) be the covariance matrix. Then the typical element ${\mathcal {I}}_{m,n}$ , 0 ≤ m, n < K, of the FIM for XN(μ(θ), Σ(θ)) is: ${\mathcal {I}}_{m,n}={\frac {\partial \mu ^{\mathrm {T} }}{\partial \theta _{m}}}\Sigma ^{-1}{\frac {\partial \mu }{\partial \theta _{n}}}+{\frac {1}{2}}\operatorname {tr} \left(\Sigma ^{-1}{\frac {\partial \Sigma }{\partial \theta _{m}}}\Sigma ^{-1}{\frac {\partial \Sigma }{\partial \theta _{n}}}\right),$ where $(..)^{\mathrm {T} }$ denotes the transpose of a vector, tr(..) denotes the trace of a square matrix, and: Note that a special, but very common, case is the one where Σ(θ) = Σ, a constant. Then ${\mathcal {I}}_{m,n}={\frac {\partial \mu ^{\mathrm {T} }}{\partial \theta _{m}}}\Sigma ^{-1}{\frac {\partial \mu }{\partial \theta _{n}}}.\$ In this case the Fisher information matrix may be identified with the coefficient matrix of the normal equations of least squares estimation theory. Another special case is that the mean and covariance depends on two different vector parameters, say, β and θ. This is especially popular in the analysis of spatial data, which uses a linear model with correlated residuals. We have where The proof of this special case is given in literature. Using the same technique in this paper, it's not difficult to prove the original result. ## Properties ### Reparametrization The Fisher information depends on the parametrization of the problem. If θ and η are two scalar parametrizations of an estimation problem, and θ is a continuously differentiable function of η, then ${\mathcal {I}}_{\eta }(\eta )={\mathcal {I}}_{\theta }(\theta (\eta ))\left({\frac {{\mathrm {d} }\theta }{{\mathrm {d} }\eta }}\right)^{2}$ ${\mathcal {I}}_{\boldsymbol {\eta }}({\boldsymbol {\eta }})={\boldsymbol {J}}^{\mathrm {T} }{\mathcal {I}}_{\boldsymbol {\theta }}({\boldsymbol {\theta }}({\boldsymbol {\eta }})){\boldsymbol {J}}$ where the (i, j)th element of the k × k Jacobian matrix ${\boldsymbol {J}}$ is defined by $J_{ij}={\frac {\partial \theta _{i}}{\partial \eta _{j}}}\,,$ In information geometry, this is seen as a change of coordinates on a Riemannian manifold, and the intrinsic properties of curvature are unchanged under different parametrization. In general, the Fisher information matrix provides a Riemannian metric (more precisely, the Fisher-Rao metric) for the manifold of thermodynamic states, and can be used as an information-geometric complexity measure for a classification of phase transitions, e.g., the scalar curvature of the thermodynamic metric tensor diverges at (and only at) a phase transition point. In the thermodynamic context, the Fisher information matrix is directly related to the rate of change in the corresponding order parameters. In particular, such relations identify second-order phase transitions via divergences of individual elements of the Fisher information matrix. ## Applications ### Optimal design of experiments Fisher information is widely used in optimal experimental design. Because of the reciprocity of estimator-variance and Fisher information, minimizing the variance corresponds to maximizing the information. When the linear (or linearized) statistical model has several parameters, the mean of the parameter-estimator is a vector and its variance is a matrix. The inverse matrix of the variance-matrix is called the "information matrix". Because the variance of the estimator of a parameter vector is a matrix, the problem of "minimizing the variance" is complicated. Using statistical theory, statisticians compress the information-matrix using real-valued summary statistics; being real-valued functions, these "information criteria" can be maximized. Traditionally, statisticians have evaluated estimators and designs by considering some summary statistic of the covariance matrix (of a meanunbiased estimator), usually with positive real values (like the determinant or matrix trace). Working with positive real-numbers brings several advantages: If the estimator of a single parameter has a positive variance, then the variance and the Fisher information are both positive real numbers; hence they are members of the convex cone of nonnegative real numbers (whose nonzero members have reciprocals in this same cone). For several parameters, the covariance-matrices and information-matrices are elements of the convex cone of nonnegative-definite symmetric matrices in a partially ordered vector space, under the Loewner (Löwner) order. This cone is closed under matrix-matrix addition, under matrix-inversion, and under the multiplication of positive real-numbers and matrices. An exposition of matrix theory and the Loewner-order appears in Pukelsheim. The traditional optimality-criteria are the information-matrix's invariants; algebraically, the traditional optimality-criteria are functionals of the eigenvalues of the (Fisher) information matrix: see optimal design. ### Jeffreys prior in Bayesian statistics In Bayesian statistics, the Fisher information is used to calculate the Jeffreys prior, which is a standard, non-informative prior for continuous distribution parameters. ## Relation to relative entropy {{#invoke:see also|seealso}} Fisher information is related to relative entropy. Consider a family of probability distributions $f(x;\theta )$ where $\theta$ is a parameter which lies in a range of values. Then the relative entropy, or Kullback–Leibler divergence, between two distributions in the family can be written as $D(\theta '||\theta )=\int f(x;\theta ')\log {\frac {f(x;\theta ')}{f(x;\theta )}}\mathrm {d} x$ And the fisher information is: ${\mathcal {I}}(\theta )=\left({\frac {\mathrm {d} ^{2}}{\mathrm {d} \theta '_{i}\mathrm {d} \theta '_{j}}}D(\theta '|\theta )\right)_{\theta =\theta '}$ If we consider $\theta$ fixed, the relative entropy between two distributions of the same family is minimized at $\theta '=\theta$ . For $\theta '$ close to $\theta$ one may expand the previous expression in a series up to second order: $D(\theta '||\theta )={\frac {1}{2}}(\theta '-\theta )^{2}\underbrace {\left({\frac {\mathrm {d} ^{2}}{\mathrm {d} \theta '_{i}\mathrm {d} \theta '_{j}}}D(\theta '|\theta )\right)_{\theta =\theta '}} _{\text{Fisher info.}}+\cdots$ Thus the Fisher information represents the curvature of the relative entropy. ## Distinction from the Hessian of the entropy In certain cases, the Fisher Information matrix is the negative of the Hessian of the Shannon entropy.{{ safesubst:#invoke:Unsubst||date=__DATE__ |$B= {{#invoke:Category handler|main}}{{#invoke:Category handler|main}}[citation needed] }} The cases where this explicitly holds are given below. A distribution's Shannon entropy

${\mathcal {H}}=-\int f(X;\theta )\log f(X;\theta )\mathrm {d} X$ has as the negative of the $(i,j)$ entry of its Hessian:

$-{\frac {\partial ^{2}}{\partial \theta _{i}\partial \theta _{j}}}{\mathcal {H}}=\int \left[{\frac {\partial ^{2}f(X;\theta )}{\partial \theta _{i}\,\partial \theta _{j}}}\left(1+\log f(X;\theta )\right)+{\frac {1}{f(X;\theta )}}{\frac {\partial f(X;\theta )}{\partial \theta _{i}}}{\frac {\partial f(X;\theta )}{\partial \theta _{j}}}\right]\mathrm {d} X\,.$ In contrast, the $(i,j)$ entry of the Fisher information matrix is

${\mathcal {I}}_{ij}(\theta )=\int f(X;\theta ){\frac {\partial \log f(X;\theta )}{\partial \theta _{i}}}{\frac {\partial \log f(X;\theta )}{\partial \theta _{j}}}\,\mathrm {d} X=\int {\frac {1}{f(X;\theta )}}{\frac {\partial f(X;\theta )}{\partial \theta _{i}}}{\frac {\partial f(X;\theta )}{\partial \theta _{j}}}\,\mathrm {d} X\,.$ The difference between the negative Hessian and the Fisher information is Template:Clarify

$-{\frac {\partial ^{2}}{\partial \theta _{i}\,\partial \theta _{j}}}{\mathcal {H}}-{\mathcal {I}}_{ij}(\theta )=\int {\frac {\partial ^{2}f(X;\theta )}{\partial \theta _{i}\,\partial \theta _{j}}}\left(1+\log f(X;\theta )\right)\mathrm {d} X\,.$ ### Equality

In particular, the Fisher Information matrix will be the same as the negative of the Hessian of the entropy in situations where ${\frac {\partial ^{2}f(X;\theta )}{\partial \theta _{i}\,\partial \theta _{j}}}$ is zero for all i, j, X, and θ. For instance, a two-dimensional example that makes the two equal is

$f(X;\theta )=\theta _{1}g_{1}(X)+\theta _{2}g_{2}(X)+(1-\theta _{1}-\theta _{2})g_{3}(X)\,,$ where g1(X), g2(X), and g3(X) are probability distributions.

### Inequality

A one-dimensional example where the Fisher Information differs from the negative Hessian is $f(X;\theta )={\frac {e^{-(X-\theta )^{2}/2}}{\sqrt {2\pi }}}$ . In this case, the entropy H is independent of the distribution mean θ. Thus, the second derivative of the entropy with respect to θ is zero. However, for the Fisher information, we have ${\mathcal {I}}(\theta )=1\,.$ 