Australian and New Zealand Journal of Statistics Statistics, Probability and Uncertainty
Distance‐Ordered Sign Scan and Run Tests for Symmetry: Exact Known‐Median Calibration and Bootstrap Extensions
Abstract
ABSTRACT We study distribution‐free tests of univariate symmetry about a specified median . The tests are constructed from the signs of observations after ordering the observations by their absolute distances from . The first procedure is a two‐sided scan test based on the maximum local imbalance of positive and negative signs over moving windows. The second procedure is a trimmed longest‐run test, defined as the largest run of equal signs observed inside any window of fixed length. We give a precise Bernoulli/Rademacher notation for the ordered‐sign construction, prove the exact distribution‐free null property and describe finite Markov chain (FMCI) embedding algorithms for exact calibration. We add a local‐alternative analysis that makes precise which departures from symmetry the scan statistic is designed to detect and how these differ from the targets of sign‐, Wilcoxon‐, runs‐ and longest‐run tests. We also clarify the relation between the trimmed longest run and the ordinary longest run, discuss how the exact null distribution is affected when the median is estimated rather than specified, and describe a residual sign‐flip calibration for applications to linear regression. A simulation study—including a model with asymmetry localised in distance from the median—compares the proposed tests with classical procedures, reports FMCI computation times and documents the complementary, rather than uniformly dominant, behaviour of the methods.