[{"data":1,"prerenderedAt":1206},["ShallowReactive",2],{"doc-analytics/sample-size-importance":3},{"id":4,"title":5,"appLink":6,"body":7,"category":1189,"description":1190,"extension":1191,"level":1192,"meta":1193,"navigation":355,"next":1194,"path":1195,"related":1196,"seo":1199,"stem":1200,"tags":1201,"__hash__":1205,"_path":1195},"docs/docs/analytics/sample-size-importance.md","Why Sample Size Matters","/analytics/opportunities",{"type":8,"value":9,"toc":1142},"minimark",[10,14,25,30,33,39,50,54,57,62,73,79,82,86,91,94,99,112,117,128,131,137,141,147,152,169,174,190,196,202,206,209,287,290,298,302,305,398,401,405,408,412,418,423,443,447,453,457,475,479,485,489,507,511,517,521,539,543,660,666,670,674,677,688,694,698,701,715,719,722,736,740,743,747,760,765,790,795,799,802,806,809,815,819,822,827,831,834,839,844,848,851,855,860,866,871,877,883,889,897,901,905,908,912,915,929,933,936,950,954,957,967,971,975,980,986,991,1007,1013,1017,1021,1027,1031,1047,1052,1056,1061,1071,1077,1081,1086,1089,1094,1097,1102,1105,1110,1113,1118,1121,1125,1131,1138],[11,12,5],"h1",{"id":13},"why-sample-size-matters",[15,16,17],"blockquote",{},[18,19,20,24],"p",{},[21,22,23],"strong",{},"Educational Resource:"," This guide explains statistical sample size concepts used in quantitative analysis. These concepts help evaluate historical pattern reliability but do not guarantee future performance. All investments involve risk.",[26,27,29],"h2",{"id":28},"the-sample-size-question","The Sample Size Question",[18,31,32],{},"Every driver shows you an \"n\" value - the number of times we've tested that pattern. But why does this number matter so much?",[18,34,35,38],{},[21,36,37],{},"Simple answer:"," Anyone can flip a coin 3 times and get 3 heads. That doesn't mean the coin is rigged. But if you flip it 1,000 times and get 750 heads, something is definitely unusual.",[18,40,41,42,45,46,49],{},"Sample size (n) tells you whether a pattern is ",[21,43,44],{},"luck"," or ",[21,47,48],{},"real",".",[26,51,53],{"id":52},"what-is-sample-size","What is Sample Size?",[18,55,56],{},"Sample size is the number of historical occurrences we've tested for a specific pattern.",[18,58,59],{},[21,60,61],{},"Example:",[63,64,69],"pre",{"className":65,"code":67,"language":68},[66],"language-text","insider_buying_20d → forward_return_30d\nr=0.68, n=176\n","text",[70,71,67],"code",{"__ignoreMap":72},"",[18,74,75,78],{},[21,76,77],{},"Translation:"," We found 176 instances in historical data where insiders bought heavily over 20 days. We measured what happened to the stock 30 days later in all 176 cases. The correlation was 0.68.",[18,80,81],{},"The larger the n, the more confident we can be that r=0.68 is a real relationship, not random chance.",[26,83,85],{"id":84},"why-small-samples-are-dangerous","Why Small Samples Are Dangerous",[87,88,90],"h3",{"id":89},"the-coin-flip-example","The Coin Flip Example",[18,92,93],{},"Imagine testing a \"pattern\" by flipping a coin:",[18,95,96],{},[21,97,98],{},"Test 1: n=3 flips",[100,101,102,106,109],"ul",{},[103,104,105],"li",{},"Results: Heads, Heads, Heads",[103,107,108],{},"Success rate: 100%",[103,110,111],{},"Conclusion: The coin always lands heads!",[18,113,114],{},[21,115,116],{},"Test 2: n=100 flips",[100,118,119,122,125],{},[103,120,121],{},"Results: 52 heads, 48 tails",[103,123,124],{},"Success rate: 52%",[103,126,127],{},"Conclusion: The coin is basically random",[18,129,130],{},"With n=3, we thought we had a \"can't lose\" pattern. With n=100, we learned the truth: it's a coin.",[18,132,133,136],{},[21,134,135],{},"The same thing happens with trading patterns."," Small samples make random noise look like reliable signals.",[87,138,140],{"id":139},"real-trading-example","Real Trading Example",[18,142,143,146],{},[21,144,145],{},"Pattern:"," \"Insider buying by CEOs → stock rises\"",[18,148,149],{},[21,150,151],{},"Test 1: Small Sample (n=12)",[100,153,154,157,160,163],{},[103,155,156],{},"Tested on 12 companies",[103,158,159],{},"10 stocks rose (83% success rate!)",[103,161,162],{},"Correlation: r=0.76",[103,164,165,168],{},[21,166,167],{},"Conclusion:"," Amazing pattern!",[18,170,171],{},[21,172,173],{},"Test 2: Large Sample (n=200)",[100,175,176,179,182,185],{},[103,177,178],{},"Tested on 200 companies",[103,180,181],{},"110 stocks rose (55% success rate)",[103,183,184],{},"Correlation: r=0.42",[103,186,187,189],{},[21,188,167],{}," Barely better than coin flip",[18,191,192,195],{},[21,193,194],{},"What happened?"," With n=12, we got lucky. With n=200, we found the true relationship: modest and inconsistent.",[18,197,198,201],{},[21,199,200],{},"This is why we require n ≥ 30 minimum"," - to filter out lucky noise.",[26,203,205],{"id":204},"the-relationship-sample-size-vs-confidence","The Relationship: Sample Size vs Confidence",[18,207,208],{},"As sample size increases, our confidence in the pattern increases:",[210,211,212,228],"table",{},[213,214,215],"thead",{},[216,217,218,222,225],"tr",{},[219,220,221],"th",{},"Sample Size",[219,223,224],{},"Confidence Level",[219,226,227],{},"Interpretation",[229,230,231,243,254,265,276],"tbody",{},[216,232,233,237,240],{},[234,235,236],"td",{},"n \u003C 30",[234,238,239],{},"Very Low",[234,241,242],{},"Could easily be luck - we don't show these",[216,244,245,248,251],{},[234,246,247],{},"n = 30-50",[234,249,250],{},"Low-Moderate",[234,252,253],{},"Emerging pattern - use with caution",[216,255,256,259,262],{},[234,257,258],{},"n = 50-100",[234,260,261],{},"Moderate",[234,263,264],{},"Decent evidence - verify with other signals",[216,266,267,270,273],{},[234,268,269],{},"n = 100-200",[234,271,272],{},"High",[234,274,275],{},"Strong evidence - reliable pattern",[216,277,278,281,284],{},[234,279,280],{},"n ≥ 200",[234,282,283],{},"Very High",[234,285,286],{},"Robust pattern - well-tested across many scenarios",[18,288,289],{},"Think of it like a weather forecast:",[100,291,292,295],{},[103,293,294],{},"Forecast based on 5 days of data: Not reliable",[103,296,297],{},"Forecast based on 50 years of data: Much more reliable",[87,299,301],{"id":300},"visual-confidence-progression","Visual: Confidence Progression",[18,303,304],{},"As you gather more evidence, confidence in the pattern grows exponentially:",[63,306,310],{"className":307,"code":308,"language":309,"meta":72,"style":72},"language-mermaid shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","graph LR\n    A[\"n \u003C 30\u003Cbr/>\u003Cstrong>Very Low\u003C/strong>\u003Cbr/>Could be luck\u003Cbr/>⚠️ Filtered Out\"]\n    B[\"n = 30-50\u003Cbr/>\u003Cstrong>Low-Moderate\u003C/strong>\u003Cbr/>Emerging pattern\u003Cbr/>Use with caution\"]\n    C[\"n = 50-100\u003Cbr/>\u003Cstrong>Moderate\u003C/strong>\u003Cbr/>Decent evidence\u003Cbr/>Good for confirmation\"]\n    D[\"n = 100-200\u003Cbr/>\u003Cstrong>High\u003C/strong>\u003Cbr/>Strong evidence\u003Cbr/>Reliable patterns\"]\n    E[\"n ≥ 200\u003Cbr/>\u003Cstrong>Very High\u003C/strong>\u003Cbr/>Robust pattern\u003Cbr/>✅ Battle-tested\"]\n\n    A -->|More tests| B -->|More tests| C -->|More tests| D -->|More tests| E\n\n    style A fill:#ffcccc\n    style B fill:#ffe6cc\n    style C fill:#ffffcc\n    style D fill:#ccffcc\n    style E fill:#99ff99\n","mermaid",[70,311,312,320,326,332,338,344,350,357,363,368,374,380,386,392],{"__ignoreMap":72},[313,314,317],"span",{"class":315,"line":316},"line",1,[313,318,319],{},"graph LR\n",[313,321,323],{"class":315,"line":322},2,[313,324,325],{},"    A[\"n \u003C 30\u003Cbr/>\u003Cstrong>Very Low\u003C/strong>\u003Cbr/>Could be luck\u003Cbr/>⚠️ Filtered Out\"]\n",[313,327,329],{"class":315,"line":328},3,[313,330,331],{},"    B[\"n = 30-50\u003Cbr/>\u003Cstrong>Low-Moderate\u003C/strong>\u003Cbr/>Emerging pattern\u003Cbr/>Use with caution\"]\n",[313,333,335],{"class":315,"line":334},4,[313,336,337],{},"    C[\"n = 50-100\u003Cbr/>\u003Cstrong>Moderate\u003C/strong>\u003Cbr/>Decent evidence\u003Cbr/>Good for confirmation\"]\n",[313,339,341],{"class":315,"line":340},5,[313,342,343],{},"    D[\"n = 100-200\u003Cbr/>\u003Cstrong>High\u003C/strong>\u003Cbr/>Strong evidence\u003Cbr/>Reliable patterns\"]\n",[313,345,347],{"class":315,"line":346},6,[313,348,349],{},"    E[\"n ≥ 200\u003Cbr/>\u003Cstrong>Very High\u003C/strong>\u003Cbr/>Robust pattern\u003Cbr/>✅ Battle-tested\"]\n",[313,351,353],{"class":315,"line":352},7,[313,354,356],{"emptyLinePlaceholder":355},true,"\n",[313,358,360],{"class":315,"line":359},8,[313,361,362],{},"    A -->|More tests| B -->|More tests| C -->|More tests| D -->|More tests| E\n",[313,364,366],{"class":315,"line":365},9,[313,367,356],{"emptyLinePlaceholder":355},[313,369,371],{"class":315,"line":370},10,[313,372,373],{},"    style A fill:#ffcccc\n",[313,375,377],{"class":315,"line":376},11,[313,378,379],{},"    style B fill:#ffe6cc\n",[313,381,383],{"class":315,"line":382},12,[313,384,385],{},"    style C fill:#ffffcc\n",[313,387,389],{"class":315,"line":388},13,[313,390,391],{},"    style D fill:#ccffcc\n",[313,393,395],{"class":315,"line":394},14,[313,396,397],{},"    style E fill:#99ff99\n",[18,399,400],{},"Think of it like building a legal case: 3 witnesses might be coincidence, but 200 witnesses telling the same story? That's proof.",[26,402,404],{"id":403},"sample-size-and-correlation-strength-together","Sample Size and Correlation Strength Together",[18,406,407],{},"Sample size and correlation strength (r-value) work together to determine pattern quality:",[87,409,411],{"id":410},"scenario-1-strong-correlation-small-sample","Scenario 1: Strong Correlation, Small Sample",[63,413,416],{"className":414,"code":415,"language":68},[66],"r = 0.85, n = 25\n",[70,417,415],{"__ignoreMap":72},[18,419,420],{},[21,421,422],{},"Interpretation:",[100,424,425,428,431,437],{},[103,426,427],{},"Very strong correlation... but",[103,429,430],{},"Small sample - could be lucky",[103,432,433,436],{},[21,434,435],{},"Risk:"," Pattern might not hold up with more data",[103,438,439,442],{},[21,440,441],{},"Action:"," Use caution, require additional confirmation",[87,444,446],{"id":445},"scenario-2-moderate-correlation-large-sample","Scenario 2: Moderate Correlation, Large Sample",[63,448,451],{"className":449,"code":450,"language":68},[66],"r = 0.52, n = 250\n",[70,452,450],{"__ignoreMap":72},[18,454,455],{},[21,456,422],{},[100,458,459,462,465,470],{},[103,460,461],{},"Moderate correlation",[103,463,464],{},"Large sample - highly confident it's real",[103,466,467,469],{},[21,468,435],{}," Returns will be modest and variable",[103,471,472,474],{},[21,473,441],{}," Reliable but not explosive - good for consistent gains",[87,476,478],{"id":477},"scenario-3-strong-correlation-large-sample","Scenario 3: Strong Correlation, Large Sample",[63,480,483],{"className":481,"code":482,"language":68},[66],"r = 0.74, n = 180\n",[70,484,482],{"__ignoreMap":72},[18,486,487],{},[21,488,422],{},[100,490,491,494,497,502],{},[103,492,493],{},"Strong correlation",[103,495,496],{},"Large sample - very confident it's real",[103,498,499,501],{},[21,500,435],{}," Lower risk of the pattern being luck",[103,503,504,506],{},[21,505,441],{}," High-quality setup - prioritize these",[87,508,510],{"id":509},"scenario-4-weak-correlation-any-sample","Scenario 4: Weak Correlation, Any Sample",[63,512,515],{"className":513,"code":514,"language":68},[66],"r = 0.22, n = 500\n",[70,516,514],{"__ignoreMap":72},[18,518,519],{},[21,520,422],{},[100,522,523,526,529,534],{},[103,524,525],{},"Weak correlation even with massive sample",[103,527,528],{},"Pattern exists but barely",[103,530,531,533],{},[21,532,435],{}," Not worth trading",[103,535,536,538],{},[21,537,441],{}," Filter out - we don't show these (r \u003C 0.3)",[87,540,542],{"id":541},"quick-reference-pattern-quality-scenarios","Quick Reference: Pattern Quality Scenarios",[210,544,545,567],{},[213,546,547],{},[216,548,549,552,555,558,561,564],{},[219,550,551],{},"Scenario",[219,553,554],{},"r-value",[219,556,557],{},"Sample (n)",[219,559,560],{},"Verdict",[219,562,563],{},"Action",[219,565,566],{},"Risk Level",[229,568,569,591,614,637],{},[216,570,571,577,580,583,586,589],{},[234,572,573,574],{},"🚩 ",[21,575,576],{},"Lucky Streak",[234,578,579],{},"0.85",[234,581,582],{},"25",[234,584,585],{},"Possibly luck",[234,587,588],{},"⚠️ Use extreme caution - require multiple confirmations",[234,590,272],{},[216,592,593,599,602,605,608,611],{},[234,594,595,596],{},"✅ ",[21,597,598],{},"Reliable Moderate",[234,600,601],{},"0.52",[234,603,604],{},"250",[234,606,607],{},"Real but modest",[234,609,610],{},"Trade with confidence - expect consistent, moderate returns",[234,612,613],{},"Low-Medium",[216,615,616,622,625,628,631,634],{},[234,617,618,619],{},"🌟 ",[21,620,621],{},"Elite Setup",[234,623,624],{},"0.74",[234,626,627],{},"180",[234,629,630],{},"Highly confident",[234,632,633],{},"Prioritize these - strongest patterns in the system",[234,635,636],{},"Low",[216,638,639,645,648,651,654,657],{},[234,640,641,642],{},"❌ ",[21,643,644],{},"Weak Pattern",[234,646,647],{},"0.22",[234,649,650],{},"500",[234,652,653],{},"Not actionable",[234,655,656],{},"Filter out - not worth trading even with large sample",[234,658,659],{},"N/A",[18,661,662,665],{},[21,663,664],{},"Key insight:"," A moderate correlation with a large sample (Scenario 2) is often more reliable than a strong correlation with a small sample (Scenario 1). Sample size trumps correlation strength when assessing reliability.",[26,667,669],{"id":668},"how-we-use-sample-size-standards","How We Use Sample Size Standards",[87,671,673],{"id":672},"minimum-threshold-n-30","Minimum Threshold (n ≥ 30)",[18,675,676],{},"We won't show you a pattern unless we've tested it at least 30 times. This filters out:",[100,678,679,682,685],{},[103,680,681],{},"Lucky streaks",[103,683,684],{},"Rare events that might not repeat",[103,686,687],{},"Overfitted patterns from data mining",[18,689,690,693],{},[21,691,692],{},"Why 30?"," It's the statistical minimum for the \"Law of Large Numbers\" to start working. Below 30, randomness dominates.",[87,695,697],{"id":696},"preferred-range-n-100","Preferred Range (n ≥ 100)",[18,699,700],{},"For high-conviction trades, look for n ≥ 100. At this sample size:",[100,702,703,706,709,712],{},[103,704,705],{},"Randomness is largely eliminated",[103,707,708],{},"Pattern has been tested across multiple market conditions",[103,710,711],{},"Statistical significance is much stronger",[103,713,714],{},"Pattern likely works in different sectors and time periods",[87,716,718],{"id":717},"elite-patterns-n-200","Elite Patterns (n ≥ 200)",[18,720,721],{},"When you see n ≥ 200, you're looking at battle-tested patterns that have:",[100,723,724,727,730,733],{},[103,725,726],{},"Survived bull markets and bear markets",[103,728,729],{},"Worked across many different stocks",[103,731,732],{},"Held up over many years",[103,734,735],{},"Very low chance of being luck",[26,737,739],{"id":738},"sample-size-and-time-periods","Sample Size and Time Periods",[18,741,742],{},"Sample size also reflects how much historical time we've covered:",[87,744,746],{"id":745},"example-analysis","Example Analysis",[18,748,749,751,752,755,756,759],{},[21,750,145],{}," Insider buying before earnings\n",[21,753,754],{},"Sample size:"," n=150\n",[21,757,758],{},"Time period:"," 2015-2024 (10 years)",[18,761,762],{},[21,763,764],{},"What this means:",[100,766,767,770,773],{},[103,768,769],{},"We found 150 instances of this pattern over 10 years",[103,771,772],{},"That's ~15 instances per year",[103,774,775,776],{},"Pattern has worked in different market cycles:\n",[100,777,778,781,784,787],{},[103,779,780],{},"2015-2019: Bull market",[103,782,783],{},"2020: COVID crash and recovery",[103,785,786],{},"2021-2022: Volatility and bear market",[103,788,789],{},"2023-2024: Recovery",[18,791,792,794],{},[21,793,167],{}," Pattern survived multiple regimes. More robust than a pattern that only worked in one type of market.",[26,796,798],{"id":797},"when-small-samples-are-ok","When Small Samples Are OK",[18,800,801],{},"There are a few exceptions where smaller samples (n=30-50) might still be valuable:",[87,803,805],{"id":804},"_1-sector-specific-patterns","1. Sector-Specific Patterns",[18,807,808],{},"In niche industries (biotech, crypto, etc.), events are rarer. A pattern with n=40 in biotech might be well-tested if that industry only has ~50 companies.",[18,810,811,814],{},[21,812,813],{},"How to verify:"," Check if n represents a significant % of available opportunities in that sector.",[87,816,818],{"id":817},"_2-recent-regime-changes","2. Recent Regime Changes",[18,820,821],{},"If market structure changed recently (new regulations, algorithm trading dominance), older data might not apply. A pattern with n=50 from recent years might be more relevant than n=200 spanning 20 years.",[18,823,824,826],{},[21,825,813],{}," Check the time period tested. Recent patterns (2020-2024) might be more applicable than patterns from 2000-2020.",[87,828,830],{"id":829},"_3-very-strong-correlations","3. Very Strong Correlations",[18,832,833],{},"Sometimes the relationship is so strong (r ≥ 0.85) that even n=40 provides confidence.",[18,835,836,838],{},[21,837,813],{}," Check if r-value is exceptional (≥0.80) AND p-value is very low (p \u003C 0.001).",[18,840,841],{},[21,842,843],{},"Still prefer larger samples when possible.",[26,845,847],{"id":846},"statistical-significance-and-sample-size","Statistical Significance and Sample Size",[18,849,850],{},"Sample size directly affects statistical significance (p-value):",[87,852,854],{"id":853},"same-correlation-different-samples","Same Correlation, Different Samples",[18,856,857],{},[21,858,859],{},"Pattern A:",[63,861,864],{"className":862,"code":863,"language":68},[66],"r = 0.50, n = 30, p = 0.08 (not significant)\n",[70,865,863],{"__ignoreMap":72},[18,867,868],{},[21,869,870],{},"Pattern B:",[63,872,875],{"className":873,"code":874,"language":68},[66],"r = 0.50, n = 200, p \u003C 0.001 (highly significant)\n",[70,876,874],{"__ignoreMap":72},[18,878,879,882],{},[21,880,881],{},"Same correlation strength",", but Pattern B has a much larger sample, making it statistically significant.",[18,884,885,888],{},[21,886,887],{},"Why?"," With n=30, r=0.50 could happen by luck. With n=200, r=0.50 is almost certainly real.",[18,890,891,892],{},"Learn more: ",[893,894,896],"a",{"href":895},"/docs/advanced/statistical-significance","Statistical Significance",[26,898,900],{"id":899},"practical-application-evaluating-sample-size","Practical Application: Evaluating Sample Size",[87,902,904],{"id":903},"step-1-check-minimum-threshold","Step 1: Check Minimum Threshold",[18,906,907],{},"Before anything else, verify n ≥ 30. If it's below 30, the pattern didn't pass our filters (you won't see it).",[87,909,911],{"id":910},"step-2-categorize-confidence","Step 2: Categorize Confidence",[18,913,914],{},"Use our confidence levels:",[100,916,917,920,923,926],{},[103,918,919],{},"n \u003C 50: Low confidence (use with caution)",[103,921,922],{},"n = 50-100: Moderate confidence (good for confirmation)",[103,924,925],{},"n = 100-200: High confidence (reliable patterns)",[103,927,928],{},"n ≥ 200: Very high confidence (elite patterns)",[87,930,932],{"id":931},"step-3-combine-with-r-value","Step 3: Combine with R-Value",[18,934,935],{},"Evaluate quality using both metrics:",[18,937,938,941,942,945,946,949],{},[21,939,940],{},"High Quality:"," r ≥ 0.6 AND n ≥ 100\n",[21,943,944],{},"Moderate Quality:"," r ≥ 0.5 AND n ≥ 50\n",[21,947,948],{},"Use Caution:"," r \u003C 0.5 OR n \u003C 50",[87,951,953],{"id":952},"step-4-check-time-period","Step 4: Check Time Period",[18,955,956],{},"If available, verify the pattern was tested across multiple years and market conditions.",[18,958,959,962,963,966],{},[21,960,961],{},"Prefer:"," Patterns tested 2015-2024 (10 years, multiple regimes)\n",[21,964,965],{},"Caution:"," Patterns tested only 2020-2021 (might be COVID-specific)",[26,968,970],{"id":969},"real-example-comparing-two-opportunities","Real Example: Comparing Two Opportunities",[87,972,974],{"id":973},"opportunity-a-high-score-small-sample","Opportunity A: High Score, Small Sample",[18,976,977],{},[21,978,979],{},"Top Driver:",[63,981,984],{"className":982,"code":983,"language":68},[66],"insider_cluster_buying → forward_return_20d\nr = 0.82, n = 38, contribution = 45%\n",[70,985,983],{"__ignoreMap":72},[18,987,988],{},[21,989,990],{},"Analysis:",[100,992,993,996,999,1002],{},[103,994,995],{},"Strong correlation (0.82)",[103,997,998],{},"Small sample (38) - could be sector-specific or lucky",[103,1000,1001],{},"High contribution (45%) - dominates the score",[103,1003,1004,1006],{},[21,1005,435],{}," Pattern not well-tested, might be overfitted",[18,1008,1009,1012],{},[21,1010,1011],{},"Decision:"," Proceed with caution. Require additional confirming signals before trading.",[87,1014,1016],{"id":1015},"opportunity-b-moderate-score-large-sample","Opportunity B: Moderate Score, Large Sample",[18,1018,1019],{},[21,1020,979],{},[63,1022,1025],{"className":1023,"code":1024,"language":68},[66],"insider_buying_consistent → forward_return_30d\nr = 0.58, n = 187, contribution = 28%\n",[70,1026,1024],{"__ignoreMap":72},[18,1028,1029],{},[21,1030,990],{},[100,1032,1033,1036,1039,1042],{},[103,1034,1035],{},"Moderate correlation (0.58)",[103,1037,1038],{},"Large sample (187) - well-tested and robust",[103,1040,1041],{},"Moderate contribution (28%)",[103,1043,1044,1046],{},[21,1045,435],{}," Lower expected returns, but higher reliability",[18,1048,1049,1051],{},[21,1050,1011],{}," More consistent pattern. Better for risk-averse traders.",[87,1053,1055],{"id":1054},"which-is-better","Which is Better?",[18,1057,1058],{},[21,1059,1060],{},"It depends on your strategy:",[18,1062,1063,1066,1067,1070],{},[21,1064,1065],{},"Aggressive traders:"," Might prefer Opportunity A (higher potential, higher risk)\n",[21,1068,1069],{},"Conservative traders:"," Might prefer Opportunity B (lower potential, lower risk)",[18,1072,1073,1076],{},[21,1074,1075],{},"Best practice:"," Diversify - take some of each if both pass your other criteria.",[26,1078,1080],{"id":1079},"common-questions","Common Questions",[18,1082,1083],{},[21,1084,1085],{},"Q: Is n=100 always better than n=50?",[18,1087,1088],{},"A: Generally yes, but context matters. n=50 from the last 2 years might be more relevant than n=100 spanning 20 years if market structure changed recently.",[18,1090,1091],{},[21,1092,1093],{},"Q: Can sample size be too large?",[18,1095,1096],{},"A: Rarely a problem, but if n=1000+ spans 30+ years, some of that data might be outdated. Prefer recent, regime-appropriate samples over ancient data.",[18,1098,1099],{},[21,1100,1101],{},"Q: Why don't you show patterns with n \u003C 30?",[18,1103,1104],{},"A: Because they're unreliable. We tested thousands of patterns with n=10-30 and found they don't hold up when tested on fresh data. Setting n ≥ 30 eliminates most false positives.",[18,1106,1107],{},[21,1108,1109],{},"Q: How can I see the sample size for a driver?",[18,1111,1112],{},"A: Click into the opportunity's detail panel. Each driver shows: r-value, sample size (n), and contribution percentage.",[18,1114,1115],{},[21,1116,1117],{},"Q: Does sample size affect the opportunity score?",[18,1119,1120],{},"A: Yes, indirectly. Patterns with larger samples tend to have more stable correlations, which increases their contribution to the overall score. We also weight high-sample patterns more heavily in our algorithms.",[26,1122,1124],{"id":1123},"next-steps","Next Steps",[18,1126,1127,1128,1130],{},"Ready to understand the statistical tests we use to validate patterns? Learn about ",[893,1129,896],{"href":895}," and how p-values work.",[18,1132,1133,1134,49],{},"Want to see how we prevent false discoveries? Check out ",[893,1135,1137],{"href":1136},"/docs/advanced/multiple-testing-correction","Multiple Testing Correction",[1139,1140,1141],"style",{},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":72,"searchDepth":322,"depth":322,"links":1143},[1144,1145,1146,1150,1153,1160,1165,1168,1173,1176,1182,1187,1188],{"id":28,"depth":322,"text":29},{"id":52,"depth":322,"text":53},{"id":84,"depth":322,"text":85,"children":1147},[1148,1149],{"id":89,"depth":328,"text":90},{"id":139,"depth":328,"text":140},{"id":204,"depth":322,"text":205,"children":1151},[1152],{"id":300,"depth":328,"text":301},{"id":403,"depth":322,"text":404,"children":1154},[1155,1156,1157,1158,1159],{"id":410,"depth":328,"text":411},{"id":445,"depth":328,"text":446},{"id":477,"depth":328,"text":478},{"id":509,"depth":328,"text":510},{"id":541,"depth":328,"text":542},{"id":668,"depth":322,"text":669,"children":1161},[1162,1163,1164],{"id":672,"depth":328,"text":673},{"id":696,"depth":328,"text":697},{"id":717,"depth":328,"text":718},{"id":738,"depth":322,"text":739,"children":1166},[1167],{"id":745,"depth":328,"text":746},{"id":797,"depth":322,"text":798,"children":1169},[1170,1171,1172],{"id":804,"depth":328,"text":805},{"id":817,"depth":328,"text":818},{"id":829,"depth":328,"text":830},{"id":846,"depth":322,"text":847,"children":1174},[1175],{"id":853,"depth":328,"text":854},{"id":899,"depth":322,"text":900,"children":1177},[1178,1179,1180,1181],{"id":903,"depth":328,"text":904},{"id":910,"depth":328,"text":911},{"id":931,"depth":328,"text":932},{"id":952,"depth":328,"text":953},{"id":969,"depth":322,"text":970,"children":1183},[1184,1185,1186],{"id":973,"depth":328,"text":974},{"id":1015,"depth":328,"text":1016},{"id":1054,"depth":328,"text":1055},{"id":1079,"depth":322,"text":1080},{"id":1123,"depth":322,"text":1124},"analytics","Learn why the number of historical tests (n) is just as important as correlation strength for evaluating pattern reliability","md","intermediate",{},"advanced/statistical-significance","/docs/analytics/sample-size-importance",[1197,1198,1194],"analytics/correlation-strength","analytics/understanding-drivers",{"title":5,"description":1190},"docs/analytics/sample-size-importance",[1202,1203,1204,1189],"sample-size","statistics","reliability","gT79wMEdawjXlYDbqzxFWLEIuX6YJ2zxo6jMwwrxGYw",1785844391798]