Skip to main content
Track Hypothesis testing
8 / 20
Library

1992issue C081-2

Building a shared workbook for calendar seasonality tests

A seasonal month stays unfinished until the same calendar-matrix is written as levels, year-relative months, and month-to-month changes, then each view is forced through one shared-test-stack of averages, dispersion, counts, column-t-statistics, and approximate-p-values.

  • Summarize the first calendar-matrix with row averages, row standard deviations, and row observation counts, then add matching column summaries and one matrix-wide average, standard deviation, and count.
  • Build each column-t-statistic from the absolute gap between that column average and the matrix average, scaled by the combined standard error, and turn it into an approximate-p-value with a stored six-coefficient normal-curve polynomial.
  • Restate the same history as year-relative months and as month-to-month changes, with a defined predecessor for the first cell, and reuse the same T and p construction without a new formula.
  • Editorial view: treat a month-based candidate as a keep, size, or refuse decision only after all three representations can be tested as one procedure inside a regime-aware book.
Entries in this reading3 entries

Three views of one calendar history

Editorial view: treat a seasonal idea as unfinished until the same calendar history is built three ways and each view is forced through one shared-test-stack. A month-based candidate becomes a keep, size, or refuse decision only after level, year-relative, and month-to-month-change representations can be tested as a single procedure inside a regime-aware book.

The archive workflow starts from a calendar-matrix, a rectangular history whose columns are calendar months and whose rows are successive years or comparable periods.

Level summaries on the first calendar-matrix

The first data matrix is summarized with row averages, row standard deviations, and row observation counts, plus matching column summaries and a single matrix-wide average, standard deviation, and count. Those rows are the level view of the same calendar history that the later restatements will reuse.

How the column test is built

Each column-t-statistic is a two-sample comparison of one month's mean with the whole-matrix mean. It is the absolute gap between that column's average and the matrix average, divided by the square root of the sum of each variance divided by its own count.

Approximate-p-values are produced from those T statistics with a stored six-coefficient polynomial that approximates a normal curve rather than a native statistical function. The six stored coefficients are 0.7070735, 0.1411281, 0.08864028, 0.02743349, -0.00039446, and 0.00328975.

The approximate-p-value expression halves the reciprocal of one plus a fifth-degree polynomial in the T statistic plus the first coefficient, with that entire denominator then squared.

Year-relative months and month-to-month changes

A second matrix restates each monthly price as a year-relative month: 100 times that month divided by the same year's row average, so seasonal shape is separated from the year's level. Column summaries, column-t-statistics, and approximate-p-values are then repeated.

A third matrix restates each observation as a month-to-month change, the percentage move from the prior month's observation. The opening cell is specified to use a December 1960 index level as that predecessor.

The T and p construction defined on the first matrix is reused without a new formula on both the year-relative matrix and the month-to-month-change matrix. That reuse is the shared-test-stack: the same average, dispersion, count, T, and p rows applied unchanged to raw levels, year-relative months, and month-to-month changes.

Educational research material, not investment advice. Historical source context does not establish present-day performance.
8 of 20 in the Hypothesis testing track
19951-2 pp.Next on Hypothesis testingT-test evaluation of simulated trade returnsThe evaluation used 24 simulated trades on the September 1994 Deutsche Mark futures contract and measured net return after a 20-dollar round-turn commission and stop-order slippage of 10 percent of the daily range.
All readings on this track · 20 readings
  1. 1988Serial dependence, trade excursions, and belief revision
  2. 1989Score an indicator before anyone writes a buy or sell rule
  3. 1990Evaluating safety labels in a crash window
  4. 1991Keep a decade-year only when it differs from the overall-mean
  5. 1991Audit indicator forecasts with chi-square hit rates
  6. 1992A lag-regression audit of stochastic forecast skill
  7. 1992Constructing detrended tests for calendar seasonality
  8. 1992Building a shared workbook for calendar seasonality tests
  9. 1995T-test evaluation of simulated trade returns
  10. 1995Constructing a two-proportion Z-test for hit rates
  11. 1996Treat a volume-price surge as a contingency table
  12. 1997Testing bond and stock seasonality before you trade
  13. 1997Walk-forward tests after system optimization
  14. 1997Testing breakout rate versus rally speed
  15. 2000Score the misses before a pattern is a system
  16. 2002Leave a moving-average crossover unfinished until chance cannot explain the ranges
  17. 2013Keep or drop an RSI threshold with a complementary-sample test
  18. 2013Constructing a null and a t-test for sample returns
  19. 2017Partial correlation and the market-adjusted stock trend
  20. 2017Constructing market-adjusted stock trend scores
All 26 readings tagged Hypothesis testing
Also on Hypothesis testing5 readings