Trisha Shetty (Editor)

Score test

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit

Rao's score test, or the score test (often known as the Lagrange multiplier test in econometrics) is a statistical test of a simple null hypothesis that a parameter of interest θ is equal to some particular value θ 0 . It is the most powerful test when the true value of θ is close to θ 0 . The main advantage of the score test is that it does not require an estimate of the information under the alternative hypothesis or unconstrained maximum likelihood. This constitutes a potential advantage in comparison to other tests, such as the Wald test and the generalized likelihood ratio test (GLRT). This makes testing feasible when the unconstrained maximum likelihood estimate is a boundary point in the parameter space.

Contents

The statistic

Let L be the likelihood function which depends on a univariate parameter θ and let x be the data. The score U ( θ ) is defined as

U ( θ ) = log L ( θ x ) θ .

The Fisher information is

I ( θ ) = E [ 2 θ 2 log L ( X ; θ ) | θ ] .

The statistic to test H 0 : θ = θ 0 is S ( θ 0 ) = U ( θ 0 ) 2 I ( θ 0 )

which has an asymptotic distribution of χ 1 2 , when H 0 is true.

Note on notation

Note that some texts use an alternative notation, in which the statistic S ( θ ) = S ( θ ) is tested against a normal distribution. This approach is equivalent and gives identical results.

As most powerful test for small deviations

( log L ( θ x ) θ ) θ = θ 0 C

Where L is the likelihood function, θ 0 is the value of the parameter of interest under the null hypothesis, and C is a constant set depending on the size of the test desired (i.e. the probability of rejecting H 0 if H 0 is true; see Type I error).

The score test is the most powerful test for small deviations from H 0 . To see this, consider testing θ = θ 0 versus θ = θ 0 + h . By the Neyman–Pearson lemma, the most powerful test has the form

L ( θ 0 + h x ) L ( θ 0 x ) K ;

Taking the log of both sides yields

log L ( θ 0 + h x ) log L ( θ 0 x ) log K .

The score test follows making the substitution (by Taylor series expansion)

log L ( θ 0 + h x ) log L ( θ 0 x ) + h × ( log L ( θ x ) θ ) θ = θ 0

and identifying the C above with log ( K ) .

Relationship with other hypothesis tests

The likelihood ratio test, the Wald test, and the Score test are asymptotically equivalent tests of hypotheses. When testing nested models, the statistics for each test converge to a Chi-squared distribution with degrees of freedom equal to the difference in degrees of freedom in the two models.

Multiple parameters

A more general score test can be derived when there is more than one parameter. Suppose that θ ^ 0 is the maximum likelihood estimate of θ under the null hypothesis H 0 . Then

U T ( θ ^ 0 ) I 1 ( θ ^ 0 ) U ( θ ^ 0 ) χ k 2

asymptotically under H 0 , where k is the number of constraints imposed by the null hypothesis and

U ( θ ^ 0 ) = log L ( θ ^ 0 x ) θ

and

I ( θ ^ 0 ) = E ( 2 log L ( θ ^ 0 x ) θ θ ) .

This can be used to test H 0 .

Special cases

In many situations, the score statistic reduces to another commonly used statistic.

When the data follows a normal distribution, the score statistic is the same as the t statistic.

When the data consists of binary observations, the score statistic is the same as the chi-squared statistic in the Pearson's chi-squared test.

When the data consists of failure time data in two groups, the score statistic for the Cox partial likelihood is the same as the log-rank statistic in the log-rank test. Hence the log-rank test for difference in survival between two groups is most powerful when the proportional hazards assumption holds.

References

Score test Wikipedia