---
title: "What a pulsar timing residual measures"
description: "From pulse arrival times to timing residuals: what the timing model removes, how white and red noise differ, and how big a nanohertz signal is."
canonical_url: "https://sandboxphysics.com/stories/pulsar-timing-arrays/what-a-timing-residual-measures/"
language: "en"
page_type: "story"
alternate_languages:
  zh-CN: "https://sandboxphysics.com/zh/stories/pulsar-timing-arrays/what-a-timing-residual-measures/"
last_modified: "2026-11-14"
---

[Pulsar timing arrays and the Hellings–Downs curve](https://sandboxphysics.com/stories/pulsar-timing-arrays/)

# What a pulsar timing residual measures

Sandbox Physics · 2026-11-14

A timing residual is the difference between when a pulse from a pulsar actually arrived and when a fitted timing model said it would arrive. The model removes everything that is specific to one pulsar and predictable: its spin and slow-down, its position and motion, its orbit and the delay added by the interstellar plasma. A slow gravitational wave survives that fit only partly, as a wandering of the residuals that lasts years. This chapter builds the residual, separates white noise from red noise, and works out how large the nanohertz signal reported by NANOGrav is in nanoseconds.

You need the idea of a sine wave, a least-squares fit and a variance. Times are in seconds, frequencies in hertz, and one nanohertz is $10^{-9}\,\mathrm{Hz}$.

## From pulses to residuals

A pulsar's rotation phase grows almost linearly with time. Over years its spin frequency $\nu$ slowly decreases, so to first approximation

$$
\phi(t)=\phi_0+\nu\,t+\tfrac12\dot\nu\,t^2 ,
$$

and a pulse arrives whenever $\phi$ passes a whole number. Observers record times of arrival, convert them to the centre of mass of the Solar System, and fit a timing model to them. In the NANOGrav 15-year analysis that model contains the spin period and its derivative, sky position, proper motion and parallax for every pulsar, five orbital elements and any needed extra terms for pulsars in binaries, and a piecewise-constant correction for the dispersion measure called DMX. [NANOGrav Collaboration, 2023, Section 2](https://arxiv.org/abs/2306.16213v1)

The residual is $\delta t=t_{\mathrm{obs}}-t_{\mathrm{model}}$. A gravitational wave makes the pulses arrive early and late in a time series that varies at the wave's frequency, with an amplitude proportional to the wave's strain. [Allen, 2022, Section I](https://arxiv.org/abs/2205.05637v3)

## What the fit takes away

The fit cannot tell a slow signal from a slightly wrong spin frequency or spin-down. Any part of a residual that looks like a constant, a straight line or a parabola is absorbed by $\phi_0$, $\nu$ and $\dot\nu$. Parallax and proper motion are fitted in every pulsar for the same reason: they produce delays at one cycle per half year and one cycle per year in all pulsars, which a search could otherwise mistake for a gravitational wave.

Worked example: how much of the slowest wave survives the spin fit

Sample a sine and a cosine with one full cycle over the span $T$, and remove their least-squares fit by $1$, $t$ and $t^2$. The sine keeps $39\,\%$ of its variance and the cosine keeps $7.6\,\%$. At two cycles per span the two keep $85\,\%$ and $94\,\%$, and at five cycles more than $97\,\%$. The lowest frequency, where a gravitational-wave background is strongest, is exactly where the spin fit removes the most.

## White noise and red noise

Each arrival time carries a measurement error. NANOGrav models it with three parameters per receiver and backend: a scaling of the quoted uncertainties, an extra term added in quadrature, and a term common to all sub-bands at the same epoch. [NANOGrav Collaboration, 2023, Section 2](https://arxiv.org/abs/2306.16213v1) This noise is white: independent from one epoch to the next, with equal power at all frequencies.

Red noise has more power at low frequencies. Some comes from the pulsar itself, some from the interstellar medium, and a gravitational-wave background is red too. To describe red processes, NANOGrav uses sines and cosines at the frequencies

$$
f_i=\frac{i}{T},\qquad T=16.03\ \mathrm{yr},
$$

so $f_1=1.98\,\mathrm{nHz}$. Each sine and each cosine gets a random coefficient, and the variance of the coefficient at $f_i$ is the power in that bin. [NANOGrav Collaboration, 2023, eqs. 1 to 3](https://arxiv.org/abs/2306.16213v1)

White noise also has a variance per coefficient. Fit a unit sine to $N$ evenly spaced residuals with independent errors $\sigma$, and its coefficient has variance $2\sigma^2/N$.

## The power-law spectrum

A population of inspiralling supermassive black-hole binaries gives a characteristic strain $h_c(f)=A\,(f/f_{\mathrm{ref}})^{-2/3}$, with $f_{\mathrm{ref}}=1\,\mathrm{yr}^{-1}$. The matching variance of each Fourier coefficient is

$$
\Phi_i=\frac{A^2}{12\pi^2}\,\frac{1}{T}\left(\frac{f_i}{f_{\mathrm{ref}}}\right)^{-\gamma}f_{\mathrm{ref}}^{-3},\qquad \gamma=\frac{13}{3},
$$

in units of seconds squared. [NANOGrav Collaboration, 2023, eqs. 6 and 8](https://arxiv.org/abs/2306.16213v1) The index $13/3$ follows from $\gamma=3-2\alpha$ with $\alpha=-2/3$.

Worked example: the size of the reported background in nanoseconds

Take the published amplitude $A=2.4\times10^{-15}$. With $T=5.059\times10^{8}\,\mathrm s$ and $f_{\mathrm{ref}}=3.169\times10^{-8}\,\mathrm{Hz}$, the first bin has $f_1/f_{\mathrm{ref}}=1/16.03$ and

$$
\Phi_1=\frac{5.76\times10^{-30}}{118.4}\times\frac{3.142\times10^{22}\,\mathrm{s^3}}{5.059\times10^{8}\,\mathrm s}\times16.03^{13/3}=5.03\times10^{-13}\,\mathrm{s^2}.
$$

The coefficient spread is $\sqrt{\Phi_1}=709\,\mathrm{ns}$. Each further bin is smaller by $i^{-13/6}$: $158\,\mathrm{ns}$ at $i=2$ and $22\,\mathrm{ns}$ at $i=5$.

A sine with coefficient spread $\sqrt{\Phi}$ contributes a time-averaged residual variance $\Phi/2$, and its cosine partner adds the same, so bin $i$ adds $\Phi_i$ to the residual variance before the timing fit.

**Table 2.1** Coefficient spread of the reported background and of white noise with $\sigma=1\,\mu\mathrm s$ on $N=192$ epochs.

| Bin $i$ | $f_i$ (nHz) | Background $\sqrt{\Phi_i}$ (ns) | White noise (ns) |
| --- | --- | --- | --- |
| 1 | 1.98 | 709 | 102 |
| 2 | 3.95 | 158 | 102 |
| 3 | 5.93 | 66 | 102 |
| 5 | 9.88 | 22 | 102 |

The background dominates the lowest two bins and falls below the white noise from the third. That is why a pulsar timing array needs many years: the signal lives in the few lowest frequencies, and each year of data moves $f_1$ lower.

## Lab task

Open the pulsar-timing-array Lab and click a pulsar on the sky map. The white dots are its residuals with noise; the line is the smooth common signal alone, drawn with the signals of its nearest and farthest partners. Raise the white noise from $1$ to $3\,\mu\mathrm s$ and watch the slow wander disappear into the scatter, while the correlation plot loses its shape.

## Exercises

1. NANOGrav limits the common-signal fit to the first 14 bins. What is $f_{14}$?
2. By what factor is $\sqrt{\Phi_2}$ smaller than $\sqrt{\Phi_1}$ for $\gamma=13/3$? What would the factor be for a flat spectrum, $\gamma=0$?
3. A pulsar has white noise $\sigma=0.5\,\mu\mathrm s$ on $400$ epochs. What is the white-noise spread of one Fourier coefficient?
4. With the Table 2.1 numbers, at which bin index would the background equal the white noise, treating $i$ as continuous?
5. Estimate the residual amplitude in the first bin from $h_c(f_1)/(2\pi f_1)$ and compare it with $\sqrt{\Phi_1}$.

Answers

1. $f_{14}=14/T=27.7\,\mathrm{nHz}$, matching the 2 to 28 nHz range quoted at the end of Section 2 of the paper.
2. $2^{-13/6}=0.223$. A flat spectrum gives $2^{0}=1$: every bin has the same power, like white noise.
3. $\sqrt{2/400}\times0.5\,\mu\mathrm s=35\,\mathrm{ns}$.
4. $709\,i^{-13/6}=102$ gives $i=6.95^{6/13}=2.45$, between the second and third bins.
5. $h_c(f_1)=2.4\times10^{-15}\times16.03^{2/3}=1.53\times10^{-14}$, and $h_c/(2\pi f_1)=1.2\,\mu\mathrm s$. It agrees with $709\,\mathrm{ns}$ within a factor of two, as an order-of-magnitude estimate should.

## [Try it in the pulsar-timing-array Lab](https://sandboxphysics.com/labs/pulsar-timing-array-correlations/)

Click a pulsar and watch its residual curve; then raise the white noise.

## Sources

1. [NANOGrav Collaboration, 2023, Section 2](https://arxiv.org/abs/2306.16213v1)
2. [Allen, 2022, Section I](https://arxiv.org/abs/2205.05637v3)

## Keep reading

Pulsar timing arrays and the Hellings–Downs curve · Reading path

### From one ticking pulsar to a Galaxy-sized detector

1. [Article **How can a pulsar timing array tell gravitational waves from a bad clock?**](https://sandboxphysics.com/stories/pulsar-timing-arrays/gravitational-waves-or-a-bad-clock/)
2. [You are here **What a pulsar timing residual measures**](https://sandboxphysics.com/stories/pulsar-timing-arrays/what-a-timing-residual-measures/)
3. [Article **Deriving the Hellings–Downs curve**](https://sandboxphysics.com/stories/pulsar-timing-arrays/deriving-the-hellings-downs-curve/)
4. [Article **The optimal statistic and its null tests**](https://sandboxphysics.com/stories/pulsar-timing-arrays/optimal-statistic-and-null-tests/)
5. [Article **Recompute a Hellings–Downs statistic from NANOGrav 15-year data**](https://sandboxphysics.com/stories/pulsar-timing-arrays/recompute-the-optimal-statistic/)
6. [Article **Reading the NANOGrav 15-year evidence for a gravitational-wave background**](https://sandboxphysics.com/stories/pulsar-timing-arrays/reading-the-nanograv-15-year-evidence/)
