LibraryWorkspaceDataHub

© 2026 QCA · by Lime Fintech · About QCA · Market data from Massive

PrivacyTermsCookiesDisclaimer
HomeLibrary
DataHub
  1. Library
  2. Report

Filtering without recursion and some of its uses in financial economics

Open repository
Oct 14, 2026
Computational Finance+5

Verdict: Fully Reproduced

OverviewExperiments

Executive Summary

Status
Fully Reproduced
Confidence
High

Replication of Simon Donker van Heel and Neil Shephard, Filtering without recursion and some of its uses in financial economics, arXiv:2609.07207 (2026).

Executive Summary

The replication has four experiments. Experiments 1 and 2 are synthetic and check the paper's method; Experiments 3 and 4 apply it to trades of October 2024 from the consolidated tape of the Massive API, cleaned by the rules of Section 4.2:

  • Experiment 1 — the generic weighted-loss filter, its simulation and stratified estimators, and Theorem 1 (Sections 2–3).
  • Experiment 2 — weighted median filters under Cauchy noise: Figures 1–5, Theorem 2 and Example 9 (Sections 2.4 and 3.4).
  • Experiment 3 — NVDA over the twelve sessions of 1–16 October 2024: the five-filter pipeline, Tables 1–3, Figures 6–13, the half-life choices and the diurnal spot volatility (Section 4).
  • Experiment 4 — the appendices: Table A.1, returns at s = 10 seconds, the rolling ψ*, the first-minute startup rule, the simulated signatures, and NVDA with the 54 other assets of Tables B.1–B.2 (Appendices A and B).

Results:

  • The simulated and stratified estimators converge to the exact filter at a flat cost per point, and Theorems 1 and 2 hold within Monte Carlo error.
  • The NVDA sample is rebuilt exactly (T = 1,521,339 on 16 October). The tail index of the noise is 1.43, the Huber volatility signature is flat (34.4% at 1 s against 33.3% at 1 min, raw trades 77.9%), every confidence interval of Table 3 matches, and the QLIKE memory is 566 trades against 563.
  • Tables A.1 and B.1, the simulations of Appendix A.7 and the cross-sectional statements of Appendix B are reproduced; in Table B.2 the columns built on the Huber path match, and the two built on the linear spot path agree in pattern.
  • The remaining differences are small and are traced below to settings the paper does not specify (Monte Carlo seeds, the averaging of Hill estimates, tie-breaking, subsampling and selection rules).

Results Comparison

Experiment 1 — Generic Weighted-Loss Filter Construction and Simulation Approximation

The filter minimizes a weighted loss over past observations (Definition 2). The simulated filter replaces the weights by B random lag draws (Definition 3); the stratified one keeps the lags up to W⁻¹(0.999) exact and draws B = 100 lags from the tail (Remark 4(d)). On a random walk plus Cauchy noise (Example 7(a), T = 1,000) both are compared with the exact filter for four losses and four weight schemes; Theorem 1 is checked for squared loss, and the cost per point is timed for T from 1,000 to 100,000.

MetricPaper / ExpectedReproducedDiffStatus
Simulation error falls as B increasesYes, for every lossAbsolute 0.145 → 0.070 → 0.027 → 0.016; squared 1.14 → 0.49 → 0.16 → 0.049; Huber 0.25 → 0.11 → 0.036 → 0.011; Bernoulli 0.017 → 0.008 → 0.0025 → 0.0008 (B = 100, 500, 5,000, 50,000)Monotone, B^{-1/2} rate; faster for the medianMatched
Objective gap Q_t(θ*) − Q_t(θ)Falls with BFalls roughly as 1/B for all four losses (e.g. Huber 1.7e-2 → 3.5e-5)Second order in θ* − θ, as expectedMatched
Theorem 1: B Var(θ*_t)/σ_t² → 110.988, 0.982, 0.959 at t = 50, 200, 1,000 (MC s.e. about 0.03)Within MC errorMatched
Stratified estimator ≈ exact (head W⁻¹(0.999), B = 100)Nearly identicalAbsolute 1.15e-2, squared 1.26e-3, Huber 1.08e-4Very smallMatched
O(1) cost per point (O(T) sweep)Flat in TStratified 46.4 → 46.0 µs/point and simulated 7.6 → 7.7 µs/point from T = 1,000 to 100,000; the exact median grows 48 → 117 → 412 µs/point (O(T²) sweep)FlatMatched
Applicability across losses and weightsSquared, absolute, Huber, Bernoulli; uniform, exponential, hyperbolic, superpositionAll implemented and evaluatedNoneMatched

Summary: the computational claims of Sections 2–3 hold: the simulated and stratified estimators converge to the exact filter, Theorem 1 holds, and the cost per time point does not depend on t.


Experiment 2 — Synthetic Replication of Weighted Median Filters Under Heavy-Tailed Noise

Weighted medians extract a random-walk or stationary signal from Cauchy noise (Example 7): the rolling median over a window ℓ (Figure 1), the anchored median (Figure 2), and the exponential median computed by lag sampling (Figures 3–5), whose probability of hitting the exact median is given by Theorem 2. Example 9 checks the simulated median when the median is not unique.

MetricPaper / ExpectedReproducedDiffStatus
Rolling median, best window (Figure 1)ℓ ∈ {8, …, 20} reasonableTracking error smallest at ℓ = 15 (0.487), predictive loss at ℓ = 13Inside the rangeMatched
Very short windows perform poorlyYesYesNoneMatched
Anchored median (Figure 2): anchoring helps, flatter in ℓ for smaller αYesα = 0.4–0.6 beat α = 0.8 and 1; the range over ℓ falls from 0.175 (α = 1) to 0.157 (α = 0.4)α = 0.6 best here, the paper's text favours the smallest αClose match (see Discrepancies 14)
Exact vs simulated exponential medianError falls with B0.0705 → 0.0199 → 0.0069 for B = 500, 5,000, 50,000MonotoneMatched
Theorem 2: probability of an exact hitTheorem 2 formulaShares 0.590, 0.829, 0.933 against 0.604, 0.829, 0.934Within MC errorMatched
Figure 3 (stylized recovery probability)Rises quickly to 1ε = 0.05: 0.69, 0.998, 1.00 at B = 101, 1,001, 10,001—Matched
Figure 4: λ = 0.9 "not poor" (T = 5,000)YesPredictive loss lowest at λ = 0.91, within 0.005 from 0.88 to 0.92Level path-dependent (Discrepancies 15)Matched
Example 9: non-unique medianSimulated median splits ½/½ between the middle values for odd ℓ47.7% / 52.3% for ℓ = 7; exact for ℓ = 8; Hazen median from lag frequencies recovers the interpolated median (error 0.011)Within MC errorMatched
Stratified median (B = 100)Near exact4.1e-5 against the lower median—Matched

Summary: the main synthetic results of Sections 2.4 and 3.4 are reproduced: anchoring improves the median filter, the simulated median converges to the exact one, and Theorem 2's recovery probabilities agree within Monte Carlo error.


Experiment 3 — Empirical NVDA Replication: High-Frequency Robust Price Filtering and Volatility Estimation

Every NVDA trade of the twelve regular sessions of 1–16 October 2024 goes through the paper's five filters: the median price filter, the noise-scale filter that sets the Huber threshold δ_t, the Huber price filter, the volatility estimator, and the probability that an outlier lies above the price. The price filters use the stratified estimator (B = 100); the linear filter and raw trades are the benchmarks. The experiment rebuilds Tables 1–3 for 16 October, the twelve-session statistics, the half-life choices of Sections 4.3–4.4 and the diurnal spot volatility of Sections 4.5–4.6.

MetricPaper / ExpectedReproducedDiffStatus
Raw records / cleaned length, 16 Oct1,616,806 / 1,521,3391,616,806 / 1,521,3390Matched exactly
Opening / closing auction, 16 Oct1,857,756 sh at 134.01/15,146,434shat134.01 / 15,146,434 sh at 134.01/15,146,434shat135.72Same0Matched exactly
Hill index of the Huber residual, 16 Oct1.431.427−0.2%Matched
Hill index, 12 sessions1.23 to 1.81, below 2 every day1.22 to 1.80±0.01Close match
Outliers, 16 Oct16,314 (1.07%)16,341 (1.074%)+0.17%Close match (Discrepancies 2)
Threshold δ_t2.97 c at the open, about 1.5 c later3.01 c; 1.48 c (twelve-day median 1.47 c after the first hour)+1.3% at the openClose match (Discrepancies 3)
Mean absolute Huber residual0.38 c0.376 c—Matched
Linear filter at the $118.85 tradePulled down about $3.4$3.35—Matched
Table 1 (mean / rms of k-trade changes, ACF, Hill)Published cellsAll Huber mean cells; rms 0.435 / 0.391 against 0.431 / 0.389 at k = 1, 2; all 16 ACF cells at lags 2–25; Hill within 0.06≤ 1% on rmsClose match (Discrepancies 1, 5)
Table 2, annualized volatilityHuber 34.3 (1 s) / 33.3 (1 min); trades 77.9 (1 s); linear 43.1 (1 s)34.4 / 33.3; 77.9; 42.9 (43.1 with the closed-form factor); all 15-min cells 37.1–37.2≤ 0.5% except Huber 0.1 s, 54.1 against 53.3Close match (Discrepancies 4)
Damping correction effect+4.9% at 1 s, +0.5% at 10 s+4.97%, +0.49%—Close match
Table 3 (residuals, scores, ψ*).30/.38/.41; 2.18/2.16/1.84; ψ* .22 and (.56).298/.376/.406; 2.178/2.158/1.839; ψ* 0.222 and 0.558RoundingMatched
Table 3 confidence intervals8 published intervalsAll 8 reproduced to the cent0Matched exactly
Section 4.4.1: largest residual's share of Σε² and Σ|ε|35% and 0.3%; top 1,000: 85% and 7%35.3% and 0.29%; 85.8% and 7.3%—Close match
Hill without the two largest residuals1.431.430Matched
Hill on 12 subsamples of 25,000 trades1.33 to 1.491.25 to 1.77 (random trades)Range depends on the unspecified schemeClose match (Discrepancies 6)
$118.85 trade's share of the linear filter's squared moves; Huber's largest move30%; 3.8% at 09:4530.5%; 3.75% at 09:45:01—Close match
Off-exchange share: trades (16 Oct) / outliersabout 51% / about 91%51.4% / 91.2% over the 12 sessions (93.8% on 16 Oct alone)—Matched (Discrepancies 7)
Huber signature flat from 1 s (Table 2, Figure 9)YesTwelve-day Huber 35.2 (1 s), 34.5 (1 min); raw over Huber at 0.1 s 2.5 to 7.0 across days (paper "about 2.5 & 7"); 15-min levels 20.6 to 57.4% (paper 20 to 57%)—Matched
Scale half-life (Section 4.3)Loss smallest at about 2 min, within 1% from 30 s to 15 minSmallest at 2 min, within 0.65% from 30 s to 15 min—Matched
Price half-life (Section 4.4)Slightly above 2 trades for every k = 2..100; 2 vs 3 within 2.5%2 trades best for every k; 3 within 2.4%—Matched
Figure 6: 30-s scale moves vs 4-minAbout 9×8.0×—Close match
Outlier direction (Section 4.7)Strong negative relation, every day; q_t half-life 13 sCorrelation −0.47 (16 Oct), −0.36 to −0.54 on every day; 13 s—Matched
QLIKE Mandelbrot parameter (Section 4.6)a = 563 trades, about 8 sa = 566 trades, 8.1 s+0.5%Close match
Figure 11: linear over Huber at the typical trade; $118.85 spikeAbout a quarter above; 23% → 273%23.2% above; 23.4% → 269%—Matched
Figure 10: hyperbolic vs HExp, log correlation0.9990.998—Close match

Summary: the twelve-session NVDA application is reproduced at the paper's scale: the sample construction is exact, Table 3 matches the published rounding, Tables 1 and 2 are close to the published cells, and the main qualitative conclusions of Sections 4.2–4.7 hold.


Experiment 4 — Empirical Robustness and Appendix Replication: Tail Index, Alternative Volatility Lags, Simulation Diagnostics, and Cross-Asset Extension

Independent modules on the appendices: the tail index of the Huber residual under the five screens of Table A.1; the spot volatility from 10-second returns (A.2–A.3); ψ* on rolling windows of 100,000 trades (A.4); the clock and trade-count startup rules on six stocks (A.5); Huber signatures of simulated Brownian and variance-gamma prices, with and without heavy-tailed noise, at the 16 October trade times (A.7); and NVDA with the 54 other assets of Tables B.1–B.2 over the same twelve sessions, each with its own presample and QLIKE memory (Appendix B).

MetricPaper / ExpectedReproducedDiffStatus
Table A.1, 16 Oct (five screens)1.43, 1.51, 1.43, 1.41, 1.471.43, 1.51, 1.44, 1.40, 1.47≤ 0.01Close match
Table A.1, 12-day ranges1.23–1.81, 1.31–1.85, 1.14–1.64, 1.26–1.78, 1.30–1.921.22–1.80, 1.30–1.85, 1.16–1.64, 1.26–1.81, 1.28–1.92≤ 0.03Close match (Discrepancies 5)
Repricing screen share7% to 25% of a day9.3% on 16 OctInsideMatched
A.2: linear over Huber at s = 10; spike at $118.852.5% above; about 20% → 85%2.3% above; 19.8% → 85.0%—Close match
A.3: Huber s = 10 over s = 1About 1% lower1.2% lower—Matched
A.4: ψ*_t second half vs first hourAbout one half, like δ_t0.55 (δ_t 0.54); full day 0.22 c—Matched
A.5: startup rules coincide after the first minuteYesIdentical on all 6 stocks × 12 days; by trade count δ_t jumps in the opening seconds—Matched (Discrepancies 13)
A.7 Brownian, c = 1: bias at 0.1 s / 1 s38% / 7% low37.5% / 7.2% low—Matched
A.7 with noise: bias at 0.1 s; δ_t39% low; 0.16 → 1.00 c38.5% low; 0.15 → 1.00 c—Close match
A.7 variance gamma, c = 1: bias at 1 s; share kept at 0.1 s3.3% low; 80% (Brownian 62%)3.5% low; 78% (62.5%)—Close match
A.7 variance gamma: increments > 0.01 c; increments for 99% / 50% of QVabout 100; 20 / 2109; 20 / 2—Close match
A.7 lag-1 ACF of the Huber path+0.39 (Brownian), 0.00 (variance gamma)+0.36, 0.00—Close match
A.7 variance gamma with the Brownian correction"below the truth at the shortest s"Above the truth (+23.5 pts at 0.1 s)Sign of the text's remarkMatched in substance (Discrepancies 12)
Table B.2, 55 assets — trades/s, outlier %, ψ* (c, bp), signature ratioPublished rowsWithin 10% on 100%, 98%, 100%, 100%, 100% of rows; median gaps 0.002, 0.012 pts, 0.003 c, 0.002 bp, 0.004—Close match
Table B.2 — HillPublished rowsWithin 10% on 91% of rows; median gap 0.017Slow stocks higherClose match (Discrepancies 10)
Table B.2 — ACF lag 1 / lag 2Published rowsWithin ±0.015 on 95% / 98% of rows—Close match
Table B.2 — linear over HuberPublished rowsWithin 10% on 91% of rows; median +0.047; correlation 0.96Level slightly higherMatched in pattern (Discrepancies 8)
Table B.2 — linear jumpPublished rowsLog correlation 0.97 with the paper; NVDA 11.5 / 11.9, SPY 146.6 / 137.6Median +15%Matched in pattern (Discrepancies 9)
Table B.1 (ACF by trading-rate group)24 published cellsAll within 0.02—Close match
Appendix B statementsHill ≤ 2.1 above 10 trades/s; linear/Huber 1.22 vs 1.01; outliers 2% vs 6%; signature 0.92 vs about 0.6; negative ACF on NVDA, AAPL, AMZN, TSLA, AVGO, AMD, MU2.05; 1.24 vs 1.03; 2.0% vs 5.9%; 0.92 vs 0.64; the same seven stocks—Close match

Summary: the appendix analyses are reproduced overall: Table A.1, the startup-rule comparison, the rolling ψ*, and the Huber-based cross-sectional results are matched or close; the two linear spot-volatility columns of Table B.2 match in pattern. The corrected variance-gamma signature differs in sign at the shortest lag.


Precision and practical significance

Precision and reproducibility

  • The paper reports point estimates and does not publish Monte Carlo errors, so the comparison is against the published values and against the theorems. Where the theory gives a target, the replication lies within Monte Carlo error: Theorem 1's ratios (0.988, 0.982, 0.959; s.e. about 0.03), Theorem 2's exact-hit probabilities (0.590 vs 0.604, 0.829 vs 0.829, 0.933 vs 0.934), Example 9's one-half split (0.477 / 0.523).
  • Every stochastic step is seeded. Re-running the empirical pipeline from freshly downloaded tapes reproduced every committed number of 16 October exactly.
  • Table 3's confidence intervals for the filter error θ_t − X_t, the only interval estimates in the paper, are reproduced in all eight cells.

Economic / practical significance

  • Robust vs linear filtering. The linear filter's 1-second volatility is 42.9% against 34.4% for the Huber filter on 16 October (raw trades 77.9%); one off-exchange print of 85 shares moves the linear spot volatility from 23% to 269% while the Huber path stays near 20%. Across 55 assets the linear spot volatility is 1.24 times the Huber one above 10 trades a second and 1.03 times below one.
  • Infinite-variance noise. The Hill index of the noise is below 2 on all twelve NVDA sessions and at most 2.05 on every asset trading more than 10 times a second (paper: at most 2.1), so the noise variance is infinite or at the boundary of existing, which invalidates the variance-based noise correction of linear pre-averaging, as the paper argues.
  • Computation. The stratified estimator costs a flat 46 µs per trade at any T, against 412 µs per point already at T = 10,000 for the exact weighted median, which makes filtering 1.5 million trades a day practical.

Discrepancies

The paper's settings that drive each difference are named; where a check isolates the cause, it is given.

  1. Table 1, lag-1 and lag-2 Huber rms (0.435, 0.391 against 0.431, 0.389) and three median-filter cells (+0.001 c). With a 3-trade half-life λ³ = ½, so right after a repricing the three newest trades hold exactly half the weight and the weighted median is a tie between two levels. The paper does not say how the tie is broken. Breaking it exactly (newest trade's side) gives 0.435; leaving it to floating-point rounding gives 0.429; the published 0.431 lies between, which is what a rounding-dependent tie produces.
  2. Outlier count (16,341 against 16,314, +0.17%). The stratified estimator draws 100 tail lags per trade at random and the paper's seed is not given; the head-only filter gives 16,312.
  3. Opening threshold (3.01 against 2.97 cents). δ_0 is the median of the previous five openings' nonzero residuals, which sit on discrete one-cent atoms; ours falls on the atom of a 132.0day,thepaper′sonthatofa132.0 day, the paper's on that of a 132.0day,thepaper′sonthatofa133.8 day. The value does not move with the presample's tail draws (eight seeds) or with the definition of the first minute (from 09:30 or from the opening print, 59–61 s); it is set by how many one-cent residuals each of the five openings contributes in the tape. Only the first minute is affected (1.48 c afterwards, as in the paper).
  4. Huber volatility at 0.1 s (54.1 against 53.3). The simulated damping factor is a ratio of two averages over M = 100 paths, biased by order 1/M; the paper quotes this bias as 1.8% at M = 100. With the closed-form factor the cell is 53.3.
  5. Hill indices of filtered returns (Table 1's lower panel, Table 2's Hill row, ends of the Table A.1 ranges; differences 0.01–0.06). The paper says the Hill estimates over the largest 0.1% to 1% of observations are averaged, but not how. The choice matters: an arithmetic average over k gives 1.25 for NVDA's residual, the log-uniform average used here gives the published 1.43. The residual gaps are within this sensitivity.
  6. Hill on 12 subsamples of 25,000 trades (1.25–1.77 against 1.33–1.49). The paper does not say how the subsamples are drawn, and with 25 to 250 tail observations the range depends on it: 1.25–1.77 for random trades, 1.26–1.76 for every 60th trade, 1.21–2.25 for eleven of twelve contiguous blocks (10.86 for the block that starts at the open). The published range lies inside each.
  7. Off-exchange share of outliers (93.8% on 16 October). The paper's "around 91%" is the share pooled over the twelve sessions: 91.2% here.
  8. Table B.2, linear over Huber spot volatility (median +0.047, within 10% on 50 of 55 assets). All Huber-based columns match, so the difference is located in the linear filter's spot-volatility path. It is not the memory a (the ratio is flat for a from 10 to 3,000 trades), the damping factor (simulated Huber and linear factors within 0.3%), the aggregation (median of daily ratios 1.429 against 1.440 pooled on MRVL) or the diurnal curve (a curve fit to the linear path gives 1.458). The paper specifies the statistic but not the remaining details of the linear spot construction; the level difference sits there, while the cross-sectional pattern (correlation 0.96) and the group medians (1.24 against 1.22, 1.03 against 1.01) are reproduced.
  9. Table B.2, linear jump (median +15%, log correlation 0.97). The jump is a ratio of a maximum to a median of the same linear spot path, so it inherits item 8 and is sensitive to the window edges and to the print chosen. For prints in the first seconds of the session the paper's baseline window (15 to 3 minutes before) does not exist; the paper does not say how such prints are handled, and the replication uses the largest residual at least 15 minutes after the open (NVDA and SPY are unaffected).
  10. Table B.2, Hill index of the slowest stocks (higher on 11 of the 13 stocks below one trade a second, MIDD 5.44 against 2.96). The averaging over k of item 5 again: with 5,000 to 25,000 trades the tail holds only 5 to 250 residuals. An arithmetic average reproduces the slow stocks (BKNG 2.73 / 2.72, LANC 2.50 / 2.52, FIZZ 2.59 / 2.53) while the log-uniform average reproduces the liquid ones (NVDA 1.43 / 1.43, AAPL 2.05 / 2.10); the paper's unspecified averaging decides between them.
  11. GOOG's Mandelbrot parameter. The QLIKE loss keeps falling as a grows (to 10⁶), so its value is set by the search range, which the paper does not specify (30,000 trades here); GOOG's linear/Huber and jump depend on that bound.
  12. Variance gamma with the Brownian correction (Appendix A.7). The paper says the corrected estimate is below the truth at the shortest s; it reports that the filter keeps 80% of the estimate at 0.1 s and that the Brownian correction removes a 38% bias there (a factor of about 1.6), whose product, about 1.29, is above one. The replication's 78% and 1.6 give the same sign; the remark in the text does not follow from the paper's own two numbers.
  13. Days shown in Figure A.4. The paper shows "the day on which the trade-count weight moves δ_t most" without defining the measure; with the largest gap between the two rules the chosen day is the paper's for NVDA and INTC and another day for AAPL, COST, CROX and IPAR. The comparison itself (identical after the first minute) is reproduced on every day.
  14. Anchored median, ranking of α (Figure 2). The paper's figure is one simulated path; the replication averages eight. Anchoring helps and the curves flatten as α falls, as stated; the best α is 0.6 rather than the smallest (0.4), a difference of 0.028 in tracking error.
  15. Level of Figure 4's predictive loss (−3.5 against about −5.4). The loss is measured against |Y_t|, which grows with the random-walk signal, so its level depends on the simulated path; the shape and the minimizer (λ = 0.91) agree with the paper.

Methodology

  1. Core algorithmic methodology is followed as written: the weighted-loss estimand (Definition 2), the simulation estimator (Definition 3, Algorithm 1), the stratified estimator (Remark 4(d), h = W⁻¹(0.999), B = 100), the O(1) lag samplers (Section 3.4), the Hazen / type-5 median (Remark 3) and the lower median of Theorem 2.
  2. The empirical pipeline runs at the paper's full scale: all trades of all twelve sessions plus the ten-session presample for NVDA and the 54 other assets, the five filters of Section 4 with lag-specific Huber thresholds, the Monte Carlo damping factor, the diurnal spot volatility with QLIKE-selected a for every asset.
  3. Data source. The paper uses NYSE TAQ through WRDS; the replication uses the consolidated tape from the Massive API. The cleaning rules of Section 4.2 give exactly the paper's 1,616,806 raw records and T = 1,521,339 on 16 October.
  4. Settings the paper leaves open are documented in results/RESULTS.md: the averaging of Hill estimates (log-uniform in k), the tie rule of the three-trade median, the first-second rule of the spot filter, the opening print as the first condition-17 trade, the QLIKE search grid, the jump window for prints at the open, the variance-gamma rate (β = 1 with the price in percent), and the Figure A.4 day selection.

Reliability

Strengths

  • Exact reproduction of the sample construction and of the paper's interval estimates (Table 3).
  • Full-scale empirical runs: 1.5 to 2.5 million trades per NVDA session, 1,210 asset-sessions in Appendix B, 400 simulated trading days in Appendix A.7.
  • Deterministic: seeded throughout; a rerun from freshly downloaded tapes reproduced every committed 16 October number exactly.
  • 57 unit tests, including the median tie rule, the startup rules, the rolling ψ* against the Table 3 estimator, and the variance-gamma quadratic variation.

Limitations

  • The paper does not publish Monte Carlo errors, seeds, or its code, so differences at the third decimal cannot be resolved further.
  • The Appendix B statistics built on the linear spot path (linear over Huber, jump) agree in pattern and in their group medians, with level differences located in that path (Discrepancies 8–9).
  • Hill indices of the slowest assets depend on the unspecified averaging over k (Discrepancy 10).

Overall confidence

  • Experiment 1: the computational results agree with the theoretical targets within Monte Carlo error, and the expected convergence and runtime scaling are recovered.
  • Experiment 2: the main synthetic conclusions are recovered; the exact-hit probabilities agree within Monte Carlo error, while the ranking of the anchored-median parameter α varies across simulated paths.
  • Experiment 3: the sample construction matches exactly, Table 3 matches the published rounding, and all eight of its confidence-interval cells match exactly; Tables 1 and 2 are close to the published values and the main empirical conclusions hold.
  • Experiment 4: the Huber-based appendix results are matched or close. The two Table B.2 columns based on the linear spot-volatility path match in cross-sectional pattern rather than level, and the corrected variance-gamma signature differs in sign at the shortest lag.
  • Overall, the replication provides strong evidence for the paper's main methodological and empirical conclusions, but not for exact numerical agreement in every reported result.

Verdict

The repository reproduces the paper's filtering method and supports its main synthetic and empirical conclusions. The synthetic results agree with the theorems within Monte Carlo error; the NVDA sample is reproduced exactly; Table 3 matches the published rounding, including exact matches for all eight confidence-interval cells; and Tables 1, 2, A.1 and B.1 are matched or close. In Table B.2, the Huber-based results are matched or close, while the two statistics based on the linear spot-volatility path reproduce the cross-sectional pattern but not the published level. The corrected variance-gamma signature also has the opposite sign at the shortest lag. Other numerical differences are small and are associated with settings the paper does not specify, including random seeds, tie-breaking, the averaging and subsampling of Hill estimates, search ranges and selection rules.


Conclusions

  • The non-recursive filter is practical. The stratified estimator matches the exact filter at a flat 46 µs per trade, so robust filtering of 1.5 million trades a day is feasible.
  • Trade-level noise has infinite variance. The Hill index of the NVDA noise is below 2 on every session and under every screen of Table A.1, and at most 2.05 on the assets trading more than 10 times a second. Variance-based noise corrections do not apply to such data.
  • Robust filtering removes the noise from volatility estimates. The Huber signature is flat from 1 second to 1 minute, while raw trades and the linear filter overstate short-lag volatility; a single off-exchange print moves the linear spot volatility from 23% to 269%, while the Huber path stays near 20%.
  • Outliers have structure. About 91% of NVDA outliers are off-exchange prints, and on every session the share of outliers above the price falls as the price rises, the pattern of stale trades.
  • The gain grows with the trading rate. Across 55 assets the linear spot volatility is 1.24 times the Huber one above 10 trades a second and 1.03 times below one.
  • A second data source gives the same results. The consolidated tape from Massive, cleaned by the paper's rules, rebuilds the paper's TAQ sample exactly: 1,616,806 raw records and T = 1,521,339 on 16 October.

Embedded Figures

Experiment 1

exp_1 convergence vs B

exp_1 runtime scaling

exp_1 weight schemes

Experiment 2

exp_2 Figure 1 analogue: rolling median paths

exp_2 Figure 1 analogue: loss and tracking error vs ell

exp_2 Figure 2 analogue: anchored median vs ell and alpha

exp_2 Figure 3

exp_2 Figure 4

exp_2 Figure 5

exp_2 convergence vs B

Experiment 3

exp_3 Figure 6

exp_3 Figure 7

exp_3 Figure 8

exp_3 Figure 9

exp_3 Figure 10

exp_3 Figure 11

exp_3 Figure 12

exp_3 Figure 13

exp_3 half-life selection

Experiment 4

exp_4 Figure A.1

exp_4 Figure A.2

exp_4 Figure A.3

exp_4 Figure A.4

exp_4 Figure A.5

exp_4 Figure A.6

exp_4 Figure B.1

exp_4 Figure B.2

Experiments

Generic Weighted-Loss Filter Construction and Simulation Approximation

Replicate the paper's methodological contribution: a non-recursive weighted-loss filter defined as the minimizer of a weighted convex-loss objective, together with its simulation-based approximation (Definition 3) and the stratified Monte Carlo implementation (Remark 4(d)). Validate approximation accuracy in parameter, objective and predictive-loss terms, the O(1)-per-point cost of the lag samplers against the O(t) exact filter, Theorem 1 for the squared loss, and applicability across loss functions and weight schemes.

Synthetic Replication of Weighted Median Filters Under Heavy-Tailed Noise

Replicate the synthetic examples of Sections 2-3 using Cauchy-noise signal extraction: the rolling median (Figure 1), the stationary anchored median (Figure 2), the exponentially weighted median by lag sampling (Figures 4 and 5) with Theorem 2's recovery probability (Figure 3), and Example 9, the simulated median when the weighted median is not unique.

Empirical NVDA Replication: High-Frequency Robust Price Filtering and Volatility Estimation

Replicate the paper's main empirical application on NVDA trades over the twelve sessions of 1-16 October 2024: the five-filter pipeline (median price filter, scale filter, Huber price filter, volatility estimation, directional outlier probability), the benchmark raw, linear and median paths, Tables 1-3, the checks of Sections 4.2 and 4.4.1, Figures 6-13, the half-life choices of Sections 4.3, 4.4 and 4.7, and the diurnal spot volatility of Sections 4.5.2-4.6 with the QLIKE choice of the Mandelbrot parameter.

Empirical Robustness and Appendix Replication: Tail Index, Alternative Volatility Lags, Simulation Diagnostics, and Cross-Asset Extension

Replicate the robustness analyses and appendix results as independent modules: the tail-index screens of Table A.1, the s = 10 seconds volatility comparisons of Appendix A.2-A.3, the time-varying Huber standard error of Appendix A.4, the first-minute startup rule of Appendix A.5, the simulated signatures of Appendix A.7 (Brownian and variance-gamma prices with and without heavy-tailed noise), and the cross-asset replication of Appendix B on NVDA and the 54 other assets (Tables B.1-B.2, Figures B.1-B.2).

Run QCA on your paper