TL;DR
The Wald test asks whether a parameter could really equal a claimed value, such as zero, given the data. It takes the fitted estimate, subtracts the claimed value, and divides by the estimated standard error, so the answer is in units of noise. Squaring that number gives the Wald statistic, which is compared with a chi-squared distribution.
It is the standard test printed next to every coefficient in regression software, and it needs only the one model that was fitted, which is why it is so widely used.
Builds on: Null Hypothesis, Maximum Likelihood Estimation, Fisher Information · Leads to: Logistic Regression, DESeq2, and the likelihood ratio test
Where it's used
Logistic regression in medicine and epidemiology. A study of whether a drug is linked to a side effect fits a logistic model and reports one coefficient for the drug. The Wald test asks whether that coefficient differs from zero. Software reports its z value and p-value directly, so a reader can see whether the link is distinguishable from chance. The test says nothing about whether the link is causal; that depends on the study design.
Gene expression. The DESeq2 method for comparing gene activity between two conditions fits a generalised linear model for each gene. Its default test for the difference in log fold change is a Wald test, and the statistic, with its standard error, gives each gene a p-value. The same test is applied thousands of times, so the results are corrected for multiple testing.
Econometrics. Economists fit probit, Poisson and other maximum likelihood models and report Wald statistics for each coefficient. A coefficient for education in a wage model, for example, is tested against zero using its estimated standard error, with no need to refit the model.
How it works
Take a coin whose chance of heads, , is unknown. We flip it 100 times and get 60 heads. Test the claim that the coin is fair, . Use the usual 5 percent level, where the chi-squared critical value with one degree of freedom is 3.84.
-
The data and the model. Each flip is a Bernoulli trial, so the number of heads is binomial with . The estimate of comes from maximum likelihood. Check: nothing has been computed yet; this step only fixes what the test is about.
-
The estimate. The maximum likelihood estimate is the observed proportion, . Check: 0.6 is the value that makes the observed data most probable under the model.
-
How much one flip reveals. The Fisher information for one flip is . At , it is per flip. For 100 flips, the total is . Check: information adds over independent flips, so 100 times 4.167 gives 416.7.
-
The variance of the estimate. The estimated variance of is the inverse of the information: . The standard error is the square root, . Check: this is the same as .
-
The Wald statistic. The distance from the claim is . Square it and divide by the variance: . Check: the z value is , and , the same number.
-
Compare with the chi-squared distribution. Under the claim, is approximately chi-squared with one degree of freedom. The 5 percent critical value is 3.84. Since , the claim of a fair coin is rejected at the 5 percent level. Check: the two-sided p-value for is about 0.04, which is below 0.05 and agrees with the decision.
-
Interpret. The data are too unlikely for a fair coin to be the whole story. If the coin really were fair, a result at least this far from 50 heads would occur only about 4 times in 100 repeats of the experiment.
The plot shows the chi-squared curve with one degree of freedom, the rejection threshold, and the observed statistic.
flowchart LR A[Fit the model by maximum likelihood] --> B[Estimate theta-hat and its variance] B --> C[Distance from claim divided by standard error] C --> D[Square it to get W] D --> E[Compare W with chi-squared critical value] E --> F[Reject or keep the claim]
- chi-squared, 1 degree of freedom
The math
Step 1 in symbols: the estimator
Let be a parameter, possibly a vector, and let be its maximum likelihood estimate. Under the usual regularity conditions and for large samples, the central limit theorem for likelihoods gives an approximately normal sampling distribution:
where is the Fisher information in the whole sample, the sum of the information from each observation. This is the fact that makes the test work. The estimated variance is , evaluated at the estimate.
Step 2 in symbols: one parameter
Let the claim be . Define the standard error and the z statistic
The Wald statistic is its square,
Under , is approximately chi-squared with one degree of freedom. The variance is evaluated at , the estimate from the unrestricted model. This is the choice that makes the test a Wald test and not a score test.
Step 3 in symbols: the coin
For Bernoulli trials with heads, the log-likelihood is . Setting its derivative to zero gives . The second derivative has expectation , so
This is step 3 and step 4 of the walkthrough. Then , which at , , is .
Step 4 in symbols: several parameters
Suppose the claim is a set of linear restrictions, , where is a matrix. Then
which is a Quadratic Form built from the estimate and its Covariance Matrix. Under , is approximately chi-squared with degrees of freedom. With one restriction, this is the same as step 2.
Worked examples
Ten flips give 6 heads. Test .
- Estimate: .
- Variance: .
- Standard error: .
- Distance from claim: .
- Wald statistic: .
- Compare with 3.84: , so the claim is not rejected.
Interpretation: six heads in ten flips is not unusual for a fair coin. The sample is too small for the estimate to be distinguished from 0.5.
Keep the same proportion but flip the coin 400 times, with 240 heads. Test .
- Estimate: .
- Variance: .
- Standard error: .
- Distance from claim: .
- Wald statistic: .
- Compare with 3.84: , so the claim is rejected. The p-value is well below 0.001.
Interpretation: the estimate is the same, 0.6, but the variance is a quarter of its size because is four times larger. The Wald statistic is four times larger too, and the evidence against the fair coin is much stronger. The test measures evidence, which depends on sample size as well as on the estimate.
A logistic model of a disease outcome gives a coefficient for an exposure, with estimated standard error 0.3 from the software output. Test .
- Distance from claim: .
- z value: .
- Wald statistic: .
- Compare with 3.84: , so the claim that the coefficient is zero is rejected at the 5 percent level. The two-sided p-value is about 0.008.
- Odds ratio: . The odds of the outcome are about 2.2 times higher for each unit of exposure, according to the model.
- Interpretation: the Wald test shows the association is unlikely to be zero in the model. It does not say how large the effect is in a population, and the estimate carries the uncertainty given by its standard error. A confidence interval reports that uncertainty directly.
Try it: a coefficient with standard error 0.4. Is the coefficient significant at the 5 percent level? Answer: , , which is below 3.84, so it is not significant. The two-sided p-value is about 0.21.
Common mistakes and tradeoffs
It is tempting to think a large Wald statistic proves that the effect is large. In fact grows with the sample size even when the effect is small, as the second example showed. Report the estimate and its confidence interval alongside the test.
It is tempting to think the Wald test and the likelihood ratio test always agree. In fact they are asymptotically equivalent, but in small samples they can give different answers. The Wald test can be unreliable when the estimate is near the edge of its range, for example a proportion near 0 or 1, or when a logistic regression separates the outcomes perfectly.
It is tempting to think that a Wald test on and one on give the same answer for the same null. In fact the Wald statistic depends on how the hypothesis is written, because the variance is evaluated at the estimate and not under the null. Small samples can give different decisions for the same claim, which the likelihood ratio test avoids.
The three classical tests trade simplicity against accuracy in different ways:
| Test | Fits needed | Strength | Weakness |
|---|---|---|---|
| Wald | Only the unrestricted model | Printed by software; needs no refitting | Sensitive to parameterisation; weak at edges and in small samples |
| Likelihood ratio | Both models | Often more accurate in moderate samples; invariant to reparameterisation | Needs the restricted model refitted |
| Score | Only the restricted model | Useful when the full model is hard to fit | Less common in software; can be less accurate |
History
Ronald Fisher's work in the 1920s set up maximum likelihood estimation and the information measure that appears in the variance of the estimate. The chi-squared approximation for likelihood-based statistics was developed in the same period and later.
In 1943, Abraham Wald published a general method for testing several parameters at once in large samples. The test that bears his name is built on the approximate normality of the estimate and the quadratic form in its covariance. It was one of a family of large-sample tests that Wald developed, alongside his work on sequential analysis during the Second World War.
The Wald test became common in applied work because it needs only the fitted model. Software has printed a Wald statistic and p-value next to each coefficient for decades, which is why most users meet it first in regression output.
Recap
- The Wald test divides the distance between an estimate and a claimed value by the estimated standard error, then squares it.
- For one parameter, the Wald statistic is the square of the z value, and under the claim it is approximately chi-squared with one degree of freedom.
- The variance is evaluated at the maximum likelihood estimate, so only the unrestricted model is needed.
- For several restrictions, the statistic is a quadratic form in the estimates and their covariance, with degrees of freedom equal to the number of restrictions.
- Next, read the Logistic Regression lesson to see the test in use, and the DESeq2 paper for a large-scale application.
Check yourself
QuestionAn estimate is 2.0 with standard error 0.5. What is the Wald statistic for the claim that the parameter equals zero?Show answer
The z value is . The Wald statistic is , which is far above the 5 percent chi-squared critical value of 3.84.
QuestionWhy is the Wald test's variance taken at the estimate rather than at the value in the claim?Show answer
The estimate is the best available information about the variance, and the Wald test uses only the unrestricted model. Evaluating the variance at the claimed value would require fitting the model under the claim, which is what the score test does.
QuestionTwo studies find the same estimate of 0.1 for an effect. One has a standard error of 0.05 and the other of 0.02. Which has the larger Wald statistic, and why?Show answer
The second study has , against for the first. The smaller standard error comes from more data or less noise, so the same estimate is stronger evidence against the claim of no effect.
QuestionA researcher says that a Wald p-value of 0.3 proves that a drug has no effect. What is wrong with this?Show answer
A large p-value means the data do not reject the claim of no effect; it does not prove the claim is true. The study may simply have too little data to detect a real effect, so the confidence interval for the effect should be reported.