Yamagishi Complexity Torus LabYamagishi Lab

[F024] The Answer You Get After Removing the Overlap Depends on the Phase of the Thinning

Abstract

What this paper asks is whether the result of removing the overlap depends on where you started counting — and the answer is: it does. No new mathematical theorem and no new law is claimed.

First, removing the overlap cuts the count to one hth, and the share of cells whose daily-clustered t reaches 2 in absolute value falls from 0.2750–0.3481 to 0.0443–0.1006. And contrary to the prediction, the realized D moves by a median of 1.1503 pips as well (Section 3).

Second, and this is the core. ★ Holding the thinning width fixed and running the phase from 0 to h−1, the sign of D splits in 0.8000 of the cells. At horizons of 24 and 72 bars it is 1.0000 — every cell (Section 4).

Third, the range is large too. At a horizon of 24 bars, USDJPY runs from −2.1606 to +2.6899, a range of 4.8505 pips. That is many times the spread (Section 4).

Fourth, prediction ③, written before measuring, failed. It said "the phase is the clock, so it should split more than a random draw", but the spread across phases is 0.3911, 0.6569 and 0.8382 times the random one — below 1 (Section 5).

Fifth, ★ the reason is that thinning is stratified sampling. Taking one observation every h bars from a series of overlapping observations takes one from each block, which is more representative than a random draw. So thinning is the right procedure. What this paper objects to is reporting only one phase (Section 5).

Sixth, on a synthetic random walk with zero directional information the sign splits at 0.7342, and phase ÷ random is 0.4340, 0.6302 and 0.7835. ★ The differences are only −0.0429, +0.0267 and +0.0547, so the splitting is a property of the overlapping construction, not of the market (Section 6).

Scope of this paper: No new mathematical theorem and no new law is claimed — overlapping observations, systematic sampling, stratified sampling and random walks are all known. No real course or its proponent is discussed — no real teaching material, author, or vendor is the subject here, and none is named. What this paper inspects is a procedure the author himself has been using. Trading is not discussed — what is measured is directional information, not trading performance including commissions, fills and money management. The scope is intraday and few instruments — four instruments, six years, one-hour bars. Monthly time-series momentum (dozens of markets, one to twelve month holds) is documented in the academic literature and is not contradicted here. One sweep is fixed — four families (Section 7). This paper does not say to discard thinning — what it says is that only one phase must not be reported (Section 5 and Conclusion). What the splitting across phases comes from is not decomposed — clock, weekday and index origin are not separated (Section 7). No forecast is claimed. Relation to earlier papers: F014 showed that a naive t inflates with the number of observations per day and F023 that dropping the top few days is the arithmetic of the dropping — this paper inspects the thinning used as the remedy. What is added is running the phase over all its values, comparing against a random draw of the same size, and doing the same thing on a series with zero directional information.

1. Notation and the question

Measuring h bars ahead while entering on every bar makes two neighbouring observations share h−1 of their h bars. Daily clustering folds only the overlap within a day, so the overlap across days remains. Hence the thinning: take one observation every h bars.

What gets reportedWhat does not
The value after removing the overlapWhere the counting started
That the count fellWhat another phase would have given
That the daily t fellWhat the same procedure does on a series with no edge

Observation 1.1: "Every h bars" has h ways to start. From the 0th, from the 1st, or from the (h−1)th. All of them go by the same name.

Observation 1.2: ★ So it can be asked: does the answer depend on the phase? If it does, reporting a single phase is having picked one of h.

Observation 1.3: The separator is the phase of the thinning. The cell, the data, the period, the instrument and the thinning width are all held fixed, and only where the counting starts is varied.

Observation 1.4: ★ And two comparison partners are needed: one is a random draw of the same size (is the phase lattice doing anything?), the other is a series with zero directional information by construction (is the splitting a property of the market?).

Question: does the answer after removing the overlap depend on where you started counting?

2. State the quantity and the design first

Predictions (written before running)

① Removing the overlap barely moves D. What moves is the count and the t.

② Changing the phase moves D — of course, since the count falls to one hth.

③ ★ But the phase at a horizon of 24 bars is "which hour of the day you enter at", so it should split more than a random draw of the same size.

④ ★ A synthetic random walk has no clock structure, so the spread across phases and across random draws should agree.

Design (declared before running and not changed during it)

ItemDecision
GridOne-hour bars, mid prices, completed bars only
Moving-average crossFast 3, 5, 8, 12, 20, 30 × slow 20, 30, 50, 80, 120, 200 (fast < slow)
RSIPeriod 7, 14, 21 × threshold 20, 30, 40
Outside a bandPeriod 10, 20, 40 × multiplier 1.5, 2.0, 2.5, 3.0
High-low breakoutPeriod 10, 20, 50, 100
Horizon6, 24, 72 bars
ThinningOne observation every h bars. Phase from 0 to h−1, all of them
ControlA random draw of the same size (200 draws)
BaselineSynthetic random walk down to within-bar movement (5 series)
InstrumentsUSDJPY, EURUSD, GBPUSD, XAUUSD
Period2019–2024 (six years taken as one)

Observation 2.1: ★ Changing the phase leaves the thinning width and the count essentially unchanged. All that differs is where the counting starts.

Observation 2.2: The phase is cut on the index of the entry bar. On one-hour bars, the phase at a horizon of 24 bars corresponds to the hour of the day.

Observation 2.3: The random-draw control takes the same number of observations again from the same set. If the phase lattice does nothing, the spreads should agree.

The bar counts are 36,534, 36,554, 36,535 and 34,892, and the measurable cells are 160, 158, 158 and 159.

3. What moves and what does not when the overlap is removed

Calculation 3.1 Count and D (phase 0, the version usually written)

InstrumentCount with overlapCount at phase 0RatioD with overlapD at phase 0Median |difference|
USDJPY36,3436440.04170.24700.29301.1908
EURUSD36,3636680.04170.21650.05000.4981
GBPUSD36,3446800.04170.53520.58591.1313
XAUUSD34,7016000.04171.1938−0.67443.2058

Calculation 3.2 Share of cells whose daily t reaches 2 in absolute value

InstrumentWith overlapPhase 0Mean over phases
USDJPYmeasured0.27500.06880.0451
USDJPYrandom0.38460.11920.0513
EURUSDmeasured0.34810.05700.0263
EURUSDrandom0.36670.11920.0499
GBPUSDmeasured0.31650.04430.0291
GBPUSDrandom0.38080.11150.0500
XAUUSDmeasured0.29560.10060.0407
XAUUSDrandom0.41460.13220.0498

Observation 3.3: The count falls to 0.0417, one hth. And the share of cells whose daily t reaches 2 falls from 0.2750–0.3481 to 0.0443–0.1006. Less than a third.

Observation 3.4: ★ Prediction ① half failed. It said "D barely moves", but the realized value moves by a median of 1.1503 pips. XAUUSD goes from +1.1938 to −0.6744, a change of sign.

Observation 3.5: ★ The expectation does not change; the spread does. With the count cut to one hth, the spread around the same expectation grows by √h. D moved for that reason, not because thinning distorted it.

Observation 3.6: Phase 0 shows more cells with |t|≥2 than the mean over phases (measured 0.0629 against 0.0349, a difference of +0.0279). ★ But the same happens on the synthetic random walk (0.1192 against 0.0499, +0.0693). This is a product of the index origin, not of the clock.

Figure 1 Same thinning width, and the answer scatters with where you started counting

Figure 1: horizontal is D with the overlap kept, vertical is D by phase (horizon 24). The vertical line is that cell's range over its 24 phases, and the dot is phase 0.

4. Does changing the phase change the answer?

Calculation 4.1 D by phase (medians, pips)

InstrumentHorizonPhasesD minD maxRangeCells whose sign splits
USDJPY66−0.08000.46220.54220.3571
USDJPY2424−2.16062.68994.85051.0000
USDJPY7272−10.552112.216622.76871.0000
EURUSD66−0.08790.25540.34330.5000
EURUSD2424−1.02212.25633.27850.9815
EURUSD7272−5.73326.809612.54281.0000
GBPUSD66−0.21660.50220.71890.8036
GBPUSD2424−1.14322.99034.13350.8704
GBPUSD7272−8.339412.261320.60071.0000
XAUUSD660.09181.53341.44150.3214
XAUUSD2424−4.51918.014612.53370.8889
XAUUSD7272−20.959028.498749.45771.0000

Observation 4.2: ★ This is the core. The sign of D splits across phases in 0.8000 of the cells overall. At horizons of 24 and 72 bars it is 1.0000 — every cell.

Observation 4.3: The range is large too. At a horizon of 24 bars, USDJPY runs from −2.1606 to +2.6899, a range of 4.8505 pips; at 72 bars XAUUSD reaches 49.4577 pips.

Observation 4.4: The longer the horizon, the more it splits. At 6 bars it is 0.3214 to 0.8036, and at 72 bars all four are 1.0000. ★ Larger h leaves fewer observations, so this is prediction ② as written.

Observation 4.5: ★ The procedure goes by one name, and the sign of its answer changes with where the counting started. When one writes "removing the overlap flipped the sign", that the flip was not produced by the choice of phase cannot be checked from a single phase.

5. Is the splitting the smaller count, or the phase itself?

Calculation 5.1 Spread across phases against spread across random draws

InstrumentHorizonSpread across phasesSpread across random drawsRatio
USDJPY60.25390.46590.5450
USDJPY241.45671.97670.7369
USDJPY725.57415.87990.9480
EURUSD60.11810.30890.3821
EURUSD240.79291.28240.6183
EURUSD722.95543.82650.7723
GBPUSD60.20660.44850.4607
GBPUSD241.10921.85030.5995
GBPUSD725.13335.70560.8997
XAUUSD60.49941.12810.4427
XAUUSD243.36804.85630.6935
XAUUSD7211.986814.28560.8391

Observation 5.2: ★ Prediction ③ failed. It said "the phase is the clock, so it splits more than a random draw", but the ratio is 0.3911 at 6 bars, 0.6569 at 24 and 0.8382 at 72 — all below 1.

Observation 5.3: ★ The way it failed is informative. Taking one observation every h bars cuts the series of overlapping observations into blocks of h and takes one from each. That is stratified sampling, and it is more representative than a random draw, so its spread is smaller.

Observation 5.4: ★ Thinning is therefore the right procedure. It gives a better estimate than drawing the same number at random. What this paper objects to is not the thinning but reporting only one phase.

Observation 5.5: The ratio approaches 1 as h grows (0.3911 → 0.6569 → 0.8382). ★ Longer blocks make the overlap between neighbouring observations relatively smaller, so the gain from stratifying shrinks.

Figure 2 Is the phase lattice the same as a random subsample?

Figure 2: horizontal is the horizon, vertical is "spread across phases ÷ spread across random draws". The dashed line at 1 is where the phase would be just a random subsample.

6. Baseline — do the same thing on a series with zero directional information

Calculation 6.1 The same thing on a synthetic random walk (5 series)

InstrumentHorizonMeasured phase÷randomRandom-walk phase÷randomMeasured splitRandom-walk split
USDJPY60.35620.44330.35710.4618
USDJPY240.67930.64231.00000.8077
USDJPY720.95250.76511.00000.9633
EURUSD60.36380.42810.50000.4582
EURUSD240.59110.63310.98150.8115
EURUSD720.76760.78291.00000.9633
GBPUSD60.40630.43660.80360.4655
GBPUSD240.59760.64480.87040.8077
GBPUSD720.83080.78081.00000.9633
XAUUSD60.44500.42870.32140.4562
XAUUSD240.77050.60850.88890.8077
XAUUSD720.74730.79741.00000.9592

Observation 6.2: ★ Prediction ④ held. Phase ÷ random is 0.4340, 0.6302 and 0.7835 on the random walk against 0.3911, 0.6569 and 0.8382 on the measurement — essentially the same, with differences of only −0.0429, +0.0267 and +0.0547.

Observation 6.3: ★ The gain from stratifying is therefore not a property of the market. It is a property of having made overlapping observations. The synthetic series has the same overlap and shows the same gain.

Observation 6.4: ★ The splitting is the same too. It is 0.8000 on the measurement against 0.7342 on the random walk, a difference of +0.0658. Even on a series with zero directional information, changing the phase splits the sign.

Observation 6.5: So "removing the overlap flipped the sign" says nothing on its own. ★ The flip happens at a rate of 0.7342 on a series that is right about nothing.

Observation 6.6: This paper does not decompose what the splitting comes from — clock, weekday, or index origin. The phase at a horizon of 24 bars corresponds to the clock, but at 6 and 72 bars it does not. All three split in the same way, so the clock alone does not explain it.

7. Limitations

  1. ★ Prediction ① half failed and prediction ③ failed outright. D did move, and the spread across phases was smaller than across random draws. This paper writes those failures and does not hide them.
  2. ★ This paper does not say to discard thinning. As Section 5 shows, thinning works correctly as stratified sampling. What it says is that only one phase must not be reported.
  3. The splitting across phases is not decomposed into clock, weekday and index origin.
  4. One sweep is fixed. Four families. Other families or granularities give other figures.
  5. The thinning width is set equal to the horizon. Taking it longer reduces the overlap further but also the count. That trade-off is not measured.
  6. The daily t per phase is unstable, since each phase has few days. The share with |t|≥2 in Section 3 must be read with that in mind.
  7. The synthetic series uses independent normal increments. Volatility clustering is not included.
  8. Four instruments over six years. Nothing is said about other markets or other periods.

Conclusion

Removing the overlap cuts the count to 0.0417, and the share of cells whose daily t reaches 2 in absolute value falls from 0.2750–0.3481 to 0.0443–0.1006. That much is well known.

But holding the thinning width fixed and changing only where the counting starts, the sign of D splits in 0.8000 of the cells. At horizons of 24 and 72 bars it is 1.0000 — every cell. The range is 4.8505 pips for USDJPY at a horizon of 24 bars and 49.4577 pips for XAUUSD at 72.

The answer after removing the overlap depends on where you started counting.

Prediction ③, written before measuring, failed. The spread across phases is 0.3911 to 0.8382 times the spread across random draws — below 1. ★ The way it failed is informative. Taking one observation every h bars takes one from each block: stratified sampling, more representative than random. ★ So thinning is the right procedure.

And on a synthetic random walk with zero directional information, the sign splits at 0.7342 and phase ÷ random is 0.4340, 0.6302 and 0.7835, essentially matching the measurement. Both the splitting and the gain are properties of the overlapping construction, not of the market.

★ What a report of a de-overlapped result therefore needs is the median and the range over all phases. A single phase is one value out of h, and how much of it was a choice cannot be read from that one value.

Data and reproduction

DataFX is Dukascopy-derived tick data (from 2019 onward, confirmed identical down to the millisecond, bid and ask). Gold is Dukascopy
Period2019–2024 (six years taken as one)
InstrumentsUSDJPY, EURUSD, GBPUSD, XAUUSD
BarsOne-hour bars, mid prices, closes of completed bars only. No bar is made where there are no ticks
SweepMoving-average cross, RSI, outside a band, high-low breakout × horizons of 6, 24 and 72 bars
ThinningOne observation every h bars, with the phase from 0 to h−1, all of them
ControlA random draw of the same size, 200 draws
Verification検算/F024.py (--zu also writes the figures). Every figure in the text comes from 検算/F024_output.txt
Figures図/F024_zu1, 図/F024_zu2 (png, svg, English versions)
Random seedsFixed. Re-running gives the same values
Foundation check_ツール/audit_bars.py (bar look-ahead, daylight saving, day boundaries). The record is _土台の検査.txt

References

  • Yamagishi, Y. (2026). A Naive t Value Inflates with the Number of Observations per Day [F014]. Zenodo. 10.5281/zenodo.22891694
  • Yamagishi, Y. (2026). That the Sign Changes When You Drop the Top Few Days Is a Property of How You Dropped Them [F023]. Zenodo. 10.5281/zenodo.22892131

Reference

Yamagishi, Y. (2026). The Answer You Get After Removing the Overlap Depends on the Phase of the Thinning [F024]. Zenodo.
DOI: 10.5281/zenodo.22892446
YOI: https://www.yamagishiyuuki.com/yoi/F024
ORCID: 0009-0006-8587-3450

PDF (English) · PDF (Japanese) · Date proof of the English PDF (OpenTimestamps .ots) · SHA256SUMS

The record page for this paper (in Japanese, with the PDFs in each language and the date proof): YOI F024. This paper is a preprint and has not been peer reviewed.