Parameter sweeps: multiple testing, plateaus and isolated peaks

What you will learn

  • Explain why the best result of many tests overstates the true edge.
  • Run a parameter sweep that includes your own settings and their neighbours.
  • Apply the plateau rule to tell a plateau from an isolated peak.
  • Read a sweep heat map without spending the holdout period.

Check your understanding

Answer each question to see the explanation. Answers are not saved.

  1. In a one-parameter sweep the best length, 100 days, scores +0.18. Its neighbours, 75 and 125 days, score +0.02 and −0.04. How does the plateau rule read it?

    1. A Plateau
    2. B Isolated peak
    3. C No setting beat the benchmark
    Show the answer

    Answer: B. The neighbours’ median is −0.01, well below half of +0.18, and only one of two is positive. That is an isolated peak.

  2. A best cell scores +0.20 and has four valid neighbours: +0.14, +0.16, +0.11 and −0.02. How does the plateau rule read it?

    1. A Isolated peak, because one neighbour is negative
    2. B Too few neighbouring settings
    3. C Plateau
    Show the answer

    Answer: C. The median of the neighbours is +0.125, above half of +0.20, and three of four (more than two thirds) are positive.

  3. Why is the sweep heat map coloured with training results only?

    1. A Because holdout data covers too few years to give each cell a colour
    2. B So the holdout is not used to pick a cell and stays a fair test
    3. C Training results are always more accurate
    Show the answer

    Answer: B. If the grid showed holdout results, choosing the best holdout cell would turn the holdout into training data. The full holdout verdict is given for your own settings only.

  4. Thirty settings of a rule with no real edge are tested over 15 years. What should you expect of the best one?

    1. A Its result is close to zero, like the others
    2. B It is the true optimum and should be traded
    3. C It can look respectable purely by chance
    4. D It is always negative
    Show the answer

    Answer: C. Picking the best of many selects the one luck helped most. In the lesson’s simulation the best of 30 noise strategies reached a Sharpe ratio of 0.54.

  5. Your own settings sit on an isolated peak, while a plateau appears elsewhere on the grid. What is the sound reaction?

    1. A Doubt your result; any switch to the plateau is a new, tuned study
    2. B Trade your own settings at once, since they scored best in the training period
    3. C Widen the grid until your settings sit on a plateau
    Show the answer

    Answer: A. An isolated peak is likely luck. Moving to the plateau after seeing the sweep is legitimate only if you treat it as a tuned study and trust its holdout less.

Continue in Clear Tape

With a free account, your progress and quiz scores are saved, and you can practise with the question bank, keep a wrong-answer book and study real chart examples.