Choosing a Finite Observation Window

A measured signal segment selects a start, end, and possible weights. These choices determine which part of the source supports an estimate.

Source
Anbloq
Language
English
Created
Updated
Chapters
4
Reading time
1 min
In this article4 chapters
  1. Trace one range
  2. Document any weights
  3. Calculate a statistic on two explicitly indexed windows
  4. Write the filter and timestamp convention

Trace one range

Samples indexed 3 through before 7 give four observations, 3, 4, 5, and 6. A sudden change at 7 lies outside the range. See half-open bounds.

Document any weights

A taper gives different influence to points near the endpoints. Its numerical result should be compared under the same window definition. Weighted means give one weighting interpretation.[1][2]

Calculate a statistic on two explicitly indexed windows

From \([0,1,6,7,0]\), window \([0,3)\) contains zero, one and six, with mean \(7/3\). Window \([2,5)\) contains six, seven and zero, with mean \(13/3\). End position five excludes anything beyond the recorded data. See half-open slice boundaries.

First window indexes 0,1,2 → sum 7
Later window indexes 2,3,4 → sum 13
Both windows are length 3

Write the filter and timestamp convention

Window results can be attached to the start, end or center. In a real-time system, a centered window may need future samples. Test a change falling on each boundary.

References

  1. MIT OpenCourseWare, 6.003 Signals and Systems ↩
  2. David J. C. MacKay, Information Theory, Inference, and Learning Algorithms ↩