IS/OS variable correlations: How do things change for higher/lower in-sample PF values?

<p>On <a href="http://mechanicalforex.com/2017/10/isos-variable-correlations-looking-at-how-sharpe-and-pf-correlations-change-as-a-function-of-os-trade-number.html">last week&#8217;s post</a> we talked about how the in-sample profit factor (PF) and sharpe ratio (SR) statistics in our PA system repository correlate with their out-of-sample values. It was clear from those findings that the correlation between in-sample and out-of-sample variables is increasing as a function of trade number, corroborating earlier evidence using pseudo out-of-sample periods that showed this same behavior. However it is also interesting to consider whether this correlation is fundamentally located across a certain portion of the in-sample variable values or whether it is evenly distributed across the aboard. On today&#8217;s post we are going to look into this matter to find out whether the correlation is weaker or stronger for higher or lower in-sample PF values. This should help us understand how evenly distributed the data is and whether there is any difference in how in-sample and out-of-sample correlations happen depending on the range of the in-sample statistic we study.</p>
<p>&#8211;</p>
<p><img loading="lazy" class="aligncenter wp-image-5880" src="https://mechanicalforex.com/wp-content/uploads/2017/10/Selection_999878.jpg" alt="" width="495" height="393" srcset="https://mechanicalforex.com/wp-content/uploads/2017/10/Selection_999878.jpg 743w, https://mechanicalforex.com/wp-content/uploads/2017/10/Selection_999878-300×238.jpg 300w" sizes="(max-width: 495px) 100vw, 495px" /></p>
<p>&#8211;</p>
<p>It is clear that if the in-sample has anything to do with the out-of-sample then the correlation between PF/SR statistics across both periods must increase as a function of trade number as the statistical significance of the out-of-sample measurement increases to better match that of the in-sample period. A higher PF in the in-sample will not correspond to a higher PF in the out-of-sample unless the out-of-sample is long enough to reflect at least a part of the edge that was obtained by the system in the IS. We now know that this indeed happens in our PA repository. However it is also a common observation that systems that are particularly well performing in the IS tend to show the inverse relationship in the OS, mainly because the large performance values might tend to mean revert more significantly than values for lower performing IS strategies. With this in mind we would expect the largest PF and SR values to show some tendency towards a negative correlation in the OS.</p>
<p>The image above shows the OS and IS PF values with a green line located at the 50% percentile line of the IS PF (1.27) for systems with more than 100 trades in the OS. There are also two linear regression lines showing the linear regression for the bottom 50% of PF values (red) and the top 50% of PF values (blue). The Pearson correlation coefficient (R) for the entire data is 0.148 while the R for the other lines are 0.27 (red) and 0.04 (blue). This shows us that the correlation is in fact greater for the lower half of IS PF values and the correlation drops significantly when we go to the top half. This implies that there is in fact a decaying tendency for a higher PF in the IS to show a higher PF in the OS as the IS PF gets larger. We look into this in more detail by examining how the R changes for groups above/below different percentile values of the IS PF from 10 to 95%.</p>
<p>&#8211;</p>
<p><img loading="lazy" class="aligncenter size-full wp-image-5881" src="https://mechanicalforex.com/wp-content/uploads/2017/10/Selection_999879.jpg" alt="" width="393" height="426" srcset="https://mechanicalforex.com/wp-content/uploads/2017/10/Selection_999879.jpg 393w, https://mechanicalforex.com/wp-content/uploads/2017/10/Selection_999879-277×300.jpg 277w" sizes="(max-width: 393px) 100vw, 393px" /></p>
<p>&#8211;</p>
<p>In this case what we see is fairly telling. When we separate the PF by looking only at values above a certain percentile we can see that the R is always low, this means that always including the top IS PF values and cutting the lower parts heavily penalizes the correlation while going the other way and removing top performers &#8211; by only looking at groups below a certain percentile &#8211; actually increases the correlation. The highest benefit in the correlation actually comes from the bottom IS PF performers showing that the highest tendency of increases in the IS PF to become increases in the OS PF is when the PF in the IS is low. The benefit is lost rather quickly as the IS PF becomes larger and it&#8217;s evident that demanding ever large increases in the IS PF won&#8217;t lead to larger increases in the OS PF. It is most likely true that increasing the IS PF above 1.3 brings little benefit in terms of the expected increase in the OS PF at least with systems that have at least 100 trades in the OS.</p>
<p>As the number of trades grows larger the overall correlation of the entire data set becomes larger &#8211; as shown in last week&#8217;s post &#8211; and the above relationship between the different percentiles remains similar. For example when looking at systems with more than 200 trades in the OS the IS/OS global PF correlation is 0.258 while for systems below the 50% percentile it&#8217;s 0.568 and for systems above the 50% percentile it&#8217;s 0.046. This means that most of the gains in correlation as system numbers increase occur for the lower performing ranks of the IS PF while for higher rankings the correlation remains close to 0 the entire time. This further supports the notion that demanding an IS PF of 1.3 is logical &#8211; since increases in the IS PF are bound to lead to increases in the OS PF up to this point &#8211; but forcing systems to perform better in the IS might not lead to better gains in the OS, at least in terms of the PF for our PA system repository.</p>
<p>&#8211;</p>
<p><img loading="lazy" class="aligncenter size-full wp-image-5882" src="https://mechanicalforex.com/wp-content/uploads/2017/10/Selection_999880.jpg" alt="" width="370" height="304" srcset="https://mechanicalforex.com/wp-content/uploads/2017/10/Selection_999880.jpg 370w, https://mechanicalforex.com/wp-content/uploads/2017/10/Selection_999880-300×246.jpg 300w" sizes="(max-width: 370px) 100vw, 370px" /></p>
<p>&#8211;</p>
<p>Stay tuned next week as I uncover a similar analysis for the SR which will show us how the SR statistic correlations behave across our PA repository using different percentile cuts. If you would like to learn more about our work and how you too can trade a repository of more than 10,000 price action Forex strategies without having to use a VPS  please consider joining <a href="http://newsite.asirikuy.com/">Asirikuy.com</a>, a website filled with educational videos, trading systems, development and a sound, honest and transparent approach towards automated trading.</p>

Leave a Comment

Leave a Reply

Your email address will not be published. Required fields are marked *