How this calculation works
Receiver autonomous integrity monitoring uses measurement redundancy to examine whether observations are consistent with a positioning model. This page implements an educational residual test and bounded single-observation exclusion analysis for supplied pseudoranges. It does not provide certified RAIM availability, an integrity-risk guarantee or a navigation protection level, which require more extensive models and requirements.
Test Σ(residual/sigma)² with n−4 degrees of freedom; enumerate bounded single-row exclusion hypotheses.A worked example
The prefilled example gives Snapshot residual statistic = 2.949029909e-19. This demonstration uses supplied example data, not an approved vessel operating condition.
Good to know
Snapshot residual-sum-square/common known-sigma RAIM teaching model. Full andsubset chi-square thresholds supplied separately for their degrees of freedom. No fitted-residual variance rescaling, protection level, integrity-risk guarantee, certified availability or proof of a faulty satellite.
Reference: raim (opens in a new tab) ↗
Test redundant pseudorange consistency
Receiver autonomous integrity monitoring uses measurement redundancy to examine whether observations are consistent with a positioning model. This page implements an educational residual test and bounded single-observation exclusion analysis for supplied pseudoranges. It does not provide certified RAIM availability, an integrity-risk guarantee or a navigation protection level, which require more extensive models and requirements.
The underlying position calculation estimates three ECEF coordinates and one clock bias. Redundancy means more independent observations than those four unknowns. Merely obtaining a converged position is not the same as testing its residual consistency, and a set with exactly four observations has no ordinary residual degrees of freedom for the stated four-parameter snapshot test.
For a related navigation or vessel calculation, use the GNSS pseudorange position and receiver-clock calculator. Compare the model and input conventions before combining results.
Read more: raim (opens in a new tab) ↗
Declare the noise and threshold assumptions
Supply positive measurement standard uncertainties on the same distance basis as the pseudoranges. Under the selected independent Gaussian error and local linearization assumptions, the sum of squared residuals divided by those variances can be compared with a chosen threshold. The threshold must correspond to the intended degrees of freedom and false-alarm interpretation if a statistical statement is desired.
This version accepts the threshold explicitly rather than claiming that one number is appropriate for every satellite count or application. Do not estimate the measurement noise from the same residual sum and then use that rescaling to make the consistency statistic automatically favorable. Known or declared observation uncertainty and fitted residual scatter are distinct quantities in this test.
Read more: gnssmodel (opens in a new tab) ↗
Compute the residual statistic after fitting
Fit the full position-and-clock model and form each observed-minus-predicted pseudorange residual. The test statistic is the sum of squared normalized residuals. With n observations and full-rank four-parameter geometry, the nominal residual degrees of freedom are n minus four. A rank or convergence failure makes the test unresolved rather than a passed residual screen.
A statistic below the supplied threshold indicates consistency with that selected test at the modeled epoch. It does not prove that every observation is fault-free, that the true position is within a chosen distance or that unmodeled common errors are absent. The residual space detects only the components of measurement disagreement that the position-and-clock fit cannot absorb.
A synthetic null and linearized fault reference
Use the symmetric eight-direction GNSS fixture with an exact receiver position and common 100-meter clock bias, and give the model its exact pseudoranges. The fitted residual statistic is zero within numerical precision, with four nominal degrees of freedom. That is an exact no-error reference for the fitting and test accounting, not evidence that a real receiver has zero uncertainty.
For a separate first-order check, adding a 100-meter error to one row of that symmetric linearized geometry leaves residual squared norm 5,000 square meters. With ten-meter independent standard uncertainty, the normalized statistic is 50. A full nonlinear fit can differ slightly, so that value is a linearized analytic reference rather than an exact raw-pseudorange identity at every error size.
Inspect exclusion hypotheses without hiding ambiguity
If the all-in-view set fails the selected test, a single-fault exploration can refit subsets formed by excluding one observation at a time. Retained subsets need adequate geometry and redundancy; removing a row from a minimally determined set does not create a meaningful integrity test. Each subset's degrees of freedom and threshold interpretation must remain explicit.
If several exclusions pass, the observations do not uniquely identify a bad satellite under this analysis. Selecting the smallest residual and announcing that observation as definitely faulty would overstate the evidence. Report passing hypotheses, geometry changes and any ambiguity so the user can distinguish an exclusion candidate from a certified fault identification or a guaranteed corrected navigation solution.
What the snapshot model does not establish
Single-fault analysis assumes the declared hypothesis is appropriate. Multiple faults, correlated errors, constellation common modes and inadequate observation models can produce behavior outside that assumption. The test also does not generate a horizontal or vertical protection level from one residual threshold, nor does it evaluate operational alert limits or a receiver's complete integrity architecture.
Satellite positions and corrections must be consistent with the underlying GNSS solver. A mismatch in timing, Earth rotation or atmospheric treatment can create residuals that resemble a faulty observation. The calculator cannot determine the physical cause of a failed screen solely from the fitted residual vector, and it should not encourage arbitrary data removal to obtain a preferred position.
Report a conditional test, not certified integrity
Keep the full input set, correction status, uncertainty values, supplied threshold, nominal degrees of freedom and exclusion results with the answer. A label such as below threshold has meaning only beside those assumptions. If the noise distribution or threshold calibration is not established, treat the result as a numerical consistency screen rather than a quantified false-alarm guarantee.
This page is an educational residual-analysis aid. It does not certify maritime or aviation RAIM, replace receiver protection functions or approve a navigational decision. Its value is the transparent relationship between redundancy, position fitting, normalized residuals and single-exclusion hypotheses, with unresolved geometry and ambiguous fault candidates retained rather than converted into false assurance. Snapshot residual-sum-square/common known-sigma RAIM teaching model. Full andsubset chi-square thresholds supplied separately for their degrees of freedom. No fitted-residual variance rescaling, protection level, integrity-risk guarantee, certified availability or proof of a faulty satellite.
A few questions, answered
Can four pseudoranges perform this residual RAIM test?
They can solve four unknowns if geometry is adequate, but leave zero nominal residual degrees of freedom for the stated snapshot consistency test.
Is the threshold universal for every satellite count?
No. Its statistical interpretation depends on degrees of freedom, noise assumptions and the chosen false-alarm criterion.
What if several single exclusions pass?
Fault identification is ambiguous under the analysis. Report the alternatives instead of declaring the smallest-residual candidate definitely faulty.
Does below threshold mean certified navigation integrity?
No. The page does not provide certified availability, integrity risk, alert limits or protection levels.