Augmented Dickey-Fuller Test Calculator
Inputs
- Inputs: ADF statistic -3.20, specification code 1 (0 none, 1 constant, 2 constant and trend), sample size 100.
- Fuller's (1976) tabulated critical values for the bracketing sample sizes are interpolated linearly in 1/T.
- Interpolated critical values: 1% -3.51, 5% -2.89, 10% -2.58.
- The statistic -3.20 sits 0.31 beyond the 5% critical value: reject the unit-root null at 5%.
Every unit-root test is a comparison, and the comparison is rigged in a way that surprises people: under the null the statistic does not follow a t distribution, so the familiar normal critical value is the wrong hurdle. Dickey and Fuller tabulated the right hurdles, and they move - with the sample size, and with whether the regression carries a constant or a trend. Enter your ADF statistic, the specification you ran and the sample size, and this calculator interpolates Fuller's table in 1/T and returns the critical values at the three standard levels with the verdict at 5%.
Worked examples
Constant only, T = 100, rejection
(-3.2 · Constant, no trend · 100)
| Critical value at 5% | -2.89 |
| Critical value at 1% | -3.51 |
| Critical value at 10% | -2.58 |
| Verdict at the 5% level | Reject the unit-root null at 5% |
| Margin (statistic - 5% critical value) | -0.31 |
Constant only, T = 60, no rejection
(-2.7 · Constant, no trend · 60)
| Critical value at 5% | -2.92 |
| Critical value at 1% | -3.56 |
| Critical value at 10% | -2.59 |
| Verdict at the 5% level | Cannot reject the unit-root null at 5% |
| Margin (statistic - 5% critical value) | 0.22 |
Constant and trend, T = 250
(-4.1 · Constant and trend · 250)
| Critical value at 5% | -3.43 |
| Critical value at 1% | -3.99 |
| Critical value at 10% | -3.13 |
| Verdict at the 5% level | Reject the unit-root null at 5% |
| Margin (statistic - 5% critical value) | -0.67 |
What a unit root does to a series
A series with a unit root has no home: shocks accumulate instead of dying away, the variance grows with time, and regressions between two such series produce spectacular, meaningless fits - the spurious regression problem. Testing for a unit root is therefore the first gate in time-series work, before cointegration, before forecasting models, before any claim that a level means something.
The augmented test runs a regression of the change on the lagged level and enough lagged changes to whiten the errors, and tests whether the level's coefficient is zero. The statistic is a t-ratio in form only. Its null distribution, dragged left by the behaviour of random walks, is what Fuller tabulated in 1976 and what every package since has reproduced.
- Null hypothesis: the series has a unit root
- Critical values are more negative than t values
- They depend on T and on the deterministic terms fitted
- Interpolation in 1/T follows the table's own geometry
The three Dickey-Fuller specifications
Specification is destiny in this test. With no constant and no trend, the 5% critical value at a sample of 100 is -1.95. Add a constant and it drops to -2.89. Add a trend as well and it falls to -3.45. Each deterministic term gives the random walk more ways to look stationary, so the hurdle for rejecting it rises. Running the wrong specification's critical values is not a detail: comparing a constant-and-trend statistic against the no-constant table manufactures rejections.
The first two worked examples run the constant-only specification. At T of 100 the statistic of -3.2 clears the -2.89 hurdle and the unit root is rejected with a margin of -0.31. At T of 60 the hurdle itself has moved to -2.92, and the second example's statistic of -2.7 falls short by 0.22 - the same statistic that would have rejected at a larger sample fails here, which is the sample-size dependence the interpolation exists to honour.
Worked examples
Example 1: ADF test statistic -3.2; Deterministic specification: Constant, no trend; Sample size T 100. Critical value at 5% = -2.89. Supporting values: Critical value at 1% -3.51; Critical value at 10% -2.58; Verdict at the 5% level Reject the unit-root null at 5%; Margin (statistic - 5% critical value) -0.31. Inputs: ADF statistic -3.20, specification code 1 (0 none, 1 constant, 2 constant and trend), sample size 100. Fuller's (1976) tabulated critical values for the bracketing sample sizes are interpolated linearly in 1/T. Interpolated critical values: 1% -3.51, 5% -2.89, 10% -2.58. The statistic -3.20 sits 0.31 beyond the 5% critical value: reject the unit-root null at 5%.
Example 2: ADF test statistic -2.7; Deterministic specification: Constant, no trend; Sample size T 60. Critical value at 5% = -2.92. Supporting values: Critical value at 1% -3.56; Critical value at 10% -2.59; Verdict at the 5% level Cannot reject the unit-root null at 5%; Margin (statistic - 5% critical value) 0.22. Inputs: ADF statistic -2.70, specification code 1 (0 none, 1 constant, 2 constant and trend), sample size 60. Fuller's (1976) tabulated critical values for the bracketing sample sizes are interpolated linearly in 1/T. Interpolated critical values: 1% -3.56, 5% -2.92, 10% -2.59. The statistic -2.70 sits 0.22 short of the 5% critical value: cannot reject the unit-root null at 5%.
Example 3: ADF test statistic -4.1; Deterministic specification: Constant and trend; Sample size T 250. Critical value at 5% = -3.43. Supporting values: Critical value at 1% -3.99; Critical value at 10% -3.13; Verdict at the 5% level Reject the unit-root null at 5%; Margin (statistic - 5% critical value) -0.67. Inputs: ADF statistic -4.10, specification code 2 (0 none, 1 constant, 2 constant and trend), sample size 250. Fuller's (1976) tabulated critical values for the bracketing sample sizes are interpolated linearly in 1/T. Interpolated critical values: 1% -3.99, 5% -3.43, 10% -3.13. The statistic -4.10 sits 0.67 beyond the 5% critical value: reject the unit-root null at 5%.
Why the critical values move with T
In small samples a random walk has had less time to wander, so its test statistic concentrates closer to the stationary distribution and the critical values sit further left: at T of 25 the constant-only 5% value is -3.00, against -2.86 in the limit. Fuller's table gives the values at 25, 50, 100, 250 and 500, and the profession's convention - followed here - is to interpolate linearly in 1/T, the variable in which the values are nearly linear. The second example's -2.92 at T of 60 is such an interpolation, not a table entry.
The trend specification's third example shows the far end of the machinery: at T of 250 the tabulated values apply directly, 1% at -3.99 and 5% at -3.43, and the statistic of -4.1 rejects at the 1% level as well. Strong rejections like that are the ones worth having; the test's low power against near-unit-root alternatives means a marginal rejection should be reported with its margin, which is why the margin is an output of this calculator rather than an afterthought.
Reading the verdict
Rejecting the unit-root null licenses treating the series as stationary - around a mean, or around a trend if that was the specification. Failing to reject licenses almost nothing: the test is famously weak against alternatives with roots of 0.95 or 0.98, which are economically very different from 1 over long horizons but nearly indistinguishable over short ones. A failure to reject at T of 60 is a statement about information, not about the world.
Report the trio together - statistic, critical value, margin - rather than a naked verdict. The first example's -0.31 margin and the third example's -0.67 margin are both rejections, but they are not equally secure, and the reader of a result deserves to see which kind they are looking at.
ADF vs Phillips-Perron and KPSS
The Phillips-Perron test attacks the same null with a nonparametric correction instead of augmentation lags; the KPSS test reverses the null to stationarity, so the two can be run as a confirmatory pair - a series that ADF fails to clear and KPSS rejects is genuinely ambiguous, and there are many. The ADF remains the default because its augmentation is transparent: the lag length is visible, testable and arguable, rather than folded into a kernel bandwidth.
Whichever battery is run, the critical values are the contract between the statistic and the verdict. This calculator's contribution is narrow and deliberate: the correct Fuller values for the sample size actually in hand, interpolated the way the literature interpolates them, so the comparison at the heart of the test is an honest one.
The augmentation half of the test deserves equal billing with the critical values, because it is where applications quietly go wrong. The lagged differences exist to absorb short-run dynamics so that the level's coefficient is judged against white noise errors; too few lags and the leftover correlation distorts the statistic's distribution away from Fuller's table entirely, invalidating the comparison this page performs. Too many lags and the test's already modest power drains further. Lag selection by information criteria, with a residual check afterwards, is the standard compromise - and it means the statistic being compared here was itself the end of a small modelling exercise, not a raw fact.
A closing word on what rejection buys in practice. The first example's rejection at a margin of -0.31 licenses modelling that series in levels - regressions, forecasts, equilibrium relationships - without the spurious-regression hazard. It does not certify the series as well-behaved in every other respect: breaks, outliers and time-varying variance all survive a unit-root rejection untouched. The test answers one question, the question on which a great deal of subsequent work depends, and the honesty of the whole chain rests on the critical value being the right one for the sample in hand.
A practical corollary follows from the table's shape. Because the critical values tighten as T grows, a researcher with a statistic of -2.7 and a sample of 60 - the second example's position - is not one more observation away from a verdict; the gap of 0.22 closes slowly, and only a materially longer sample or a stronger statistic changes the answer. Pretesting honesty consists in reporting that position as it stands: the data in hand cannot distinguish this series from a unit root at the 5% level, and every downstream model should be chosen to survive both possibilities.
FAQs
What is the 5% critical value in the first worked example?
-2.89 - the tabulated value for the constant-only specification at T of 100.
What is the 1% critical value there?
-3.51. The example's statistic of -3.2 rejects at 5% but not at 1%, which the margin output makes plain.
By what margin does the first example reject?
-0.31: the statistic of -3.2 sits 0.31 beyond the -2.89 critical value.
What is the interpolated 5% value at T = 60 in the second example?
-2.92, interpolated in 1/T between the T of 50 and T of 100 table entries; the statistic of -2.7 cannot reject against it.
What is the 5% critical value in the trend example?
-3.43, the tabulated value for the constant-and-trend specification at T of 250.
What is the 1% critical value in the trend example?
-3.99 - and the statistic of -4.1 clears even that, the strongest verdict of the three examples.