In statistics, the score, score function, efficient score or informant indicates how sensitive a likelihood function
Contents
The score plays an important role in several aspects of inference. For example:
The score function also plays an important role in computational statistics, as it can play a part in the computation of maximum likelihood estimates.
Definition
The score or efficient score is the gradient (the vector of partial derivatives), with respect to some parameter
Thus the score
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
Mean
Under some regularity conditions, the expected value of
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.
Variance
The variance of the score is known as the Fisher information and is written
Note that the Fisher information, as defined above, is not a function of any particular observation, as the random variable
Bernoulli 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 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
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.
Scoring algorithm
The scoring algorithm is an iterative method for numerically determining the maximum likelihood estimator.