Each date supplies two equations
At observation , the date and known ecliptic latitude determine parallax factors and . Five constants remain unknown: two starting positions, two proper motions and one parallax.
Put them in a parameter column . Each eastward equation uses the eastward starting position, eastward motion and parallax. Each northward equation uses its corresponding starting position and motion, sharing the same parallax.
Twenty-five observations give fifty coordinate measurements. Their coefficients form a fifty-by-five design matrix . This matrix describes how every parameter affects every measurement. The observation column holds the measured positions.
A tilted error ellipse changes the weights
Variance is the mean squared measurement error across repeated observations. Its square root is the standard deviation . If an eastward error tends to accompany a southward error, the two coordinates are correlated. Covariance measures their joint variation; dividing by the two standard deviations gives a dimensionless correlation coefficient.
The synthetic record uses equal standard deviations in both coordinates and within-epoch correlation minus 0.35. Its error ellipse is tilted. Displacements along the long axis are more plausible than equal displacements along the short axis. Different dates are independent, so the full covariance consists of two-by-two blocks.
An ordinary squared distance treats those two residual directions alike. Generalized least squares uses the inverse covariance to distinguish them. It asks whether the residual is large compared with the uncertainty in that particular direction.
Minimize the uncertainty-weighted residuals
For proposed parameters, the predicted observations are . Subtract them from the observed positions to obtain residuals. Their covariance-weighted squared sum is chi-square. Smaller values indicate a closer fit relative to the stated measurement errors.
Chi-square is quadratic in the five parameters. Set its derivative with respect to each parameter to zero and obtain five linear normal equations. Form their coefficient matrix and right-hand side, then solve. This small system is inexpensive enough to update continuously in a browser.
When the Gaussian noise variance is known, the model is correct and the design matrix has full rank, the estimate is unbiased. Its covariance has the analytic form below. The square root of the parallax diagonal entry is the reported parallax uncertainty.
Dates determine which motions can be separated
Imagine observing only on the same calendar date each year. The parallax factors repeat, and a constant annual displacement can be absorbed into the starting position. More years do not supply the missing orbital phases. More measurements cannot replace geometry that was never observed.
A very short observation span presents a related problem. A small part of a sinusoid resembles a straight line, so parallax and proper motion can compensate for each other. Observations across seasons and years make the distinction visible.
The synthetic sequence uses twenty-five equally spaced dates spanning 2.4 years. A reference epoch near the middle reduces entanglement between starting position and proper motion. Increasing the noise reduces precision. The dates still determine which geometric patterns can be distinguished.
Test intervals by repeating the measurement
The default true parallax is fifty milliarcseconds. A new noise draw produces new measured positions and another parallax estimate. Under the stated model, subtract the true parallax from the estimate and divide by the reported standard error. The result should follow a standard normal distribution.
About ninety-five percent of repeated records should place the true value inside the estimate plus or minus 1.96 standard errors. This is coverage. It describes the performance of intervals across repeated measurements.
The frozen default uses distance twenty parsecs, latitude thirty-eight degrees, eastward motion eighteen and northward motion 7.2 milliarcseconds per year, with four-milliarcsecond coordinate errors and seed 3817. The fitted parallax is 49.562 milliarcseconds with standard error 0.907; fitted eastward motion is 18.499 milliarcseconds per year. Residual chi-square is 44.64 for forty-five degrees of freedom. The model script and exported default reproduce these numbers. The accompanying test generates twelve hundred independent records. It checks parallax-interval coverage, the mean standardized error and the mean residual chi-square. Fifty coordinate measurements minus five fitted parameters leave forty-five residual degrees of freedom. Correctly specified noise gives mean chi-square near forty-five.
Real data can contain binary motion, calibration error or correlations between dates. The coverage test validates the stated synthetic model; real Gaia errors require their own checks.
Reading: Lindegren et al. · Lindegren et al.