Statistical significance of a new rule

Discussions about the testing and simulation of mechanical trading systems using historical data and other methods. Trading Blox Customers should post Trading Blox specific questions in the Customer Support forum.
Post Reply
LeviF
Roundtable Knight
Roundtable Knight
Posts: 1436
Joined: Mon Dec 22, 2003 12:24 pm
Location: Des Moines, IA
Contact:

Statistical significance of a new rule

Post by LeviF »

Say I add a new rule to a system that seems to improve results. How many instances should said rule come in to effect for it to be statistically significant? Obviously more is better, but is there any sort of rough guide?
Paul King
Roundtable Knight
Roundtable Knight
Posts: 207
Joined: Mon Feb 23, 2004 9:13 am
Location: Vermont, USA
Contact:

Post by Paul King »

"... that seems to improve results"

Depends how you quantify this. I'd look at how the trade frequency changes when you apply the new rule, and also the average size of winners to losers. Also, I'd be suspicious if a new rule happened to significantly improve the win% since this may be eliminating losing trades by pure coincidence/curve fitting/date anomaly.

It also make a difference whether it's an entry rule, position sizing rule, or exit rule - they each should affect different aspects of your trading program in different ways (see attached model).

Hope this helps
Attachments
TradingSystemComponentModel.pdf
Objectives, traits, and components of a trading program
(42.14 KiB) Downloaded 330 times
LeviF
Roundtable Knight
Roundtable Knight
Posts: 1436
Joined: Mon Dec 22, 2003 12:24 pm
Location: Des Moines, IA
Contact:

Post by LeviF »

Here is a chart that summarizes the new "rule". It is a trade filter. The dark line is the R3 value and the pink line illustrates the number of instances the rule comes into effect.
Attachments
chart.JPG
chart.JPG (50.12 KiB) Viewed 3982 times
Paul King
Roundtable Knight
Roundtable Knight
Posts: 207
Joined: Mon Feb 23, 2004 9:13 am
Location: Vermont, USA
Contact:

Post by Paul King »

What are the x-axis units (1-17)? Is that years, months, day, or something else?
LeviF
Roundtable Knight
Roundtable Knight
Posts: 1436
Joined: Mon Dec 22, 2003 12:24 pm
Location: Des Moines, IA
Contact:

Post by LeviF »

lookback days.
Paul King
Roundtable Knight
Roundtable Knight
Posts: 207
Joined: Mon Feb 23, 2004 9:13 am
Location: Vermont, USA
Contact:

Post by Paul King »

How many trades are there when this rule is not implemented at all?

Just looking at the chart it appears to be a "robust" parameter with respect to R3 since it has a nice "bell curve" shape with the "sweet spot" lookback around 9 days, but only filtering out 100 trades.

If I was analyzing this I'd calculate System Value for each instance and see which one is the highest.

System Value = (Average R/STDEV(losing R) ) * number of trades per year (or day, week, month, depending on average trade duration).

Assuming you're still left with at least 100 trades in your sample after filtering i'd say the results were statistically significant, but it would be better to see a complete TBB report with the lookback stepped from 1 to 17.
Post Reply