In statistics, the score, score function, efficient score or informant indicates how sensitively a likelihood function depends on its parameter . Explicitly, the score for is the gradient of the log-likelihood with respect to .
The score plays an important role in several aspects of inference. For example:
- in formulating a test statistic for a locally most powerful test;
- in approximating the error in a maximum likelihood estimate;
- in demonstrating the asymptotic sufficiency of a maximum likelihood estimate;
- in the formulation of confidence intervals;
- in demonstrations of the Cramér–Rao inequality.
The score function also plays an important role in computational statistics, as it can play a part in the computation of maximum likelihood estimates.
The score or efficient score  is the gradient (the vector of partial derivatives), with respect to some parameter , of the logarithm (commonly the natural logarithm) of the likelihood function. If the observation is and its likelihood is , then the score can be found through the chain rule:
Thus the score indicates the sensitivity of (its derivative normalized by its value). Note that is a function of and the observation , so that, in general, it is not a statistic. However in certain applications, such as the score test, the score is evaluated at a specific value of (such as a null-hypothesis value, or at the maximum likelihood estimate of ), in which case the result is a statistic.
If certain differentiability conditions are met (see Leibniz integral rule), the integral may be rewritten as
It is worth restating the above result in words: the expected value of the score is zero. Thus, if one were to repeatedly sample from some distribution, and repeatedly calculate the score, then the mean value of the scores would tend to zero as the number of repeat samples approached infinity.
The variance of the score is known as the Fisher information and is written . Because the expectation of the score is zero, this may be written as
Note that the Fisher information, as defined above, is not a function of any particular observation, as the random variable has been averaged out. This concept of information is useful when comparing two methods of observation of some random process.
Consider a Bernoulli process, with A successes and B failures; the probability of success is θ.
Then the likelihood L is
so the score V is
We can now verify that the expectation of the score is zero. Noting that the expectation of A is nθ and the expectation of B is n(1 − θ) [recall that A and B are random variables], we can see that the expectation of V is
We can also check the variance of . We know that A + B = n (so B = n - A) and the variance of A is nθ(1 − θ) so the variance of V is
Binary outcome model
For models with binary outcomes (Y = 1 or 0), the model can be scored with the logarithm of predictions
where p is the probability in the model to be estimated and S is the score.
|This section requires expansion. (December 2009)|
See also↑Jump back a section
- Cox & Hinkley (1974), p 107
- Chentsov, N.N. (2001), "Informant", in Hazewinkel, Michiel, Encyclopedia of Mathematics, Springer, ISBN 978-1-55608-010-4
- Cox & Hinkley (1974), p 113
- Cox & Hinkley (1974), p 295
- Cox & Hinkley (1974), p 222-3
- Cox & Hinkley (1974), p 254
- Steyerberg EW, Vickers AJ, Cook NR, Gerds T, Gonen M, Obuchowski N, Pencina MJ and Kattan MW (2010) Assessing the performance of prediction models. A framework for traditional and novel measures. Epidemiology 21 (1) 128-138 DOI: 10.1097/EDE.0b013e3181c30fb2