1988issue C041-6
Building consensus indicators with correlation and the chi-square test
Chart overlay and arrow-on-price review leave two readers free to rank the same signal differently. Correlation analysis scores signed association, including after a lead-shift. Directional coding then turns weekly stance into a batting average that a chi-square test can check against chance before a consensus model is assembled.
- Chart overlay and arrow-on-price review leave the comparison unquantified, so two readers can rank the same signal differently.
- A correlation coefficient is a signed score between plus one and minus one. Contemporaneous agreement is not forecast skill; a lead-shift tests association with later market levels.
- Directional coding produces a batting average across several horizons, with optional recency-weighting, so competing indicators share one record.
- A Yates-adjusted chi-square test on the right-versus-wrong tally asks whether a modest hit-rate could be a chance outcome before any consensus model is assembled.
When overlays leave the ranking open
A chart overlay or an arrow drawn on price leaves the comparison unquantified. Two readers can look at the same indicator and rank it differently, because the review never produces a shared number.
Correlation analysis and the lead-shift
Correlation analysis assigns a signed score between plus one and minus one. The score records how closely an indicator series and a market series move together, including the inverse case. A same-date reading is contemporaneous agreement. It measures agreement, not forecast skill.
Forecast association is built with a lead-shift. The indicator series is advanced a chosen number of sampling intervals and the coefficient is recomputed against later market levels. The shift is then repeated so a useful lead can be searched for.
A five-observation spreadsheet that totals each series, the squares, and the cross-product produced a coefficient of 0.63. That figure was treated as a moderate relationship on the suggested reading scale.
From weekly stance to a batting average
Directional success uses directional coding. Each week is recorded as a constructive, cautious, or undecided stance and is paired with a later up-or-down market outcome. Undecided weeks are ignored. Agreements are then divided by the sum of agreements and disagreements.
That share is the batting average: the share of non-neutral weeks in which a bullish or bearish stance later matches market direction.
The same weekly stance can be scored against market direction one week, five weeks, thirteen weeks, twenty-six weeks, and one year later. Short, intermediate, and long horizons then appear on one record.
A multi-year sample can apply recency-weighting. Rising year weights let a result from ten years earlier count less than a result from a more recent year when hit-rates are totaled.
Testing the tally against chance
A chi-square test on the two-way right-versus-wrong tally asks whether a modest hit-rate could be a chance outcome. Conventional bands are described as once in twenty, once in one hundred, and once in one thousand repetitions.
For two-outcome counts the Yates correction is a half-count adjustment applied to each observed-minus-expected term. The Yates-adjusted chi-square compares each observed frequency with its expected frequency. Listed cutoffs are 3.84, 6.64, and 10.83 for the 95 percent, 99 percent, and 99.9 percent confidence bands.
When a consensus model is allowed
A consensus model is a combined reading assembled only after competing indicators have been scored on the same association and hit-rate yardsticks. Until those scores exist, the blend has no shared numerical scoreboard.
All readings on this track · 17 readings
- 1987Testing price-volume agreement after percent reversal filters
- 1988Constructing chi-square tests for two-way price counts
- 1988Building consensus indicators with correlation and the chi-square test
- 1988Test edges against chance, not story
- 1988Constructing an advance-decline divergence oscillator
- 1989Evaluate a contrary put-call premium ratio at a stated horizon
- 1990A weekly resistance-index from hourly volume-per-point
- 1990Testing breadth above moving averages by horizon
- 1990Evaluating member versus odd-lot breadth
- 1990A chi-square test of split frequency histograms across price aggregations
- 1990Evaluating smoothed secondary counts with a chi-square test
- 1991Treat session high and low times as codes, then require a chi-square check
- 1991A signed hourly swing catalog as a next-session chi-square check
- 1992Constructing a chi-square test as a gate for two-way market records
- 1992Percent filters, log point-and-figure, and breadth residuals
- 1997Build a chi-square stationarity screen before you forecast
- 1998Timed breakout rules after a nested-bar contraction