Why Random Sampling Matters in Data Analysis: A Polymarket Case Study
Learn how random sampling, sample size, and representative samples work through 15 seeded samples of 383,707 historical Polymarket markets.
One $216.46 million prediction market changed the apparent average of a 1,000-market random sample by more than the entire population mean.
The sample was not broken. It was doing exactly what a valid random sample can do when the population is dominated by a few extreme observations.
To see how sample size changes what researchers observe, we used Lychee to draw 15 reproducible random samples from 383,707 closed markets in the Polymarket Historical archive. We drew five samples each at 100, 1,000, and 10,000 markets, then compared every sample mean with the known population mean.
The experiment became more than a demonstration of a new research tool. It showed why random sampling matters, why a random sample is not automatically representative, and why the shape of a dataset can matter as much as the number of rows in it.
The short version
-
Every eligible market had the same chance of selection, and sampling was performed without replacement.
-
Each draw used a fixed seed, so the same sample can be reproduced.
-
Typical error declined with sample size: median absolute mean error fell from 39.91% at 100 markets to 32.44% at 1,000 and 18.86% at 10,000.
-
The path was not smooth. One 1,000-market sample overestimated average volume by 252.93% after capturing a rare, exceptionally high-volume market.
-
The population was extremely right-skewed. Just 1.38% of markets generated 70.15% of all historical volume.
-
Random describes the selection process. Representative describes how well the selected sample reflects the population for a particular question.
Median absolute error across five seeded samples at each size. The statistic summarizes the typical run without allowing the single 252.93% miss to dominate the comparison.
What is random sampling?
Random sampling is a method for selecting observations from a defined population using a random process. In a simple random sample, every eligible observation has the same probability of being selected, and every possible fixed-size sample has the same chance of being drawn.
Suppose a dataset contains N eligible rows and a researcher selects n distinct rows. Under simple random sampling without replacement, the inclusion probability for any individual row is:
P(row is included) = n / N
In this experiment, N was 383,707:
| Sample size | Share of population | Inclusion probability for each market |
|---|---|---|
| 100 | 0.0261% | 0.0261% |
| 1,000 | 0.2606% | 0.2606% |
| 10,000 | 2.6062% | 2.6062% |
The samples were drawn without replacement, meaning a market could appear only once inside a given sample. This is the common design for selecting distinct rows from a dataset. Statistics Canada explains the distinction between simple random sampling with and without replacement, as well as other probability-sampling designs.
Why use a seed?
A random seed makes a draw reproducible. The seed initializes the random selection process, so the same eligible population, sample size, and seed return the same rows.
That matters for analysis because a reader, collaborator, or future version of you can inspect the exact sample behind a result. Reproducibility does not make the sample more accurate; it makes the evidence auditable.
Random sampling methods
Simple random sampling is only one probability-sampling method. The right design depends on what the research question needs to preserve.
| Method | How it works | When it is useful |
|---|---|---|
| Simple random sampling | Selects rows with equal probability | General exploration and population estimates |
| Stratified sampling | Divides the population into groups, then samples within each group | Ensuring important subgroups are represented |
| Cluster sampling | Randomly selects groups, then studies rows inside those groups | Populations naturally organized into costly-to-reach groups |
| Systematic sampling | Selects every kth row after a random start | Efficient selection from an ordered frame without harmful periodicity |
| Weighted sampling | Gives some rows different selection probabilities | Oversampling rare or strategically important observations |
Stratified sampling would have guaranteed that our samples contained markets from each volume band. That would be valuable for comparing small and large markets, but it would answer a different question from an unrestricted simple random sample. If strata were sampled at different rates, population estimates would also need appropriate weights.
Why random sampling matters in data analysis
Random sampling is useful for three main reasons.
First, it reduces the selection bias introduced when a researcher manually chooses convenient, familiar, or visually interesting rows.
Second, it makes very large datasets easier and faster to explore. A sample can support prototyping, validation, chart design, and early investigation before a full-population query is necessary.
Third, it creates a probability framework for reasoning about uncertainty. Because the sample is selected by a known process, differences between samples can be understood as sampling variation rather than hidden researcher choice.
Random sampling does not repair a poorly defined population, missing records, faulty measurements, or an inappropriate statistic. It also does not guarantee that one particular draw will resemble the population closely.
That last limitation is the center of this case study.
The Polymarket random sampling experiment
We used Lychee's historical Polymarket data because it offers both a large population and an unusually demanding distribution.
Historical sampling answers a different question from real-time monitoring. If your goal is to follow active prices rather than study an archive, see the guides to Polymarket odds over time and Polymarket live prices.
Research scope
- Analysis run: August 30, 2026
- Dataset coverage: Polymarket launch through December 2025
- Eligible population: Closed markets with non-null volume
- Unit of analysis: One market
- Sampling design: Simple random sampling without replacement
- Repetitions: Five fixed-seed draws at each sample size
- Sample sizes: 100, 1,000, and 10,000 markets
- Primary estimate: Mean lifetime market volume
- Benchmark: The mean of the full eligible population
Explore Polymarket Historical Data Without Writing Code
Choose a historical table, apply filters, select the fields you need, and preview real rows. Start with one market or build a multi-market query, then continue in the full workspace when you are ready to join, transform, chart, backtest, or export. Public demo preview · up to 10 rows per query.
Full population summary
| Statistic | Population value |
|---|---|
| Markets | 383,707 |
| Total volume | $46,511,612,988.41 |
| Mean volume | $121,216.48 |
| Median volume | $3,299.94 |
| Standard deviation | $3,619,084.45 |
| Minimum | $0.00 |
| Maximum | $1,531,479,284.50 |
The mean was 36.7 times the median. The largest market was more than 12,600 times the mean. Those two comparisons immediately warn that volume is not distributed symmetrically.
The distribution has a long right tail: most markets are relatively small, while a tiny number are enormous. NIST notes that extreme values can distort the mean and standard deviation in skewed distributions. That is exactly what made this population such a useful stress test for random sampling.
Polymarket volume is concentrated in very few markets
Dividing the population into lifetime-volume bands shows how little the typical market resembles the average market.
| Lifetime-volume band | Markets | Market share | Total volume | Volume share |
|---|---|---|---|---|
| $0 | 70,300 | 18.32% | $0.00 | 0.00% |
| More than $0, under $10K | 174,437 | 45.46% | $421,822,607.79 | 0.91% |
| $10K to under $100K | 98,815 | 25.75% | $3,499,347,844.43 | 7.52% |
| $100K to under $1M | 34,877 | 9.09% | $9,961,081,700.62 | 21.42% |
| $1M to under $10M | 4,789 | 1.248% | $12,294,737,804.45 | 26.43% |
| $10M to under $100M | 453 | 0.1181% | $12,325,605,424.77 | 26.50% |
| $100M or more | 36 | 0.0094% | $8,009,017,606.35 | 17.22% |
Two comparisons make the imbalance concrete:
-
244,737 markets, or 63.78% of the population, recorded less than $10,000 in volume or no volume at all. Together, they generated only 0.91% of total volume.
-
5,278 markets with at least $1 million in volume represented just 1.38% of the population but generated 70.15% of all volume.
The grouped bars compare each volume band's share of markets with its share of total volume. The reversal from the low-volume bands to the high-volume tail is the central structural fact behind the sampling results.
The ten highest-volume Polymarket markets
The concentration is visible even at the very top. The ten largest closed markets in the archive generated $4.77 billion, equal to 10.26% of total historical volume.
| Rank | Market | Volume | Share of all volume |
|---|---|---|---|
| 1 | Will Donald Trump win the 2024 US Presidential Election? | $1,531,479,284.50 | 3.29% |
| 2 | Will Kamala Harris win the 2024 US Presidential Election? | $1,037,039,118.19 | 2.23% |
| 3 | Will Donald Trump be inaugurated? | $400,409,526.89 | 0.86% |
| 4 | Will the Sacramento Kings win the 2025 NBA Finals? | $378,011,506.51 | 0.81% |
| 5 | Will Nicolae Ciucă win the 2024 Romanian Presidential election? | $326,507,670.56 | 0.70% |
| 6 | Will Zelenskyy wear a suit before July? | $242,231,180.27 | 0.52% |
| 7 | Will any other Republican Politician win the 2024 US Presidential Election? | $241,655,099.85 | 0.52% |
| 8 | Fed decreases interest rates by 50+ bps after January 2026 meeting? | $235,065,166.64 | 0.51% |
| 9 | Fed increases interest rates by 25+ bps after January 2026 meeting? | $216,455,743.15 | 0.47% |
| 10 | Kamala Harris wins the popular vote? | $163,779,786.65 | 0.35% |
The two presidential-winner markets alone represented 5.52% of all historical volume and 53.82% of the top ten's volume.
Rectangle area represents each market's share of volume among the ten highest-volume markets. The treemap makes the dominance of the first two markets visible without flattening the rest of the ranking into equal categories.
How sample size changed the estimate
For each sample, we calculated the sample mean and its signed percentage error relative to the known population mean of $121,216.48:
Signed mean error (%) = ((sample mean - population mean) / population mean) × 100
A negative value is an underestimate. A positive value is an overestimate. Absolute error ignores direction and measures distance from the benchmark.
Summary across the five seeded draws
| Sample size | Range of sample means | Average signed error | Average absolute error | Median absolute error |
|---|---|---|---|---|
| 100 | $36,275.91 to $169,594.79 | -28.31% | 44.28% | 39.91% |
| 1,000 | $60,144.95 to $427,814.31 | +37.19% | 76.97% | 32.44% |
| 10,000 | $98,237.45 to $164,351.15 | +1.36% | 19.10% | 18.86% |
The average absolute error at 1,000 markets looks worse than at 100 because one extreme draw dominates the average. The median absolute error tells the more typical story: it declined at every sample size.
This is itself an important statistical lesson. The metric used to summarize sampling error can be affected by the same heavy-tail problem as the data being sampled.
All 15 reproducible results
| Sample size | Run | Sample mean | Signed mean error |
|---|---|---|---|
| 100 | 1 | $36,275.91 | -70.07% |
| 100 | 2 | $74,894.23 | -38.21% |
| 100 | 3 | $72,370.29 | -40.30% |
| 100 | 4 | $81,335.42 | -32.90% |
| 100 | 5 | $169,594.79 | +39.91% |
| 1,000 | 1 | $85,017.35 | -29.86% |
| 1,000 | 2 | $427,814.31 | +252.93% |
| 1,000 | 3 | $97,938.62 | -19.20% |
| 1,000 | 4 | $60,144.95 | -50.38% |
| 1,000 | 5 | $160,544.92 | +32.44% |
| 10,000 | 1 | $164,351.15 | +35.58% |
| 10,000 | 2 | $98,237.45 | -18.96% |
| 10,000 | 3 | $140,093.25 | +15.57% |
| 10,000 | 4 | $113,313.43 | -6.52% |
| 10,000 | 5 | $98,359.32 | -18.86% |
Four of the five 10,000-market samples landed within 25% of the population mean. None of the 100-market samples did. Yet the best individual result in the experiment was a 10,000-market underestimate of only 6.52%, not a perfect match.
Each point is one fixed-seed sample. The zero line represents the population mean; points above it overestimate average volume and points below it underestimate average volume.
Why the 1,000-market sample produced a 252.93% error
The most dramatic draw had a mean of $427,814.31—more than three and a half times the population mean.
That sample included the market “Fed increases interest rates by 25+ bps after January 2026 meeting?”, which had $216,455,743.15 in volume.
Inside a 1,000-row sample, that single row contributed roughly $216,456 to the sample mean:
$216,455,743 / 1,000 ≈ $216,456
The contribution from that one market was already greater than the full population mean of $121,216.48. The other 999 markets then raised the final estimate further.
This is the leverage of an extreme observation. A large sample usually reduces sampling variability, but a rare observation can still produce a large miss when the distribution is heavy-tailed.
At 10,000 rows, the same $216.46 million market would contribute about $21,646 to the mean. It would still matter, but it would have one-tenth as much leverage as it had in the 1,000-row sample.
How likely is a random sample to capture a whale market?
Only 36 of the 383,707 eligible markets had at least $100 million in volume.
For sampling without replacement, the exact probability of selecting at least one of those 36 markets is:
P(at least one whale) = 1 - C(N - K, n) / C(N, n)
Here, N is the total population, K is the number of whale markets, n is the sample size, and C(a, b) is the number of ways to choose b items from a.
| Sample size | Probability of at least one $100M+ market |
|---|---|
| 100 | 0.934% |
| 1,000 | 8.967% |
| 10,000 | 61.353% |
The probabilities are calculated exactly without replacement from 383,707 eligible markets and 36 markets with at least $100 million in volume.
Larger samples better cover the population, but they are also more likely to encounter the rare markets that dominate its total volume. Those forces are not contradictory. They are part of the same sampling process.
Random sample vs representative sample
These terms describe different things.
| Term | What it describes | Central question |
|---|---|---|
| Random sample | The method used to select observations | Did each eligible row receive the intended selection probability? |
| Representative sample | The relationship between the sample and population | Does the sample reflect the characteristics relevant to this analysis? |
A sample can be random but not look representative because of ordinary sampling variation. This is especially common with small samples, rare subgroups, and heavy-tailed variables.
A sample can also look representative on one dimension and fail on another. A set of markets might match the population's topic mix while missing its high-volume tail. Representativeness is therefore not a permanent label attached to a dataset; it is a judgment tied to a variable and research purpose.
Random selection provides a defensible design. Sample size and sampling strategy affect how often that design produces estimates close to the target.
Mean, median, and the meaning of “typical”
The population mean was $121,216.48, while the median was only $3,299.94.
Neither statistic is wrong. They answer different questions:
-
The mean describes volume per market after total volume is shared equally across every market. It is essential for totals, expected contributions, and analyses in which every dollar matters.
-
The median describes the middle market after all markets are ordered by volume. It is more informative when the question is what a typical market looks like.
When the maximum exceeds $1.53 billion and the mean is 36.7 times the median, reporting only “average volume” hides the structure of the population. A strong analysis should show both measures and disclose the tail.
How to choose a sample size
There is no universal sample size that makes every random sample representative.
The right choice depends on:
- the statistic being estimated;
- the variability and shape of the population;
- how rare the observations of interest are;
- the precision required;
- whether subgroup estimates are needed;
- the sampling design; and
- the cost of processing more data.
If the target is a rare category, begin with its prevalence rather than a generic sample-size rule. If the target is a heavy-tailed mean, simulate or repeat samples and inspect the sampling distribution. If every exact dollar matters and the full dataset is available, calculate the population total instead of estimating it from a sample.
When simple random sampling is not enough
| Research goal | Better approach |
|---|---|
| Calculate exact historical volume | Use the full eligible population |
| Study the largest markets | Filter the high-volume tail directly |
| Guarantee coverage across volume bands | Stratify by volume band |
| Analyze a rare market category | Oversample that category and apply appropriate weights |
| Compare time periods | Stratify or sample within each period |
| Compare Polymarket with Kalshi | Define comparable eligible populations on both platforms |
For cross-platform work, start with the Polymarket Historical and Kalshi Historical archives, then make sure the unit of analysis and filters mean the same thing before comparing samples.
How to select a reproducible random sample in Lychee
Lychee places random sampling inside the same no-code workflow used for filtering, aggregation, data sheets, charts, and published dashboards.
1. Open a historical dataset
Open Polymarket Historical or Kalshi Historical, then select the table you want to study.
2. Define the eligible population
Apply the filters that determine which rows can enter the sample. For this experiment, the eligible population was closed Polymarket markets with non-null volume.
The order matters: filters define the population, and random sampling selects from that population.
3. Enable Random Sample
Open the Research Tools section under Refine Query, enable Random Sample, and enter the number of rows.
4. Set a seed
Add a seed when you need the result to be reproducible. Reusing the same seed with the same eligible population and sample size recreates the same draw.
5. Run and analyze the sample
Calculate the count, mean, median, total, standard deviation, minimum, and maximum. Then create a chart, save the sheet, export the data, or assemble the evidence in a dashboard.
Random sampling is currently designed for Lychee's historical-data workflows and selects distinct rows without replacement. The practical advantage is that sample selection, descriptive statistics, visualization, and publication happen in one research environment.
What this experiment does and does not prove
This case study is deliberately transparent, but its scope matters.
-
There were five samples at each size. Fifteen runs are enough to demonstrate variability, not to map the complete sampling distribution.
-
The samples were seeded. The reported rows and statistics are reproducible, but a different seed can produce a different valid result.
-
The analysis focused on market volume. Prices, outcomes, categories, duration, traders, and trades can have different distributions.
-
Polymarket volume is unusually skewed. The observed error rates are not universal rules for other datasets.
-
The archive has a fixed scope. This analysis used closed markets with non-null volume from launch through December 2025 and was run on August 30, 2026.
-
A market is not a dollar or a trade. Sampling market rows equally answers a different question from sampling trades, traders, dollars, or time periods.
-
The population benchmark was known. In many real studies, the true population mean is unavailable, so uncertainty must be estimated rather than measured directly.
The defensible conclusion is not that 10,000 rows are always enough. It is that larger samples produced lower typical error in these reproducible draws, while the heavy tail continued to matter.
Frequently asked questions about random sampling
What is simple random sampling?
Simple random sampling is a probability-sampling method in which every unit in the eligible population has the same chance of selection and every possible fixed-size sample has the same probability of being chosen.
What is a simple random sampling example?
This Polymarket analysis is a simple random sampling example: we defined a population of 383,707 eligible markets and selected distinct groups of 100, 1,000, and 10,000 markets with equal inclusion probabilities.
Is random sampling the same as simple random sampling?
Not always. Simple random sampling is one type of random sampling. Stratified, cluster, systematic, and weighted probability designs also use randomness but structure the selection process differently.
What is the difference between a random sample and a representative sample?
A random sample is defined by how observations were selected. A representative sample is judged by how closely it reflects population characteristics relevant to the research question. A correctly selected random sample can be unrepresentative by chance.
What is the difference between random sampling and random assignment?
Random sampling selects observations from a population. Random assignment places already-selected participants or units into experimental groups. The first supports population inference; the second helps isolate treatment effects.
What does sampling without replacement mean?
It means a selected observation cannot be selected again in the same sample. Each market in a Lychee random sample is therefore distinct.
Does random sampling eliminate bias?
No. It reduces bias from subjective row selection, but it cannot fix incomplete coverage, bad measurements, inappropriate filters, nonresponse, or a poorly defined target population.
Does a larger sample always produce a more accurate result?
No individual larger sample is guaranteed to beat every smaller sample. Larger samples generally reduce expected sampling variability, but rare extreme observations can still cause large errors. In this experiment, median absolute error improved with size even though one 1,000-row draw was the largest miss.
How large should a random sample be?
There is no universal answer. Sample size depends on population variability, the statistic being estimated, required precision, rare-group prevalence, subgroup needs, sampling design, and available resources.
Why are the mean and median so different here?
Polymarket market volume has a long right tail. A small number of enormous markets pull the mean upward, while the median remains tied to the middle-ranked market.
Can I create a random sample without Python or Excel?
Yes. Lychee can draw a seeded random sample from supported historical datasets after the eligible population is defined. The sample can then be summarized, charted, saved, and published in the same workflow.
The real lesson from random sampling
Random sampling gave every eligible market a fair route into the analysis. It did not make the population simple.
The experiment exposed a market structure in which 1.38% of rows generated 70.15% of volume and one rare market could transform an otherwise ordinary sample mean. Increasing the sample size improved the typical result, but it did not remove chance from the process.
That leads to a better research habit:
Do not ask only whether a sample was random. Ask what population it came from, which statistic you are estimating, how the population is distributed, and how much uncertainty remains.
You can reproduce the workflow in Lychee's Polymarket Historical workspace, change the sample size or seed, redefine the eligible population, and test another market characteristic. From there, save the data sheet, build an interactive visualization, and publish the evidence so other researchers can inspect the path from data to conclusion.
Go from raw markets to charts and dashboards in seconds—no code, no CSVs.
Free to explore here · Polymarket, Kalshi, Chainlink & more
More reading
Compare Kalshi and Polymarket Odds in Real Time
Find matching prediction markets across Kalshi and Polymarket, then compare their live YES/NO prices, charts, trading activity, volume, spreads and order books in one view. Search by event or ticker and see where the two markets agree—or disagree. Free to use with no signup required.
How to Find a Polymarket Market ID, Token ID, Asset ID & Condition ID
Learn how to find Polymarket market IDs, token IDs, asset IDs, condition IDs, slugs, and clobTokenIds for API queries, price history, orderbooks, and market analysis.
How to Track Polymarket Odds Over Time (Visualize Probability Changes)
Learn how to track Polymarket odds over time, visualize probability changes, and measure probability momentum using interactive charts. Build a live Polymarket odds tracker without coding.
How to Stream Live Polymarket Prices and Build Real-Time Charts (No-Code)
Learn how to stream real-time Polymarket market data using the WebSocket market channel and build live prediction market charts — no code required.
How to Compare Kalshi and Polymarket Odds Live
Learn how to compare matching Kalshi and Polymarket odds in real time, verify settlement rules, track price gaps, and assess whether a difference is meaningful.
Polymarket CLOB WebSocket Market Channel: Asset IDs, Prices & Trades
Learn how the Polymarket CLOB WebSocket market channel works, how to subscribe with asset IDs, and how to read real-time orderbook, price_change, last_trade_price, and market events.