Score (statistics)
From Wikipedia, the free encyclopedia
In statistics, the score is the partial derivative, with respect to some parameter θ, of the logarithm (commonly the natural logarithm) of the likelihood function. If the observation is X and its likelihood is L(θ;X), then the score V can be found through the chain rule:
Note that V is a function of θ and the observation X. The score V is a sufficient statistic for θ.
The expected value of V, written , is zero. To see this, rewrite the definition of expectation, using the fact that the probability mass function is just L(θ;x), which is conventionally denoted by f(x;θ) (in which the dependence on x is more explicit). The corresponding cumulative distribution function is denoted as F(x;θ). With this change of notation and writing f'θ(x;θ) for the partial derivative with respect to θ,
where the integral runs over the whole of the probability space of X and a prime denotes partial differentiation with respect to θ. If certain differentiability conditions are met, 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 with the true θ, 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 a particular observation, as the random variable X has been averaged out. This concept of information is useful when comparing two methods of observation of some random process.
[edit] Example
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 given by
This is a standard calculus problem: A and B are treated as constants. Then
So if the score is zero, θ = A / (A + B). 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 − θ), we can see that the expectation of V is
We can also check the variance of V. We know that A + B = n and the variance of A is nθ(1 − θ) so the variance of V is