Wald test explained

In statistics, the Wald test (named after Abraham Wald) assesses constraints on statistical parameters based on the weighted distance between the unrestricted estimate and its hypothesized value under the null hypothesis, where the weight is the precision of the estimate.[1] [2] Intuitively, the larger this weighted distance, the less likely it is that the constraint is true. While the finite sample distributions of Wald tests are generally unknown,[3] it has an asymptotic χ2-distribution under the null hypothesis, a fact that can be used to determine statistical significance.[4]

Together with the Lagrange multiplier test and the likelihood-ratio test, the Wald test is one of three classical approaches to hypothesis testing. An advantage of the Wald test over the other two is that it only requires the estimation of the unrestricted model, which lowers the computational burden as compared to the likelihood-ratio test. However, a major disadvantage is that (in finite samples) it is not invariant to changes in the representation of the null hypothesis; in other words, algebraically equivalent expressions of non-linear parameter restriction can lead to different values of the test statistic.[5] [6] That is because the Wald statistic is derived from a Taylor expansion,[7] and different ways of writing equivalent nonlinear expressions lead to nontrivial differences in the corresponding Taylor coefficients.[8] Another aberration, known as the Hauck–Donner effect,[9] can occur in binomial models when the estimated (unconstrained) parameter is close to the boundary of the parameter space—for instance a fitted probability being extremely close to zero or one—which results in the Wald test no longer monotonically increasing in the distance between the unconstrained and constrained parameter.[10] [11]

Mathematical details

Under the Wald test, the estimated

\hat{\theta}

that was found as the maximizing argument of the unconstrained likelihood function is compared with a hypothesized value

\theta0

. In particular, the squared difference

\hat{\theta}-\theta0

is weighted by the curvature of the log-likelihood function.

Test on a single parameter

If the hypothesis involves only a single parameter restriction, then the Wald statistic takes the following form:

W=

{(\widehat{\theta
-\theta

0)}2}{\operatorname{var}(\hat\theta)}

which under the null hypothesis follows an asymptotic χ2-distribution with one degree of freedom. The square root of the single-restriction Wald statistic can be understood as a (pseudo) t-ratio that is, however, not actually t-distributed except for the special case of linear regression with normally distributed errors.[12] In general, it follows an asymptotic z distribution.[13]

\sqrt{W}=

\widehat{\theta
-\theta

0}{\operatorname{se}(\hat\theta)}

where

\operatorname{se}(\widehat\theta)

is the standard error (SE) of the maximum likelihood estimate (MLE), the square root of the variance. There are several ways to consistently estimate the variance matrix which in finite samples leads to alternative estimates of standard errors and associated test statistics and p-values.[3] The validity of still getting an asymptotically normal distribution after plugin-in the MLE estimator of

\hat\theta

into the SE relies on Slutsky's theorem.

Test(s) on multiple parameters

The Wald test can be used to test a single hypothesis on multiple parameters, as well as to test jointly multiple hypotheses on single/multiple parameters. Let

\hat{\theta}n

be our sample estimator of P parameters (i.e.,

\hat{\theta}n

is a

P x 1

vector), which is supposed to follow asymptotically a normal distribution with covariance matrix V,

\sqrt{n}(\hat{\theta}n-\theta)\xrightarrow{l{D}}N(0,V)

.The test of Q hypotheses on the P parameters is expressed with a

Q x P

matrix R:

H0:R\theta=r

H1:R\thetar

The distribution of the test statistic under the null hypothesis is

(R\hat{\theta}n-r)'[R(\hat{V}

-1
n/n)R']

(R\hat{\theta}n-r)/Q\xrightarrow{l{D}}   F(Q,n-P)\xrightarrow[n

2
infty]{l{D}}   \chi
Q

/Q,

which in turn implies

(R\hat{\theta}n-r)'[R(\hat{V}

-1
n/n)R']

(R\hat{\theta}n-r)\xrightarrow[n

2
infty]{l{D}}   \chi
Q

,

where

\hat{V}n

is an estimator of the covariance matrix.[14]

Suppose

\sqrt{n}(\hat{\theta}n-\theta)\xrightarrow{l{D}}N(0,V)

. Then, by Slutsky's theorem and by the properties of the normal distribution, multiplying by R has distribution:

R\sqrt{n}(\hat{\theta}n-\theta)=\sqrt{n}(R\hat{\theta}n-r)\xrightarrow{l{D}}N(0,RVR')

Recalling that a quadratic form of normal distribution has a Chi-squared distribution:

-1
\sqrt{n}(R\hat{\theta}
n-r)'[RVR']

\sqrt{n}(R\hat{\theta}n-r)

2
\xrightarrow{l{D}}\chi
Q

Rearranging n finally gives:

-1
(R\hat{\theta}
n-r)'[R(V/n)R']

(R\hat{\theta}n-r)

2
\xrightarrow{l{D}}   \chi
Q

\hat{V}n

of

V

such that

V-1\hat{V}n

has a determinant that is distributed
2
\chi
n-P
, then by the independence of the covariance estimator and equation above, we have:

(R\hat{\theta}n-r)'[R(\hat{V}

-1
n/n)R']

(R\hat{\theta}n-r)/Q\xrightarrow{l{D}}   F(Q,n-P)

Nonlinear hypothesis

In the standard form, the Wald test is used to test linear hypotheses that can be represented by a single matrix R. If one wishes to test a non-linear hypothesis of the form:

H0:c(\theta)=0

H1:c(\theta)0

The test statistic becomes:

c\left(\hat{\theta}n\right)'\left[c'\left(\hat{\theta}n\right)\left(\hat{V}n/n\right)c'\left(\hat{\theta}n\right)'\right]-1c\left(\hat{\theta}n\right)

2
\xrightarrow{l{D}}   \chi
Q

where

c'(\hat{\theta}n)

is the derivative of c evaluated at the sample estimator. This result is obtained using the delta method, which uses a first order approximation of the variance.

Non-invariance to re-parameterisations

The fact that one uses an approximation of the variance has the drawback that the Wald statistic is not-invariant to a non-linear transformation/reparametrisation of the hypothesis: it can give different answers to the same question, depending on how the question is phrased.[15] For example, asking whether R = 1 is the same as asking whether log R = 0; but the Wald statistic for R = 1 is not the same as the Wald statistic for log R = 0 (because there is in general no neat relationship between the standard errors of R and log R, so it needs to be approximated).[16]

Alternatives to the Wald test

There exist several alternatives to the Wald test, namely the likelihood-ratio test and the Lagrange multiplier test (also known as the score test). Robert F. Engle showed that these three tests, the Wald test, the likelihood-ratio test and the Lagrange multiplier test are asymptotically equivalent.[17] Although they are asymptotically equivalent, in finite samples, they could disagree enough to lead to different conclusions.

There are several reasons to prefer the likelihood ratio test or the Lagrange multiplier to the Wald test:[18] [19] [20]

See also

Further reading

External links

Notes and References

  1. Book: Ludwig . Fahrmeir . Thomas . Kneib . Stefan . Lang . Brian . Marx . Regression : Models, Methods and Applications . Berlin . Springer . 2013 . 978-3-642-34332-2 . 663 .
  2. Book: Michael D. . Ward . Michael D. Ward . John S. . Ahlquist . Maximum Likelihood for Social Science : Strategies for Analysis . . 2018 . 978-1-316-63682-4 . 36 .
  3. Book: Vance . Martin . Stan . Hurn . David . Harris . Econometric Modelling with Time Series: Specification, Estimation and Testing . Cambridge University Press . 2013 . 978-0-521-13981-6 .
  4. Book: Russell . Davidson . James G. . MacKinnon . The Method of Maximum Likelihood : Fundamental Concepts and Notation . Estimation and Inference in Econometrics . New York . Oxford University Press . 1993 . 0-19-506011-3 . 89 .
  5. Allan W. . Gregory . Michael R. . Veall . Formulating Wald Tests of Nonlinear Restrictions . . 53 . 6 . 1985 . 1465–1468 . 10.2307/1913221 . 1913221 .
  6. P. C. B. . Peter C. B. Phillips . Phillips . Joon Y. . Park . On the Formulation of Wald Tests of Nonlinear Restrictions . . 56 . 5 . 1988 . 1065–1083 . 10.2307/1911359 . 1911359 .
  7. Book: Hayashi, Fumio . Fumio Hayashi . Econometrics . Princeton . Princeton University Press . 2000 . 1-4008-2383-8 . 489–491 .,
  8. Francine . Lafontaine . Kenneth J. . White . Obtaining Any Wald Statistic You Want . . 21 . 1 . 1986 . 35–40 . 10.1016/0165-1765(86)90117-5 .
  9. Walter W. Jr. . Hauck . Allan . Donner . Wald's Test as Applied to Hypotheses in Logit Analysis . . 72 . 1977 . 360a . 851–853 . 10.1080/01621459.1977.10479969 .
  10. Book: Maxwell L. . King . Kim-Leng . Goh . Improvements to the Wald Test . Handbook of Applied Econometrics and Statistical Inference . New York . Marcel Dekker . 2002 . 0-8247-0652-8 . 251–276 . https://books.google.com/books?id=uJprdoXEb24C&pg=PA251 .
  11. Thomas William . Yee . On the Hauck–Donner Effect in Wald Tests: Detection, Tipping Points, and Parameter Space Characterization . Journal of the American Statistical Association . 2022 . 117 . 540 . 1763–1774 . 10.1080/01621459.2021.1886936 . 2001.08431 .
  12. Book: A. Colin . Cameron . A. Colin Cameron . Pravin K. . Trivedi . Microeconometrics : Methods and Applications . New York . Cambridge University Press . 2005 . 137 . 0-521-84805-9 .
  13. Book: Russell . Davidson . James G. . MacKinnon . The Method of Maximum Likelihood : Fundamental Concepts and Notation . Estimation and Inference in Econometrics . New York . Oxford University Press . 1993 . 0-19-506011-3 . 89 .
  14. Book: Harrell, Frank E. Jr. . 2001 . Regression modeling strategies . Springer-Verlag . New York . 0387952322 . Section 9.3.1 .
  15. Fears . Thomas R. . Benichou . Jacques . Gail . Mitchell H. . 1996 . A reminder of the fallibility of the Wald statistic . . 50 . 3 . 226–227 . 10.1080/00031305.1996.10474384 .
  16. Frank . Critchley . Paul . Marriott . Mark . Salmon . On the Differential Geometry of the Wald Test with Nonlinear Restrictions . . 64 . 5 . 1996 . 1213–1222 . 10.2307/2171963 . 2171963 . 1814/524 . free .
  17. Book: Engle, Robert F. . Handbook of Econometrics . Intriligator, M. D. . Griliches, Z. . Elsevier . 1983 . II . 796–801 . Wald, Likelihood Ratio, and Lagrange Multiplier Tests in Econometrics . 978-0-444-86185-6 .
  18. Book: Harrell, Frank E. Jr. . 2001 . Regression modeling strategies . Springer-Verlag . New York . 0387952322 . Section 9.3.3 .
  19. Book: Collett, David . Modelling Survival Data in Medical Research . London . 1994 . Chapman & Hall . 0412448807 .
  20. Book: Pawitan, Yudi . 2001 . In All Likelihood . New York . Oxford University Press . 0198507658 .
  21. Book: Agresti, Alan . 2002 . Categorical Data Analysis . limited . Wiley . 232 . 0471360937 . 2nd .