What is a margin of error?
A margin of error is the range around a measured number, such as a citation rate, within which the true value probably falls given the sample it came from.
When you measure a citation rate from a basket of prompts, you get one number, but that number is an estimate of a truer, unmeasurable rate, not the rate itself. The margin of error describes how far off that estimate could plausibly be, based purely on how many prompts you ran and how the result came out. A rate of 24% from twenty prompts carries a much wider margin than the same 24% from two thousand.
The practical failure mode is reading week-over-week movement as a trend when it sits inside the margin of error. If your basket is small enough that the margin is plus or minus ten points, a shift from 24% to 29% is not evidence of anything, it's the kind of jump you'd expect from noise alone on a fair number of re-runs. The fix isn't to distrust every number, it's to size the basket to the swing you actually care about detecting.
Margin of error and sample size move together, wider baskets narrow the margin, but the relationship isn't linear. Doubling your prompts does not halve your margin of error, which is why getting from a wide margin to a narrow one usually costs more prompts than people expect.
Related
- Sample sizeSample size is the number of prompts, queries, or pages included in a single measurement, and it sets how much random noise a result carries.
- Confidence bandA confidence band is the range around a measured score that reflects how much of the number is sampling noise rather than signal.
- Wilson intervalThe Wilson interval is a method for calculating the plausible range around a measured rate that stays sensible even when the rate is small or the sample is limited, unlike the textbook formula most people default to.
- Sampling varianceSampling variance is the run-to-run variation you get from asking a language model the same question more than once.
Want to know where you actually stand on this? Run a free visibility check or try the free tools.