Repeated median line fit worksheet 26 November 2026 | Original StatMedAnalysis worksheet Instructions 1. Keep actual x coordinates, particularly when observations are irregularly spaced. 2. For each point, calculate slopes to every other point. 3. Take a median within each point, then a median across those medians. 4. Use median(y − slope × x) for the hierarchical intercept. 5. Compare fitted values and residual patterns with the scientific model. This is not the median of all pooled pairwise slopes. The browser tool requires distinct x values and does not estimate uncertainty. Record the intercept convention so another analyst can reproduce the fit. Use synthetic values only. Complete each field before interpreting output. Research question: ______ Group or category dictionary: ______ Input units and order: ______ Independence / sampling assumption: ______ Method-specific settings and tie rule: ______ Inputs or synthetic record identifier: ______ Statistic and direction: ______ Separate uncertainty method, if used: ______ Observed limitation and next action: ______ Report sentence: ______ Analyst / date / version: ______ Worked hypothetical example (not your result) For hypothetical x = 0,1,2,3,4 and y = 1,3,5,7,100, the repeated-median slope is 2 and hierarchical intercept is 1. The line fits the first four observations; the last residual is 91. That discrepancy still needs investigation. Report the unusual point and the sensitivity analysis, rather than presenting the robust fit as evidence that the point is erroneous.