Home / Statistical Tools / Analysis Tools / Dotplot / Math Details
Math Details¶
Under review — candidate for removal
A dot plot performs no statistical inference; its "math" is the dot-binning and layout geometry used to render the plot. This page is flagged for review — it may be removed if that rendering detail is judged out of scope for a Math Details page.
This page gives the formulas Quantum XL uses to bin and stack the dots when drawing a dot plot.
Notation¶
| Term | Description |
|---|---|
| \(n\) | number of data points |
| \(x_{\min}, x_{\max}\) | smallest and largest data values |
Dot (bin) width¶
Quantum XL uses Wilkinson's dot-density rule to choose the bin width, scaled to keep the plot within its available width:
where \(m\) is a scale multiplier increased iteratively until the plot fits its width budget.
Bin assignment¶
Points are grouped left to right: a value joins the current bin while
otherwise it opens a new bin. Each bin's count is the number of (frequency-weighted) points it captures.
Stacking and plot height¶
| Term | Description |
|---|---|
| obsPerDot | observations represented by one dot; increased (\(1, 2, 5, 10, 20, \dots\)) so the plot fits within the row budget |
| maxStack | the tallest bin's stack height |
References¶
- Wilkinson, L. (1999). Dot plots. The American Statistician, 53(3), 276–281.