
| Category | Value (passages) |
|---|---|
| Low | 1 |
| Medium | 3 |
| High | 6 |
Illustrative only. Invented values, not taken from a source dataset or an official target. Use residual fans in a trail-counter calibration to distinguish variability proportional to traffic from constant absolute noise; compare error reporting on original and transformed scale.
A trail crew compares an automated counter with a separate observer's tally. On quiet stretches the two records usually differ by one or two passages. Around the busiest period the difference can grow much larger, sometimes positive and sometimes negative. On a graph, the point cloud opens like a fan. One possible explanation is that variability grows with traffic. Another is that the busiest windows are a different kind of measurement, with more groups, more difficult conditions, or a reference count that is harder to make. The fan is a good reason to check the scale and the field records. It is not a diagnosis by itself.
That distinction changes the report. If the public wants to know the likely difference in number of passages, an error measured in passages is directly useful. If an analyst wants to compare how tightly estimates behave from quiet to busy conditions, error expressed as a fraction of traffic may reveal a more stable scale. Both views can matter in a calibration or validation study. A model can fit better after transformation and still need to demonstrate that its original-unit predictions are good enough for decisions. The important step is to make the scale choice part of the measurement study, not a cosmetic step after seeing the plot.
Toy residual spread by expected passage count
The chart and table show the same invented values in passages. For the example, suppose spread means the within-band standard deviation of signed residuals for windows with low, medium, or high expected passage counts. No actual residuals, sample sizes or estimates are supplied, so the values are only an illustration of one possible pattern. They are not from a source dataset, an acceptable error limit, or a trend observed at a real trail.
| Expected passage count band | Spread in passages |
|---|---|
| Low | 1 |
| Medium | 3 |
| High | 6 |
The table says nothing about whether an automated device was usually too high or too low. Spread is concerned with how residuals vary within each band. A set of high-band residuals could be widely dispersed around zero, or widely dispersed around a negative average. The bands also do not specify their centers. If expected counts were roughly 10, 30 and 60 in the three bands, the three spread values would be compatible with the illustrative pattern of a standard deviation equal to about one tenth of the expected count. With other band centers they would imply different proportional spreads. Without the centers, or the underlying records, the three bars alone do not justify a multiplicative model.
The bar heights are summaries of the variation of residuals, not residual values to sum. A standard deviation of six passages does not mean that every observation was off by six, nor that the typical signed error was plus six. Combining those values across bands requires information about the mixture and the centers as well as the spreads. If one band contains four qualifying windows and another contains forty, the stability of their spread estimates may be quite different. Keep sample counts and the definition of spread with any real plot of this type.
Match the field records before changing their scale
An analysis should start with the same event definition on both sides. A passage can mean a person crossing a fixed line in either direction during a stated interval. Counting unique visitors instead would be a different outcome: a person crossing twice can contribute two passages but only one person. A counter might report both directions together while a reference observer records one direction. Such a mismatch can create errors that grow with traffic even if neither counting system is defective for what it was asked to do. State the location, direction rule, observation window and eligible modes before subtracting counts.
Check the time boundary too. Suppose an automated interval ends at a different minute than the observer's interval. A group crossing near the boundary might make one interval look too high and the adjacent one too low. Longer totals may partially cancel those discrepancies, which can conceal a matching problem rather than resolve it. Preserve the clocks and any documented offsets, and record the treatment of boundary crossings and incomplete coverage. A similar error arises if one source uses the start timestamp and another uses the end. Fix the documented match before diagnosing a variance pattern.
The FHWA study on pedestrian counting procedures discusses comparing automated and manual counts for validation and recognizes differences in counting conditions. The agency's traffic data collection guidance also addresses calibration, validation and monitoring. These references describe their own program contexts, not the invented site or a tolerance for this exercise. The general lesson is that knowing how each tally was obtained matters as much as the analysis that follows.
Give every subtraction a direction and a job
A validation comparison might define error as the automated count minus the reference count for a matched window. A positive value then means the automated device counted more passages in that window. A fitted-model residual is typically observed minus fitted on the modeled response scale. If you model reference counts from automated readings, the residual would instead subtract the fitted reference estimate from the observed reference count. These are related but not interchangeable. Write the formula and describe what each variable represents. Otherwise a negative value might be read as an automated undercount even when the analysis used the opposite direction.
In this article the fictional spread chart refers to signed residuals from a stated model within bands of expected counts. In a report about direct agreement with a reference, a similarly shaped plot could show raw count differences instead. Make the axes tell the reader which is which. Predicted values from the model and manually observed reference counts serve different roles as horizontal coordinates. The appropriate decision depends on whether you are diagnosing a fit, describing disagreement or estimating how much traffic occurred. Do not let a single label such as residual stand in for all three.
It is also worth describing what the reference can and cannot do. A human observer can miss passages in a busy group, disagree about whether someone crossed the designated line, or have an interrupted view. Calling that source reference does not make it exact truth. When available, independent checks can help characterize the reference process itself. Note incomplete or disputed windows rather than assume an automated result was wrong whenever the two differed. The NIST/SEMATECH process modeling handbook provides useful background for fitting and validation; the evidence for a reference's quality belongs to the actual study.
At high traffic, reference error could widen the plot even if the device behaves similarly at all levels. A fixed-time scan in which one worker is sometimes distracted differs from a continuously attended interval. A second observer's agreement, or an appropriately authorized reviewed recording, might address part of that concern. No particular checking method is implied for the teaching example. The analysis should state what source can establish and avoid interpreting a disagreement as a calibrated estimate of device error when reference uncertainties dominate.
Read the fan as a set of competing possibilities
Plot signed residuals against fitted amounts or another substantively relevant scale chosen for the question. A cloud that widens around an approximately flat center is consistent with nonconstant spread. A center that bends or drifts suggests the mean relationship may be misspecified as well. Both patterns can occur together. If residuals become more negative as count rises, a logarithm that looks visually appealing will not necessarily remove that bias. Report the center and spread separately so readers can see whether the concern is precision, bias or both.
A wider cloud can be partly built by mixing regimes. A counter at a trail junction may face more ambiguous movements during busy events, while quieter single-file periods provide clearer classifications. If those regimes have differing average errors, pooling them can increase apparent spread even if each regime has fairly constant variability. Plot or tabulate predictable regimes where the study contains enough evidence. Treat any such pattern as exploratory unless the comparison and sampling support stronger claims. Avoid choosing a convenient grouping merely because it removes the fan.
A few extreme windows can give the illusion of smooth expansion. Suppose nearly every interval has an absolute error of one or two passages, but two high-count intervals contain very large deviations during a power interruption or known crowd event. A standard deviation in the high band can then be much larger without the entire distribution scaling with traffic. Use a plot that shows individual observations and note what happened in the outlying windows. Do not delete legitimate hard cases to produce a tidy model. An exclusion for a documented fault can coexist with a clear report of how much the real process experienced that fault.
The NIST/SEMATECH graphical techniques index is a source for exploratory displays, including ordered and distributional views. It does not provide the invented trail values. Plot residuals in collection order in addition to against expected count. An offset change after installation, an observer shift, or a shared interruption might produce a sequence that a fan plot hides. Conversely, chronological flow alone can hide the fact that dispersion tracks expected volume. Each view gives a different check on what the model might have failed to capture.
Think about additive and multiplicative error on the original scale
An idealized additive model starts with an expected count and adds an error whose spread remains similar across the considered range. If the expected count rises from ten to sixty, a spread of two passages is still a spread of two passages. In relative terms, two is large for ten and modest for sixty. An idealized multiplicative model instead lets a random factor multiply a positive expected count. For example, comparable fractional deviations of about one tenth would imply a larger spread measured in passages at sixty than at ten. These are hypotheses about variability, not definitions of every observed fan.
For a simple multiplicative model, if a positive outcome is an expected level times a positive random factor, taking logarithms turns that product into an addition on the log scale. The difference between observed and expected log values is the log of their ratio. A log residual can thus compare proportional deviations symmetrically in terms of reciprocal factors. A ratio of two and a ratio of one half are equally far from parity on opposite sides of a log scale. Their ordinary percentage changes from the expected amount are plus 100 and minus 50 percent, which answer a different question.
The raw plot can still show an asymmetry that matters. If a device has a cap on recorded passages in a window, its residuals may become systematically negative when expected volume rises beyond that range. That is a limitation of the mean behavior, not just a proportional spread. A different device could occasionally count two people as one when they pass together; whether that produces a proportional bias or a more irregular shape depends on patterns of grouping and what the comparison measures. A statistical transform cannot recover details the sensor did not count. Review the relevant measurement and operational context.
A count process can also have variance that grows with its mean without having a standard deviation proportional to the mean. An ideal Poisson count has variance equal to its mean, hence standard deviation proportional to the square root of the mean. This is a mathematical reference case, not a claim that paired counter errors are Poisson. Paired discrepancies can involve missed events, false detections, systematic shifts and dependence. Seeing larger errors with larger counts is not enough to distinguish among constant, square-root, proportional and more complicated spread models. Use diagnostics and what is known about how both records were produced.
Treat zero as a result where zero was actually observed
A quiet window with confirmed coverage and no passages is a legitimate count of zero. An interval with a failed observer record or offline device is missing for the affected channel, not necessarily zero. The distinction matters in all models and becomes obvious when someone tries to take a logarithm. An observed zero has no finite ordinary logarithm. Dividing a discrepancy by a zero reference likewise does not yield a meaningful percentage of that reference. Preserve the zero and choose an analysis whose assumptions are explicit. Do not discard the quiet windows simply because a preferred transformation cannot accept them.
Adding one to counts is not an invisible numerical repair. It alters the quantity whose ratios are interpreted. A change from one to two is a doubling; adding one to both makes it a comparison of two to three. At high levels the change induced by the offset can look small, but near zero it can dominate the apparent behavior. If a model or a display intentionally uses a transformed quantity involving an offset, name that quantity and justify the choice for the decision. Otherwise retain meaningful zeros and investigate another way to model spread, such as working in original units with an appropriate variance model.
An observed negative residual can be legitimate even though counts are nonnegative. Do not log signed residuals to repair a fan. For positive outcomes and positive fitted levels, a difference of logarithms can be negative, zero or positive while both inputs remain valid. The negative value says the observed-to-fitted ratio was below one. That is a different mathematical object from the log of a negative raw difference. Show the construction beside any transformed plot so that the reader knows which quantity was changed.
Low counts may be governed by different measurement considerations even aside from zero. One false trigger is most of an interval when there was only one passage. Near the lower end discrete steps can dominate a plot; a smooth relative model may fit poorly there. A model can recognize a minimum absolute error component plus a growing relative component rather than force a single form over every regime. Check whether the data support those distinctions. A report with two clearly bounded operating regimes can be more informative than one polished curve claimed to work everywhere.
Compare transformations, weights and a better field explanation
NIST's process modeling example on transformations illustrates how changes of scale can address fit or unequal variability while warning that residual spread on different scales is not directly comparable. A smaller residual standard deviation after logging is not, by itself, evidence of fewer missed passages; the new number has a different unit and interpretation. Look at the transformed diagnostics for the model's assumptions and return to actual passage units for an operational comparison. One model can improve a diagnostic without improving predictions that matter to the trail manager.
A model can sometimes stay on the original scale and allow different variances for different expected counts. A weighted fit may assign less influence to noisier measurements when the objective and variance model justify it. Estimate or justify those weights using appropriate evidence. Weighting by whatever makes an in-sample plot neat risks describing noise as design. If error depends on conditions beyond traffic, one variance formula based only on count may be inadequate. A stratified analysis or a better covariate can address a field structure that a transform merely conceals.
In a calibration comparison, the measurement process may also need improvement independently of the fit. If group crossings are frequently ambiguous to both tallies, a more appropriate observation definition or a validation setting with reliable coverage can make the data more informative. If clocks do not match, resolve that before fitting. If one site consistently covers only an unrepresentative part of the path, changing the plot scale will not fix the frame. An appropriate model depends on data suited to its question; it is not a substitute for looking at how the measurements were generated.
A log link in a count model is distinct from logging every observed count. A link can describe the relationship of explanatory variables to an expected count while allowing the response distribution to include zeros, depending on the model. Such a model still has assumptions about counts, variation and dependence. It is not a universal answer for disagreement between two noisy counts or for incomplete windows. If this distinction is useful to the project, state which variable is modeled and whether the count itself or its expected value receives the modeled transformation. A report should be precise about what changed.
Take care when coming back to passage units
Exponentiating a fitted mean of log values generally does not give the mean on the original scale. A simple invented example is a variable equally likely to be 4 or 16. Its arithmetic mean is 10. Its geometric center is 8. Taking logs, averaging, and returning to the original scale yields the geometric center, not the arithmetic mean. This matters when estimating daily totals or staffing on the basis of expected actual passages. Choose a retransformation or an original-scale model appropriate to the target rather than treat the transformation as merely a change in display labels.
A ratio error and a passage error should both be interpretable. Suppose a prediction is 60 and the observed reference is 66. The observed-minus-predicted error is six passages; the ratio is 1.1 and its natural logarithm is about 0.095. Under a prediction of ten and observation of eleven, the ratio and log error are the same but the passage error is one. This separate illustration explains why a relative diagnostic can look stable while absolute consequences change. Neither the relative view nor the original-unit view is primarily interested in making the numbers match the other.
A modeled prediction interval may look asymmetric on the original scale after it is correctly transformed back. That is not inherently a mistake: equal log departures correspond to reciprocal factors, not equal additive distances. But predictions for individual counts are different from uncertainty about the model's mean response. Give the target and assumptions of every interval, and check performance on relevant future-like windows if possible. Do not describe a model's mean uncertainty as the ordinary range of error expected in any single trail interval. The two can be very different.
The choice of rule can change decisions even when predictions are numerically close. An error of five passages in a one-hour report might be acceptable for descriptive summaries but too large for an operational trigger near a specific threshold. A ten-percent error in a near-zero interval may be ill-defined or practically immaterial, while one extra passage could matter to someone checking rare activity. Name the intended use. It determines what the diagnostic must reveal and which errors should remain prominent in the finished report.
Validate on windows that resemble the intended use
Separate model selection from checking performance where feasible. Trying several transformations on one set and then declaring the best-looking plot validated can overstate how well it will apply elsewhere. Reserve comparable observation blocks or collect a separate validation round. Avoid treating immediately adjacent windows from the same rush as independent evidence in both fitting and validation if their shared conditions carry information across the split. The appropriate separation depends on the process and decision; state what was kept together and why.
Report original-scale predictive discrepancies by relevant bands or conditions, using coherent definitions. The mean signed residual summarizes a direction of bias. A mean or median absolute error summarizes a different aspect of discrepancy size. A more severe-error fraction can be useful if its threshold comes from a genuine operational question. The raw- and transformed-scale diagnostics can appear side by side, but both need scale labels and sample counts. A panel that shows only the supposedly improved curve cannot tell the operations team how many passages the errors represent.
Also check coverage of operating conditions. A monitoring model trained during mostly low-use windows might have few examples of large groups or a busy weather pattern. A high-band estimate could then be driven by a particular weekend, device position or installation state. Do not claim validation across the whole season because the range of expected counts technically includes a high number. Choose a description such as validated on the sampled site and windows rather than claim the procedure holds for all paths. If broader use is desired, collect reference observations where that use is proposed.
Validation should include cases the analyst might be tempted to omit. Confirmed zeros, incomplete windows, suspect flags and unusual traffic need rules appropriate to their measurement status. Completed valid windows can be compared on the chosen metrics. Incomplete records belong in a separate account of coverage and cannot simply be assigned an accurate count. This distinction is essential if failure to record traffic is part of what the organization needs to evaluate. A model's error among valid windows and the system's availability over all planned windows are two separate outcomes.
Explore whether the fan follows the unit of observation
The length of the window changes what can be seen. Several brief episodes can be merged into a longer total with a larger baseline and a different error structure. A positive residual followed by a negative residual can partly cancel after aggregation, while same-sign biases can accumulate. Such cancellation may be fine for one reporting goal and hide a problem for another. Do not compare spreads from five-minute and hourly windows as though they shared the same exposure and error opportunities. Document why the unit is appropriate and use the same unit for comparisons unless the change is itself part of the analysis.
Similarly, merely dividing both counts by an interval length does not guarantee a meaningful agreement study if the underlying time support differs. A five-minute snapshot of a queue and an hourly average around it describe different processes. If exposure varies intentionally, the model and display can accommodate it with an explicitly stated method. If the variation reflects incomplete coverage, keep that status visible. Choosing a standard length is a design decision; filling gaps to force equal-looking intervals is a data decision that needs separate justification.
A device can produce a precise reading for the wrong population. It may respond to people passing only part of a trail width, or to other movers not included in the project's definition. Such an issue can depend on where people stand and how they cross. Examine location information and field notes with the apparent fan before changing the statistical scale. A steady fraction missing from one route is not necessarily corrected by a coefficient estimated at another site. Explain what the unit included and where its definition was uncertain.
Use follow-up tests to separate plausible explanations
If a broader residual cloud is suspected to be proportional, consider whether the data contain comparable windows with different volume but similar group patterns and reference coverage. That contrast will often be more informative than comparing a calm weekday morning with an organized event. Where the conditions cannot be separated in available data, say so. More windows from the same recurring pattern may yield a precise description without separating the mechanisms. A planned validation sample can deliberately seek underrepresented conditions under the applicable observation rules rather than assume an arbitrary selection of extra records will resolve the problem.
An instrument setting change can complicate inference in a different way. Before and after values may differ because traffic mix changed with the site, because the observation rule changed or because the device changed. Record configuration versions and relevant effective dates. Preserve the raw readings, correction model and derived outputs as separate versions. If a changed configuration was evaluated only at low counts, do not assume its high-volume uncertainty equals that of the earlier version. The acquisition log gives the diagnostic a chronology that a residual plot has by itself only if the record was collected.
Decide what the diagnostic should hold constant
An example study could compare residuals from windows with comparable expected volume but different spacing of passages. Ten widely separated crossings and ten nearly simultaneous crossings give the same total volume in the window. They may be different measurement problems for an automated device and for a reference observer. If the residual distribution widens chiefly in clustered traffic, volume alone may not be a good explanatory quantity. Record the basis for distinguishing groups, and acknowledge if group structure was not measured reliably. Replacing it with an assumed label based on the errors would make the apparent explanation circular.
A complementary view might condition on the same time and setting while comparing volume across comparable windows. This can help rule out some broad differences such as another device or a different placement. It still does not guarantee a fair causal comparison, because factors on the trail can vary together. A descriptive report may show separate plots for ordinary traffic and organized events without claiming either created the observed pattern. Label the number and duration of windows supporting each view. The important thing is to distinguish a pattern that recurs across several conditions from a pattern arising primarily in one unusual part of the record.
Check the possibility that using fitted values as the horizontal axis masks a useful feature of the raw data. A model with a capped prediction can place many quite different workloads near the same fitted value. The residual panel might show large spread at that end, while a paired plot against the reference reveals steadily increasing error. Conversely a noisy observed reference used on both axes can help create an apparent pattern because it enters the difference algebraically. Comparing several plots can reveal these issues, but none of them should be declared the unbiased view without considering their construction. Preserve the joint observations behind the panels.
An appealing line for expected spread should not be fitted to three category bars alone. The bands could cover arbitrary ranges, and a band center might not describe every point in it. If variance estimation matters, work with the underlying residuals and specify where enough evidence exists. Record how the bands were set and whether boundaries were chosen after looking at the outcome. A useful display can keep the bars as examples while showing individual window discrepancies separately. Otherwise an audience may mistake three rounded values for enough information to estimate a continuous law.
Confirm that reported uncertainty describes the planned use
A manager planning a daily total may want the spread of errors in sums, not the spread in individual windows. If errors share a sign across a day or a device consistently misses simultaneous arrivals, they do not necessarily cancel. Working from a per-window distribution alone can understate or overstate daily discrepancies when errors are dependent. Validate the aggregation that actually enters the decision, with comparable full observation periods if feasible. A daily model cannot recover the locations of errors inside a day unless it has the necessary information. State which time scale the error measure describes.
If the question is the discrepancy at a specific threshold, verify which kinds of error affect the call. A counter that often gives similar values around a threshold may still systematically miss the highest bursts. A calibration that improves mean agreement could increase outlying errors in a narrow range. An honest evaluation can present a table that distinguishes agreement near the decision point, typical absolute discrepancy and extreme errors. Do not roll them into a single verdict that the transformation worked. Ask which performance question was resolved and which remains sensitive to the setting or the sample.
One useful operational note records observations that cannot classify the error. A valid device window with an incomplete reference does not contribute a trustworthy paired residual, even if the device count appears plausible. A complete reference with a failed device log can contribute information about availability and use under an outage policy, but not a usual measurement agreement result. Keep a separate disposition for these cases and report its frequency. A dataset containing only uninterrupted operation can describe accuracy during that operation, not how often usable data are delivered across all planned periods.
Verify a worked scenario on both axes
Imagine a low-count window with a fitted value of ten and a reference of eleven, and another window with a fitted value of sixty and a reference of sixty-six. Both have the same observed-to-fitted ratio. A chart of those ratios treats them as equal departures from parity; a staffing decision in actual passage units may not. Contrast a third window with a fitted value of ten and a reference of four: its six-passage discrepancy matches the magnitude of the high-count window, but it has the opposite sign and a much larger proportional departure. Before automating a report, check that each display leads to the intended description in these concrete cases.
A quality check can test several transformations without pretending to validate a model. Confirm that the original-unit signed values agree with the stored inputs, the relative values are calculated only where their denominator is meaningful, and zero and invalid records receive distinct statuses. Then check a transformed prediction separately after it is mapped back to the appropriate original-scale target. That audit protects meaning at each stage without using code correctness as evidence that the model itself is suitable.
Finally, do not confuse a narrow uncertainty band near the fitted mean with certainty about the physical source of error. A sensor might make mistakes for a different reason in a new placement even if its predictions were good in the validation sample. Preserve place, time, counter configuration and reference method so readers can judge whether a comparison travels. Describe how a changed situation would be detected, such as periodic matched observations under ordinary and busy conditions. This keeps the scale choice connected to what it was made to support.
Tell the reader what the better scale buys
A practical report might say that errors widen in passages as predicted counts increase, while an appropriate relative diagnostic is steadier over a stated nonzero range. Then it should explain whether prediction or calibration performance on the original scale improved in a relevant validation set. Those claims are independent. It may be entirely reasonable to retain a transformed model for fitting yet present passage-level accuracy to people who use the result. If low-count behavior required separate treatment, state that rather than bury zeros behind an unexplained formula.
Choose how to communicate a change in spread if the calibration itself is revised. A before-and-after chart should give the same original-unit definition and retain comparable observations, or describe clearly why the sets differ. Do not compare the old device discrepancy to the new model residual unless both measure the same target under a compatible procedure. A quieter validation sample can make dispersion look smaller without any improvement in the instrument. Keep a common evaluation set when feasible and report where overlap falls short. That is an evidence check on practical performance rather than a preference for one statistical scale.
Finally, preserve a traceable set of columns: planned and valid observation window IDs, time support, device and reference definitions, raw counts, fitted values, signed errors, regime labels, and missing or disputed statuses. Any transformed or standardized value should be reproducible from its inputs and assumptions. A correct fan plot begins with a correct pair of counts. A better scale can clarify how their disagreement changes with traffic. It cannot by itself tell the crew why the disagreement happened or how many passages will go uncounted on the next busy afternoon.