In statistics, the score (or informant) is the gradient of the log-likelihood function with respect to the parameter vector. Evaluated at a particular point, the score indicates the steepness of the log-likelihood function and thereby the sensitivity to infinitesimal changes to the parameter values. If the log-likelihood function is continuous over the parameter space, the score will vanish at a local maximum or minimum; this fact is used in maximum likelihood estimation to find the parameter values that maximize the likelihood function.
Since the score is a function of the observations that are subject to sampling error, it lends itself to a test statistic known as score test in which the parameter is held at a particular value. Further, the ratio of two likelihood functions evaluated at two distinct parameter values can be understood as a definite integral of the score function.
The 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 (the log-likelihood). 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.
In older literature, the term "linear score" may be used to refer to the score with respect to infinitesimal translation of a given density. This convention arises from a time when the primary parameter of interest was the mean or median of a distribution. In this case, the likelihood of an observation is given by a density of the form . The "linear score" is then defined as
Under some regularity conditions, the expected value of with respect to the observation , given the true parameter , written , is zero. To see this rewrite the likelihood function as a probability density function . Then:
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.
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 observing the first n trials of a Bernoulli process, and seeing that A of them are successes and the remaining B are failures, where the probability of success is θ.
Then the likelihood is
so the score s 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 s 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 s 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 needs expansion. You can help by adding to it. (December 2009)
- Pickles, Andrew (1985). An Introduction to Likelihood Analysis. Norwich: W. H. Hutchins & Sons. pp. 24–29. ISBN 0-86094-190-6.
- Steyerberg, E. W.; Vickers, A. J.; Cook, N. R.; Gerds, T.; Gonen, M.; Obuchowski, N.; Pencina, M. J.; Kattan, M. W. (2010). "Assessing the performance of prediction models. A framework for traditional and novel measures". Epidemiology. 21 (1): 128–138. doi:10.1097/EDE.0b013e3181c30fb2. PMC 3575184.
- Chentsov, N.N. (2001) , "Informant", in Hazewinkel, Michiel (ed.), Encyclopedia of Mathematics, Springer Science+Business Media B.V. / Kluwer Academic Publishers, ISBN 978-1-55608-010-4
- Cox, D. R.; Hinkley, D. V. (1974). Theoretical Statistics. Chapman & Hall. ISBN 0-412-12420-3.
- Schervish, Mark J. (1995). Theory of Statistics. New York: Springer. Section 2.3.1. ISBN 0-387-94546-6.