Mathematics · Article
Tables, charts and honest visualisation
Turn recorded observations into tables and graphics whose denominators, units, geometry and uncertainty can be checked. Derive histogram densities and empirical cumulative curves, interpret box plots under stated conventions, and examine how scales, aggregation and missing observations change a visual argument.
Back to MathematicsAfter reading, you can
- Choose a table or graphic that matches the observational unit, measurement scale and question.
- Distinguish counts, proportions and rates and state the denominator of every comparison.
- Derive histogram heights from bin width and show how bar area recovers empirical frequency.
- Read empirical cumulative curves and box plots while retaining ties and quantile conventions.
- Explain how baselines, transformations, aspect ratios and area encodings affect a comparison.
- Preserve pairing, time spacing, missing observations and group composition in visual summaries.
- Distinguish variation among observations from uncertainty in an estimate.
- Make a chart accessible, reproducible and appropriately limited as a scientific claim.
Begin with a question, a unit and an encoding
A chart is a mathematical transformation of records into positions, lengths, areas, colours or other marks. A useful transformation makes a relevant relationship easier to inspect while preserving enough context to check the argument. It begins with the question, the observational unit, the recorded quantity and the population or collection being described. A convincing picture cannot repair an unspecified target or establish a sampling design that the records do not contain.
Suppose a laboratory records one response time for each of five devices. A point may represent a device, its horizontal position may encode time in milliseconds, and a label may retain its identity. If the laboratory instead records a thousand repeated responses from one device, a thousand marks do not become a thousand independently sampled devices. State the unit represented by a row and by a mark. The distinction affects what the picture describes and which later uncertainty calculation could be justified.
Match the encoding to the measurement scale. Named categories call for separate positions or labels; a numerical axis suggests ordered magnitudes and meaningful distances. A category code such as 1,2,3 should not automatically become a continuous measurement. A time axis carries interval information as well as order. A physical quantity needs its unit, and quantities measured on different scales need a justified common transformation before their marks can be compared.
Every graphic also omits information. Binning loses exact positions inside a bin; a mean hides the distribution around it; a smooth curve may conceal discreteness or rounding. The right question is what has been retained, what has been discarded, and whether the discarded information matters for the stated purpose. Keep the underlying table or a clear route to it so a reader can recover values that the picture alone cannot show.
Tables make counts and denominators inspectable
A frequency table assigns each observation to a stated category and counts the observations in each category. If the categories are mutually exclusive and exhaustive for n recorded observations, their counts c₁,…,cₖ are nonnegative integers with Σcⱼ=n. Their relative frequencies are pⱼ=cⱼ/n when n>0, so Σpⱼ=1. A percentage is 100pⱼ. State whether categories are exclusive; a question allowing several selections can legitimately have percentages summing above 100%.
The denominator is part of the quantity. Six completed tasks among ten attempted tasks gives 60% of attempts; six among twelve assigned tasks gives 50% of assignments. A count of six has not changed, but the question has. Distinguish a population total, a fraction among observed records and a rate per unit of exposure. Events per thousand operating hours have a denominator with a time unit, unlike a fraction of devices with at least one event. They cannot be substituted simply because both are called rates in casual speech.
A two-way table records two categorical variables together. Row percentages answer a question conditional on the row group; column percentages use another denominator. For example, the fraction passing within each training group and the fraction belonging to each group among those passing describe different conditional compositions. Show counts alongside percentages when possible: 1 of 2 and 500 of 1000 share a displayed fraction but offer different information about the amount and design of the data.
Totals, missing-value counts and exclusions should reconcile. If 80 of 100 invited people answer a question, a table of the 80 answers can accurately sum to 100% of respondents while saying nothing by itself about the other 20 people. Label that denominator explicitly. Rounding percentages separately can produce 99% or 101%; disclose rounding rather than silently changing a category. An empty denominator makes a fraction unavailable, not zero.
Use bars and points according to their geometry
A bar chart assigns separate bars to categories. Equal bar widths and a common numerical scale make length the intended encoding; the gaps indicate distinct categories rather than intervals of a continuous variable. Category order can follow a meaningful sequence, a stable classification or a declared ranking. Sorting by a measured value helps ranking questions but can make the same categories hard to compare across panels if the order changes without notice.
When bar length represents a nonnegative count or amount, use a common zero baseline. A bar extending from 80 to 100 has length 20, not 100. If bars for values 90 and 100 start at 80, the second looks twice as long although the quantities have ratio 10/9. The plotted numbers may be labelled correctly while the length encoding gives a distorted ratio. A broken axis does not restore a simple proportional-length interpretation.
A point plot encodes position on a labelled scale rather than a filled length from zero. A cropped axis can be appropriate for inspecting small differences, such as measurements between 90 and 100, provided its limits are visible and the caption makes the comparison clear. The choice depends on the question and encoding: asking about a small difference is legitimate, but presenting that difference as a ratio of magnitudes requires a meaningful zero and the correct geometry.
Negative values need an equally explicit interpretation. A diverging bar can represent signed deviations from a stated reference; its two directions encode sign and its length encodes distance from that reference. Do not mix a deviation-from-target bar with a total-amount bar and read their lengths as the same quantity. For several groups or panels, common units, category order and axis limits make direct comparisons easier to assess.
A histogram partitions a numerical scale
A histogram groups numerical observations into bins along their measurement axis. Unlike separated category bars, each bin represents an interval whose width has numerical meaning. Choose increasing boundaries b₀<b₁<⋯<bₖ, with widths wⱼ=bⱼ−bⱼ₋₁>0. State how boundary observations are assigned. Here use left-closed, right-open intervals [bⱼ₋₁,bⱼ), with the last bin closed at its upper endpoint. This assigns each included observation exactly once.
Let cⱼ be the number of observations in bin j and n the number represented across all bins. With equal widths, count heights permit straightforward comparison because bar area is a common width times count. With unequal widths, count heights make a wide bin appear disproportionately important through its area. A histogram intended to encode relative frequency by area instead uses height hⱼ=cⱼ/(n wⱼ). Then its rectangle has area hⱼwⱼ=cⱼ/n, and the total rectangle area is 1.
If x is measured in milliseconds, the density height hⱼ has units per millisecond. Its product with a bin width is dimensionless. A density height can exceed 1 without violating any probability rule: a fraction of 1 packed into a bin of width 1/10 millisecond has height 10 per millisecond. Height alone is not the fraction in that bin. Alternatively, cⱼ/wⱼ gives count per unit, with total area n; label which normalization has been chosen.
The formula requires n>0 and positive widths. Values outside the displayed bins must be counted and disclosed or the denominator explicitly restricted to the included subset. A histogram density describes the binned empirical record; it is not automatically the true density of a population and does not prove observations were sampled independently. The binning convention is part of the reproducible analysis, not a cosmetic setting that can be discarded.
Binning changes the picture, so retain the rule
Consider observations 0,1,2,3,4,5,8,9 seconds and bins [0,2),[2,6),[6,10]. Their counts are 2,4,2 and their widths are 2,4,4 seconds. The relative-frequency density heights are 1/8,1/8,1/16 per second. The first two bins have equal heights but different areas: 1/4 and 1/2. Reading height as fraction would miss that the wider middle interval contains twice as many of these observations.
Changing a bin boundary can move an observation from one bin to another without changing the data. Narrow bins expose local structure but can give a sparse, irregular display; wide bins smooth over differences and can merge distinct groups. A shifted starting boundary can also change the apparent pattern. There is no universal bin width that makes all distributions equally informative. Software defaults are starting choices whose definitions and suitability should be checked.
Compare plausible bin widths or starts when the visual conclusion depends on them, while keeping the original record fixed. A second display such as a dot plot or an empirical cumulative curve can show whether an apparent gap or peak survives another representation. Do not repeatedly tune bins to obtain a desired narrative and present the selected picture as if the choice were uniquely forced by the observations. Exploratory choices can be useful when reported honestly.
Measurement resolution sets another limit. Values recorded to the nearest second can form ties even if the underlying quantity varies continuously. A smoothed or finely binned graphic should not imply precision that the instrument did not provide. A histogram also cannot recover the exact positions of observations inside each bin from counts alone. Retain the unbinned records, units, rounding rule and any excluded values so the display can be rebuilt and its limits understood.
Cumulative curves preserve threshold questions
The empirical cumulative distribution Fₙ(t)=(1/n)Σ1{xᵢ≤t} gives the fraction of n>0 numerical observations at or below t. Plot it as a nondecreasing step function. At an observed value, the function takes its value after the jump because the inequality includes equality. The curve is right-continuous: immediately to the right of a recorded value, and before the next value, the cumulative fraction remains at that new level.
For records 2,3,3,4,8 milliseconds, the fraction below 3 is 1/5, while Fₙ(3)=3/5. The two observations tied at 3 contribute a single jump of 2/5. A diagram with an open endpoint at the lower level and a filled endpoint at the upper level distinguishes these values. Joining the observations with a sloping line would suggest intermediate cumulative values over thresholds where this empirical function is actually constant.
Threshold fractions follow directly from the definition. The fraction in (a,b] is Fₙ(b)−Fₙ(a) for a≤b. If the intended interval is [a,b], replace Fₙ(a) by the left limit Fₙ(a−), which counts observations strictly below a. At a tie the distinction matters. The vertical axis is dimensionless and bounded between 0 and 1; the horizontal axis retains the observation unit. This representation avoids choosing histogram bins but answers cumulative rather than local-frequency questions.
Several cumulative curves can be compared on common axes. A consistently higher empirical curve has accumulated more of its recorded mass by each threshold, but crossings mean the ordering depends on the threshold. If F_A(t)≥F_B(t) for every t, the empirical A values are smaller in the first-order stochastic ordering; equality or direction should be stated carefully. Neither this descriptive comparison nor a visually large separation supplies a population significance test without a sampling model and a suitable method.
A box plot compresses ranks under declared conventions
A box plot combines selected quantiles with a median and a rule for whiskers and flagged observations. It is compact for comparing several groups, but its exact construction is not universal. State the quartile convention, the whisker rule, how ties are handled, and whether widths encode anything. In this lesson use the linear type 7 quantiles from lesson146: h=1+(n−1)p, with linear interpolation between the adjacent ordered values and separately handled endpoints.
Write Q₁=Q₇(1/4), Q₃=Q₇(3/4), and IQR=Q₃−Q₁. Our fences are Q₁−(3/2)IQR and Q₃+(3/2)IQR. The whiskers end at the smallest and largest recorded observations inside or on those fences; observations strictly outside are marked separately. The fences themselves need not be observed values, so drawing a whisker at a fence would implement a different rule. Other software may use different hinges or endpoint conventions.
For 2,3,3,4,8, the quartiles are 3 and 4, the fences are 3/2 and 11/2, the whiskers end at 2 and 4, and 8 is flagged. A flag identifies an observation for inspection under the stated descriptive rule. It does not prove a recording error, justify deletion or define a universal probability of being unusual. A genuine long tail, a distinct subgroup or a physically meaningful event can produce the flagged value.
The phrase middle 50% is a useful rank intuition, not a guarantee that exactly half a finite record lies inside every interpolated box. With 1,2,3,7,9,10, type 7 gives Q₁=9/4 and Q₃=17/2, and only 3 and 7 lie within the closed box interval: 2 of 6 observations. Ties can put many more than half on the boundaries. A box plot also hides multimodality and individual values, so add points, counts or another distribution view when those features matter.
Scales and transformations define the comparison
A linear numerical axis assigns a screen position u=αx+β with α>0. Equal numerical differences then receive equal screen distances. Changing the visible range changes α and can make the same difference look large or small. State axis limits, retain units and use shared limits for direct panel comparisons when that is the intended task. A cropped point plot can inspect a small difference, but an unlabeled crop can conceal its size relative to the quantity being studied.
A logarithmic axis instead places positive values according to u=α log(x/x₀)+β for a stated positive reference x₀ and log base. Equal multiplicative ratios have equal distances because log(x₂/x₀)−log(x₁/x₀)=log(x₂/x₁). Values 2,20,200 therefore have equal successive distances on a base-10 scale. A log axis emphasizes ratios rather than equal additive differences. Label the original positive values at ticks and explain the transformation.
Zero and negative values do not have real logarithms on this axis. They cannot be silently dropped or displayed at an arbitrary nearby positive tick. A declared alternative transformation or a separate display may be appropriate; each changes the interpretation and needs its own domain and rule. Ratios also need a meaningful zero in the original quantity. The numerical ratio of Celsius temperatures does not acquire physical meaning merely because a logarithmic picture can be drawn for a positive subset.
The visual angle of a line depends on both axis scales and the panel aspect ratio. A steep-looking trend is not a unit-free numerical growth rate. In physical data, slope means change in the vertical quantity divided by change in the horizontal quantity, with its resulting units. Two unrelated vertical scales in a dual-axis chart can be adjusted to make curves appear to track each other. Prefer aligned separate panels or a justified common transformation when a shared visual trend would otherwise invite a false comparison.
Area, colour and volume need their own rules
When an area represents a nonnegative value v, the area must be proportional to v. For a circular mark A=πr², so A=kv with k>0 requires r=√(kv/π). The radius is proportional to √v, not to v. If one value is four times another, an area encoding should double the radius and quadruple the area. Using four times the radius instead makes sixteen times the area, exaggerating the intended ratio.
The same issue appears when a three-dimensional symbol encodes a value by its volume. Similar shapes have volume proportional to the cube of their linear scale, so their linear dimensions must scale with the cube root of the value. Perspective, occlusion and decorative depth can make the encoding even harder to read. Choose a simpler position or length encoding when precise numerical comparison matters more than a pictorial effect. A legend should show the quantity represented, rather than leaving the reader to guess whether radius, area or volume carries the number.
Colour has different roles. Distinct categories need distinguishable colours without implying an unsupported numerical order. A sequential colour scale can represent an ordered magnitude; a diverging scale can emphasize deviations around a meaningful reference. The reference, limits and units belong in the legend. Equal steps in a numeric colour map do not ensure equal perceived steps, and a rainbow-like palette can create apparent boundaries unrelated to the measurements. Colour is therefore an encoding to justify, not an independent confirmation of a pattern.
Use labels, positions, patterns or shapes as well as colour so the interpretation survives common differences in colour vision and monochrome printing. Keep text legible against its background and avoid making a critical distinction depend on a tiny or faint mark. Missing observations need a distinct documented treatment: assigning them the colour of a numerical zero converts absence of information into a numerical claim. A colour legend and a table of values make the transformation more inspectable.
A scatter plot must preserve observational pairing
A scatter plot places one mark at (xᵢ,yᵢ) for each paired observational unit. The horizontal and vertical coordinates must come from the same unit under the stated collection rule. A plot can reveal nonlinear association, clusters, changing spread and isolated points that a single summary misses. Label both units, distinguish groups when relevant and retain sample size or multiplicity when several observations occupy the same screen position.
Pairing contains information that the two separate distributions do not. Observations x=1,2,3 paired with y=1,2,3 form an increasing diagonal. Pair the same x values with y=3,2,1 and the pattern decreases instead. The marginal lists and their means are unchanged. Sorting each column independently before plotting would therefore destroy the observed joint relationship and replace it with an artificial pairing. Record which row or unit joins the two quantities.
Association is a pattern in a joint record or distribution, while a causal claim concerns what would change under a specified intervention. A third variable, selection, reverse influence or a common time trend can produce association without the claimed causal direction. A graph can motivate a scientific question but does not itself rule out those explanations. The data-quality and question-design lessons develop the collection and design issues that a picture alone cannot settle.
Overlapping marks can conceal frequency. Appropriate transparency, small multiples, declared jitter or binned counts can help, but each needs an explanation. Jitter changes displayed coordinates and must not be mistaken for additional measurement precision; keep the exact values available. A line fitted through points is another summary with assumptions and limits, not a substitute for the observed spread. Avoid extrapolating a visual relationship far beyond the observed range without a justified model.
A time plot must preserve intervals and missingness
Time series use temporal order and elapsed intervals. On a linear time axis, the distance from day 1 to day 2 should be one tenth the distance from day 2 to day 12. Placing these dates at equally spaced category positions can make an unequal-rate process look regular. If the question concerns a rate of change, calculate Δy/Δt using the actual elapsed time and state its units rather than reading a line angle as the rate.
Joining observed values with line segments indicates a visual interpolation between those observations. It does not establish that every intermediate value was measured or that the process followed a straight line. With observations 10 units on day 1, 12 on day 2 and 14 on day 12, the successive average changes are 2 units per day and 1/5 unit per day. Equal vertical changes have very different time rates. A caption should distinguish observed points from an interpolating or modelled line.
An unobserved value is not automatically zero. If a sensor failed on day 3, drawing a point at zero invents a reading; joining across the gap without qualification may conceal the loss. A visible gap, an annotation or a separately styled interpolation can retain the distinction. For irregularly observed data, also distinguish a scheduled-but-missing record from an interval during which no observation was scheduled. The meaning depends on the collection process, not just the empty cell.
Comparisons across time need stable definitions and relevant exposure. A rise in recorded cases can reflect more observations, a changed reporting rule or longer operating time as well as a change in the underlying rate. A cumulative total is expected to be nondecreasing when increments are nonnegative; that shape does not imply an accelerating incidence rate. Retain period lengths, counts and denominators, and annotate known definition or instrument changes instead of letting one continuous line imply a single unchanged measurement process.
Aggregation changes weights and can reverse comparisons
A combined fraction is a weighted average of the group fractions when the numerators and denominators have compatible definitions. If group g has successes s_g among n_g>0 cases, the combined fraction is Σs_g/Σn_g=Σw_g(s_g/n_g), with weights w_g=n_g/Σn_g. Averaging the displayed percentages equally would use different weights. This identity is descriptive arithmetic; it does not establish that the groups are comparable for a causal question.
Consider two methods evaluated on easy and hard tasks. Method A succeeds on 9 of 10 easy tasks and 1 of 10 hard tasks. Method B succeeds on 19 of 20 easy tasks and 18 of 100 hard tasks. B has the higher recorded success fraction in each group: 19/20>9/10 and 18/100>1/10. Overall, A has 10/20=1/2 while B has 37/120, which is less than 1/2. Both the within-group and combined calculations can be correct.
The reversal occurs because the methods have different group compositions. A gives easy tasks weight 1/2, while B gives them weight 1/6. B is evaluated much more heavily on the group with lower success fractions. A grouped chart, counts and a table of weights reveal what a single overall bar conceals. Reporting only the favourable aggregate or only the favourable stratification can both hide the actual comparison being made.
A common-weight comparison can answer a defined standardization question: with half easy and half hard tasks, the weighted recorded fractions would be 1/2 for A and (19/20+18/100)/2=113/200 for B. These are summaries under chosen common weights, not automatically intervention effects. Choosing which variables to condition on requires substantive design knowledge; adjustment can introduce bias as well as remove it. State the target composition, preserve original counts and resist declaring one picture the universally correct answer to every question.
Label what an interval actually represents
A vertical interval can represent spread among observations, uncertainty in an estimated mean, a model prediction range or another defined quantity. Its appearance does not identify its meaning. A label such as error bars is incomplete. State the centre, interval construction, level when applicable, units, sample size and assumptions. The standard deviation s describes spread in the recorded sample, whereas a standard error concerns variation of an estimator across a stated repeated-sampling model.
For independent identically distributed observations with finite variance σ², Var(X̄)=σ²/n. Replacing σ by sample standard deviation s gives the familiar estimated standard error s/√n under that sampling framework. For n=25 and s=10 milliseconds, the estimated standard error is 2 milliseconds, although the sample spread remains 10 milliseconds. Repeated readings on the same correlated device need not provide the same effective information as independent readings; the formula cannot be justified by count alone.
A frequentist 95% confidence interval is produced by a method with specified repeated-sampling coverage under its assumptions. The target parameter is fixed in that model; before sampling, the interval endpoints are random. A 95% coverage statement means the method covers the parameter in 95% of repetitions in its stated setting, exactly or approximately as justified. It does not assign a 95% posterior probability to the parameter being inside one realised fixed interval without an additional Bayesian model and interpretation.
Even the same centre and standard error do not uniquely specify an interval. A multiplier near 2 is a particular normal-approximation choice, while an exact normal-sample mean interval with estimated variance uses a t multiplier and its assumptions. A prediction interval for a future observation also includes individual variability and usually differs from an interval for the mean. Graphical comparison should preserve these definitions rather than relabel all displayed ranges as interchangeable uncertainty.
Interval overlap is not a universal comparison test
Two intervals can be useful visual summaries without providing a complete rule for comparing the quantities. The uncertainty of a difference depends on the two variances and their covariance: Var(A−B)=Var(A)+Var(B)−2Cov(A,B), when these quantities exist. Separate marginal intervals generally do not show that covariance. A paired design can make the uncertainty of a difference quite different from what two standalone error bars suggest.
For illustration, suppose two independent estimators are approximately normal and each has a known standard error of 1 unit. Their approximate marginal 95% normal intervals have half-width 1.96. If their estimates differ by 3 units, those intervals overlap because 3<3.92. Yet the approximate standard error of their difference is √2, and 3>1.96√2. The corresponding approximate 95% normal interval for the difference excludes zero. This is a demonstration of a stated model, not a general invitation to infer tests from overlap.
Changing the interval type, level, dependence, target or inferential procedure changes that comparison. Multiple selected comparisons and repeated peeking create further questions that a graphic alone cannot settle. Prefer an interval or analysis directly for the defined difference when that is the scientific question. When no inferential model has been justified, report the descriptive differences and the collection limits without attaching an invented significance claim.
Uncertainty in measurement, sampling, model choice and data processing can be different sources. A narrow sampling interval may omit systematic calibration error, nonresponse bias or uncertainty about the chosen model. Explain the sources represented and those left outside the calculation. Neither a small error bar nor a large sample repairs an invalid measurement definition or an unrepresentative selection process. This connects the chart to the next lessons on data quality and answerable questions.
Make the numerical argument accessible
A reader should be able to identify the question, quantity, unit, population or record, period, denominator and source without reconstructing them from context. Use an informative title and a caption that explains transformations and conventions. Axis labels should name the quantity rather than merely repeat x and y. Direct labels can reduce the memory burden of repeatedly matching a mark to a distant legend, especially when several categories share a panel.
Do not make colour the sole carrier of an essential distinction. Combine it with labels, line patterns, shapes or separated positions, using a consistent key. Text and marks need sufficient contrast at their intended display size. A colour scale should retain a meaningful order when one is intended and should not hide missing values or imply sharp boundaries that the data do not define. Accessibility supports scientific checking because more readers can identify exactly what each mark claims.
Provide a useful text description and a structured table where feasible. A description should explain the relevant pattern and limitations, rather than merely say chart of data. The table supplies precise values and denominators that a graphic may only approximate. A scrollable wide table should retain column headings, while a small-screen graphic should keep labels and units readable or offer a clear larger view. Shrinking all text until it fits is not a mathematical solution to limited screen width.
Interactive controls should expose their current selection, have meaningful names, work from the keyboard and leave the underlying quantity inspectable. Changing a case should update its table, units and explanation together. Retain a useful initial state and a clear reset. An animation or hover-only label can supplement a chart but should not be the only way to learn an essential value or assumption. A reproducible static view remains valuable when an interaction cannot be used.
Treat the display as a reproducible scientific argument
A reproducible chart has a traceable path from source records to plotted marks. Preserve the source and version, observational units, inclusion rules, missing-value handling, transformations, bin boundaries, quantile convention, weights and axis specifications. If a table is rounded for display, calculate from the retained unrounded quantities when appropriate and state the rounding. Distinguish measured values, interpolated values and modelled estimates in both the data and the caption.
Inspect several layers of correctness. The arithmetic may be right while the denominator answers the wrong question; the table may be right while the chart encodes radius instead of area; the marks may be right while the title makes an unsupported causal claim. Check the question and design, the calculations, the mapping into geometry and the written interpretation. These checks complement one another. A computer rendering without errors is evidence of successful rendering, not a scientific review.
Visual exploration can suggest relationships, anomalies and new questions. Keep that role distinct from a later confirmatory claim based on a planned analysis. Preserve alternate plausible bin choices, transformations or groupings when they materially affect the conclusion. If a result is sensitive to one reasonable choice, explaining that sensitivity teaches more than hiding it behind a polished picture. The aim is a reader who can evaluate the evidence, not a mark arrangement that compels agreement.
The connections extend across science. Histogram area links a discrete count to integration and density units; an empirical cumulative curve links thresholds to inequalities; log scales link ratios to additive distances; paired scatter plots retain a joint relation; and aggregation exposes the role of weighted averages. Each connection has assumptions and limits. The next lesson examines how missing, mistaken or selectively collected records affect the evidence before the choice of a chart even begins.
Explore chart choices, scales and assumptions
Choose a finite preset. Exact table values, named denominators, unavailable cases and scientific qualifications remain visible. Logarithms, square roots and drawing positions are marked numerical approximations.
1. Name the count and its denominator
| Quantity or condition | Result |
|---|---|
| Eligible denominator | 10 |
| Denominator meaning | all ten eligible records |
| Displayed count total | 10 |
| Displayed categories exhaust the denominator | yes |
| Eligible records not displayed | 0 |
| Each named count and proportion | [name: Completed · count: 6 · proportion: 3/5; name: Incomplete · count: 4 · proportion: 2/5] |
| Sum of displayed proportions | 1 |
Units: count: records · proportion: dimensionless
Category position has no numerical distance meaning. Count bars start at zero. A proportion explicitly uses the named eligible-record denominator; displayed categories may be only a subset. A zero denominator is unavailable, not a zero proportion.
2. Give unequal bins their actual widths
| Quantity or condition | Result |
|---|---|
| Recorded observations | [0; 1; 2; 3; 4; 5; 8; 9] |
| Record count n | 8 |
| Bin boundaries | [0; 2; 6; 10] |
| Strictly increasing boundaries | yes |
| Count covered by declared bins | 8 |
| Endpoint convention | Each bin is [lower,upper), except the final bin includes its right endpoint. |
| Density definition | count / (n × bin width) |
| Each exact count, width, density and area | [lower: 0 · upper: 2 · rightEndpointIncluded: no · width: 2 · count: 2 · proportion: 1/4 · density: 1/8 · area: 1/4; lower: 2 · upper: 6 · rightEndpointIncluded: no · width: 4 · count: 4 · proportion: 1/2 · density: 1/8 · area: 1/2; lower: 6 · upper: 10 · rightEndpointIncluded: yes · width: 4 · count: 2 · proportion: 1/4 · density: 1/16 · area: 1/4] |
| Total rectangle area | 1 |
Units: horizontal: s · density: 1/s · area: dimensionless proportion
Numerical bin widths occupy their actual horizontal widths. Density is count/(n×width), and rectangle area equals the record fraction in that bin. Raw count height in unequal-width bins would not preserve that area interpretation. Endpoint membership is explicit; no record is silently dropped or counted twice.
3. Retain ties and right-continuous steps
| Quantity or condition | Result |
|---|---|
| Sorted records | [2; 3; 3; 4; 8] |
| Record count | 5 |
| Definition | F_n(t) = count(x_i ≤ t) / n |
| Right-continuous convention | yes |
| Threshold, multiplicity, excluded left and included right fraction | [threshold: 2 · multiplicity: 1 · leftFraction: 0 · rightFraction: 1/5; threshold: 3 · multiplicity: 2 · leftFraction: 1/5 · rightFraction: 3/5; threshold: 4 · multiplicity: 1 · leftFraction: 3/5 · rightFraction: 4/5; threshold: 8 · multiplicity: 1 · leftFraction: 4/5 · rightFraction: 1] |
| Exact threshold queries | [threshold: 1 · cumulativeCount: 0 · fraction: 0; threshold: 2 · cumulativeCount: 1 · fraction: 1/5; threshold: 3 · cumulativeCount: 3 · fraction: 3/5; threshold: 7 · cumulativeCount: 4 · fraction: 4/5; threshold: 8 · cumulativeCount: 5 · fraction: 1; threshold: 9 · cumulativeCount: 5 · fraction: 1] |
Units: threshold: ms · cumulativeFraction: dimensionless
Each observation contributes 1/n; a tie of multiplicity k makes one jump of k/n. The filled point at a recorded threshold is the included right-continuous value. Hollow lower endpoints are excluded. An ECDF is a descriptive record distribution, not a fitted population model or confidence band.
4. Declare quartiles, fences and whisker rules
| Quantity or condition | Result |
|---|---|
| Sorted observations | [2; 3; 3; 4; 8] |
| Quantile convention | Linear type 7: h=1+(n−1)p; one-based linear interpolation. |
| Lower quartile Q₁ | 3 |
| Median | 3 |
| Upper quartile Q₃ | 4 |
| IQR | 1 |
| Fence multiplier | 3/2 |
| Lower fence | 3/2 |
| Upper fence | 11/2 |
| Fence equality is unflagged | yes |
| Lower actual whisker | 2 |
| Upper actual whisker | 4 |
| Flagged recorded values | [8] |
| Unflagged recorded values | [2; 3; 3; 4] |
| Records inside the closed quartile box | 3 |
| Actual closed-box record fraction | 3/5 |
Units: locations: ms · iqr: ms · recordFraction: dimensionless
This explicitly uses linear type7 quartiles, not a software package’s unspecified hinges. Whiskers end at extreme recorded values inside the inclusive fences; the fences themselves need not be observations. Equality to a fence is unflagged. A flagged observation is not established as an error. Interpolated quartile positions need not enclose exactly half the finite observations.
5. Distinguish bar length from point position
| Quantity or condition | Result |
|---|---|
| Original values | [90; 100] |
| Correct zero baseline | 0 |
| Correct bar lengths | [90; 100] |
| Deliberately cropped baseline | 80 |
| Cropped apparent bar lengths | [10; 20] |
| True second/first value ratio | 10/9 |
| Misleading cropped second/first length ratio | 2 |
| Length-ratio distortion factor | 9/5 |
| A labelled point crop encodes position only | yes |
Units: values: units · baselines: units · ratios: dimensionless
A nonnegative bar’s length is measured from zero. Removing 80 from 90 and100 changes lengths to10 and20 and their ratio to2, whereas the values have ratio10/9. The deliberately misleading cropped bars are labelled as such. A clearly labelled cropped point axis may legitimately emphasize differences because its marks encode position, not bar length. No ratio to zero is supplied.
6. Interpret positive ratios on a log axis
| Quantity or condition | Result |
|---|---|
| Original recorded values | [2; 20; 200] |
| Declared logarithm base | 10 |
| Reference with the same original units | 1 |
| Dimensionless log arguments | [2; 20; 200] |
| Exact adjacent value ratios | [10; 10] |
| Equal adjacent ratios | yes |
| Log coordinates (numerical approximations) | [≈ 0.30103; ≈ 1.30103; ≈ 2.30103] |
| Log-coordinate differences (numerical approximations) | [≈ 1; ≈ 1] |
Units: originalValues: units · reference: units · logArgument: dimensionless x/reference · logCoordinate: dimensionless
The plotted coordinate is log_base(x/reference); original positive values remain printed. Equal log-coordinate differences represent equal multiplicative ratios, not equal additive changes. Logarithms and their plotted coordinates are explicitly numerical approximations. Zero and negative values are unavailable on this ordinary real log axis; no arbitrary positive replacement is inserted.
7. Encode area with a square-root radius
| Quantity or condition | Result |
|---|---|
| Original values | [10; 40] |
| Reference value | 10 |
| Reference drawing radius (px) | 20 |
| Exact squared radii, labelled radical radii and wrong direct-radius comparison | [value: 10 · relativeValue: 1 · correctRadiusSquared: 400 · correctRadius: √(400) (≈ 20) · correctAreaDividedByPi: 400 · wrongDirectRadius: 20 · wrongAreaDividedByPi: 400; value: 40 · relativeValue: 4 · correctRadiusSquared: 1600 · correctRadius: √(1600) (≈ 40) · correctAreaDividedByPi: 1600 · wrongDirectRadius: 80 · wrongAreaDividedByPi: 6400] |
| Second/first value ratio | 4 |
| Correct second/first area ratio | 4 |
| Correct second/first radius ratio | √(4) (≈ 2) |
| Wrong direct second/first radius ratio | 4 |
| Wrong direct second/first area ratio | 16 |
Units: value: units · radius: drawing pixels (a display scale, not a data unit) · area: drawing pixels²; π cancels from area ratios · ratios: dimensionless
To make circle area proportional to a nonnegative value v, radius must be proportional to √v. Exact squared radii and area ratios are retained; radical radii and drawing coordinates are marked approximations. Directly scaling radius by v squares the intended value ratio in the areas. A zero value has zero area, but a ratio with zero in its denominator is unavailable.
8. Preserve paired observations without a causal claim
| Quantity or condition | Result |
|---|---|
| Paired observations | [x: 1 · y: 2; x: 2 · y: 4; x: 3 · y: 6; x: 4 · y: 8] |
| Count | 4 |
| Horizontal mean | 5/2 |
| Vertical mean | 5 |
| Centred horizontal sum of squares | 5 |
| Centred vertical sum of squares | 20 |
| Centred cross-sum | 10 |
| Empirical covariance | 5/2 |
| Correlation is defined | yes |
| Squared correlation (exact) | 1 |
| Correlation (labelled numerical approximation) | 1 |
| Causal effect identified | no |
| Population sampling model supplied | no |
Units: horizontal: hours · vertical: score units · covariance: hours × score units · correlation: dimensionless
Each dot preserves one x,y pairing and its axis units. The finite-record centred cross-sum describes linear association; zero linear association need not mean no pattern. A constant coordinate makes correlation unavailable. No randomized intervention, causal identification, regression test or population sampling model is supplied.
9. Use elapsed time and preserve missing values
| Quantity or condition | Result |
|---|---|
| Timed records and missing status | [time: 0 · value: 2 · missing: no; time: 1 · value: 3 · missing: no; time: 4 · value: Unavailable under the stated input, count or model conditions. · missing: yes; time: 5 · value: 5 · missing: no] |
| Strictly increasing times | yes |
| Observed measurements | 3 |
| Missing measurements | 1 |
| Actual consecutive elapsed times | [1; 3; 1] |
| Only adjacent observed segments and exact slopes | [fromTime: 0 · toTime: 1 · fromValue: 2 · toValue: 3 · elapsed: 1 · slope: 1] |
| Bridge across missing measurements | no |
| Missing means zero | no |
| Observation index is elapsed time | no |
Units: horizontal: days · vertical: L · slope: L/days
Horizontal position uses actual elapsed time, not equal spacing by row index. Missing measurements are shown as missing outside the measured-value axis and are never replaced by zero. Only consecutive observed rows are connected; no line bridges a missing row. A connecting segment is an explicit visual interpolation, not an additional measurement or a demonstrated continuous trajectory.
10. Inspect the composition behind an aggregate rate
| Quantity or condition | Result |
|---|---|
| Group A counts, rates and composition | successes: 10 · count: 20 · overallRate: 1/2 · strata: [name: Easy · successes: 9 · count: 10 · rate: 9/10 · compositionWeight: 1/2; name: Hard · successes: 1 · count: 10 · rate: 1/10 · compositionWeight: 1/2] · equalStratumStandardizedRate: 1/2 |
| Group B counts, rates and composition | successes: 37 · count: 120 · overallRate: 37/120 · strata: [name: Easy · successes: 19 · count: 20 · rate: 19/20 · compositionWeight: 1/6; name: Hard · successes: 18 · count: 100 · rate: 9/50 · compositionWeight: 5/6] · equalStratumStandardizedRate: 113/200 |
| B higher in each corresponding stratum | [yes; yes] |
| All stratum rates are available | yes |
| B strictly higher in all strata | yes |
| A higher overall | yes |
| This composition reversal occurs | yes |
| Separate equal-stratum standardization weights | [1/2; 1/2] |
| Causal effect identified | no |
Units: count: records · rate: successes/eligible records, dimensionless · composition: stratum records/group records, dimensionless
Pooled rates weight stratum rates by each group’s own record composition. In the reversal preset B has the higher rate in both strata but A has the higher pooled rate because composition differs. Equal-stratum standardization is a different declared target, not an automatic causal adjustment. A zero stratum denominator gives an unavailable rate, not zero success probability. No treatment assignment or causal effect is identified.
11. Read the error-bar label and its assumptions
| Quantity or condition | Result |
|---|---|
| Illustrative mean estimate | 10 |
| Stated model | Independent identically distributed normal observations; known individual population SD10 units; n=25; the mean estimate10 is illustrative. |
| Sample size | 25 |
| Known individual population SD | 10 |
| Mean-estimator SE under the stated model | 2 |
| Declared span meaning | SD |
| Displayed half-width | 10 |
| Lower endpoint | 0 |
| Upper endpoint | 20 |
| CI critical multiplier (CI only) | Not assigned to this span meaning. |
| CI critical value is rounded | no |
| Confidence label (CI only) | Not assigned to this span meaning. |
| Method-coverage interpretation (CI only) | Not assigned to this span meaning. |
| Interval overlap is a hypothesis test | no |
Units: estimate: units · individualSD: units · standardError: units · intervalEndpoints: units
The displayed ±1 SD span concerns individual-value spread in the stipulated model. It is not a confidence interval for the mean and makes no distribution-free percentage statement.
Worked examples
Two percentages from the same six successes
A team completes 6 tasks. It attempted 10 of the 12 assigned tasks. Construct a table that distinguishes completion among attempts from completion among assignments.
- Keep the three counts separate: assigned 12, attempted 10, completed 6. Here completion implies an attempt, so the table reconciles to 4 attempted but incomplete and 2 not attempted.
- For completion among attempts, use denominator 10: 6/10=3/5=60%.
- For completion among assignments, use denominator 12: 6/12=1/2=50%.
- Label the question answered by each fraction. A bar titled completion rate without its denominator would leave two defensible quantities indistinguishable.
The team completed 60% of attempted tasks and 50% of assigned tasks. The difference comes from the denominator, not from a change in the six completions.
Recover frequency from histogram area
Eight observations in seconds are 0,1,2,3,4,5,8,9. Use bins [0,2),[2,6),[6,10]. Find counts, relative-frequency density heights and areas.
- The first bin contains 0 and 1; the second contains 2,3,4,5; the last contains 8 and 9. Counts are 2,4,2, and the total is n=8.
- The respective widths are 2,4,4 seconds. Divide each count by n times its width: 2/(8×2)=1/8, 4/(8×4)=1/8, and 2/(8×4)=1/16 per second.
- Multiply height by width to recover each rectangle area: 1/4,1/2,1/4. These areas sum to 1 and match the relative frequencies.
- The first two heights agree although the middle bin contains twice as many observations. Its doubled width supplies the doubled area. Height is density, not the bin fraction.
Density heights are 1/8,1/8,1/16 per second and areas are 1/4,1/2,1/4. The original record, boundaries and endpoint rule are all retained.
Read a tied cumulative jump
For observations 2,3,3,4,8 milliseconds, find the fractions in (3,4] and [3,4]. Explain how a step plot distinguishes them.
- The empirical curve has Fₙ(3)=3/5 and Fₙ(4)=4/5. Its left limit at 3 is Fₙ(3−)=1/5.
- The interval (3,4] excludes both observations equal to 3. Its fraction is Fₙ(4)−Fₙ(3)=1/5.
- The interval [3,4] includes them, so its fraction is Fₙ(4)−Fₙ(3−)=3/5.
- The jump at 3 has size 2/5. A filled point at cumulative level 3/5 shows the inclusive value, and an open point at level 1/5 shows the level just before the jump.
The fractions are 1/5 and 3/5. Inclusion of the lower endpoint changes the answer because the record has ties at that endpoint.
Build one fully specified box plot
Use type 7 quartiles and closed 1.5 IQR fences for 2,3,3,4,8. Identify the median, box, whisker endpoints and flagged values.
- For n=5, h=1+4p. At p=1/4 the rank is 2 and at p=3/4 it is 4, so Q₁=3 and Q₃=4. The median is the third ordered value, 3.
- The IQR is 1. The lower fence is 3−3/2=3/2 and the upper fence is 4+3/2=11/2.
- The observed values inside or on those fences are 2,3,3,4. The whiskers end at the smallest and largest of these: 2 and 4.
- The observation 8 lies strictly above the upper fence and is marked separately. Retain it in the source record; the rule has flagged it without diagnosing a mistake.
The box spans 3 to 4, the median is 3, the whiskers end at 2 and 4, and 8 is flagged. Fences and whisker endpoints are different quantities.
Why a box need not contain exactly half the records
For 1,2,3,7,9,10, use type 7 quartiles. How many observations lie inside the closed quartile interval?
- At p=1/4, h=1+5/4=9/4. Interpolate one quarter of the way from the second to the third observation: Q₁=2+(1/4)(3−2)=9/4.
- At p=3/4, h=1+15/4=19/4. Interpolate three quarters of the way from the fourth to the fifth observation: Q₃=7+(3/4)(9−7)=17/2.
- The closed interval is [9/4,17/2]. Among the six records, only 3 and 7 lie in it. Neither interpolated endpoint is a new observation.
- The count 2/6 does not contradict the chosen quantile definition. Finite interpolation and ties prevent a universal exact-half count interpretation.
The quartiles are 9/4 and 17/2, with IQR 25/4; 2 of 6 recorded values lie in the closed box interval.
Compare magnitudes and compare differences
Two quantities are 90 and 100 units. A bar display begins at 80. Compare its visible-length ratio with the quantity ratio, then propose a suitable display for a small-difference question.
- With baseline 80, the visible lengths are 90−80=10 and 100−80=20 units of the plotted scale. Their ratio is 2.
- The magnitudes have ratio 100/90=10/9, and their difference is 10 units. The doubled visible length is not their magnitude ratio.
- For a bar encoding of total amount, begin both lengths at zero. For an explicit small-difference question, use labelled points on a clearly shown cropped axis.
- The point display can make the 10-unit difference easy to inspect while preserving the limits and original values. Its caption should not turn screen separation into an unsupported magnitude ratio.
A cropped bar makes a ratio of 2 from quantities whose ratio is 10/9. A labelled point plot can legitimately focus on the 10-unit difference.
Make area proportional to value
Circular marks represent values 10 and 40. The first radius is 3 millimetres. Find the second radius for an area encoding, and compare it with scaling radius directly by value.
- The value ratio is 40/10=4. Proportional areas require the second area to be four times the first.
- Since area is πr², the radius ratio must be √4=2. The correct second radius is 6 millimetres.
- Scaling radius directly by the value ratio would give 12 millimetres. Its area would be (12/3)²=16 times the first.
- Label the legend as value encoded by area and retain values 10 and 40. The drawing is an encoding of those values, not a new physical measurement of circles.
The area-correct radius is 6 millimetres. A 12-millimetre radius would encode an area ratio of 16 instead of the intended 4.
Read equal distances on a logarithmic axis
Positive values are 2,20,200 units. Explain their spacing on a base-10 axis and state what happens to a zero reading.
- Use the dimensionless ratio x/x₀ with x₀=2 units. The ratios are 1,10,100.
- Their base-10 logarithms are 0,1,2, so the successive screen distances are equal under a linear mapping of those logarithms.
- The equal distances encode equal factors of 10. The additive differences, 18 and 180 units, are unequal.
- A zero has no real logarithm here. Keep its count and identity available and choose a declared alternative or separate display instead of placing it at a fictitious positive value.
Equal log distances represent ratios of 10, not equal additive changes. Zero is unavailable on this real log axis and must be handled explicitly.
Pairing changes the relationship
Compare paired sets (1,1),(2,2),(3,3) and (1,3),(2,2),(3,1). What information changes and what stays the same?
- Both have horizontal marginal list 1,2,3 and vertical marginal list 1,2,3. Both marginal means are 2.
- The first set lies on y=x, so its association is increasing. The second lies on y=4−x, so its association is decreasing.
- For an optional centred check, the sum Σ(xᵢ−2)(yᵢ−2) is 2 for the first set and −2 for the second. The sign changes because the pairing changes.
- The two separate value lists cannot identify the joint relation. Preserve the row pairing and avoid assigning a causal direction from either diagram alone.
The marginal distributions and centres agree, but the paired association reverses. A scatter plot depends on joint records, not just two sorted columns.
Equal changes over unequal intervals
A quantity is 10 on day 1, 12 on day 2 and 14 on day 12. Compute the average rate on each observed interval and describe a faithful time plot.
- From day 1 to day 2, the change is 2 units over 1 day, giving 2 units per day.
- From day 2 to day 12, the change is again 2 units but over 10 days, giving 1/5 unit per day.
- On a linear time axis, the second horizontal gap is ten times the first. Equal category spacing would conceal this interval difference.
- Mark the three observed values. Any connecting line is an interpolation; if a scheduled reading is missing, show or annotate that gap rather than invent a zero.
The interval rates are 2 and 1/5 units per day. Their equal vertical changes do not imply equal time rates.
Calculate an aggregation reversal without a contradiction
Method A has easy-task successes 9/10 and hard-task successes 1/10. Method B has 19/20 and 18/100. Compare within-group, overall and equal-composition recorded fractions.
- Within easy tasks, 19/20=0.95 exceeds 9/10=0.9. Within hard tasks, 18/100=0.18 exceeds 1/10=0.1. B is higher in each recorded group.
- A has total 10 successes among 20 tasks, giving 1/2. B has 37 among 120, giving 37/120. Since 60/120>37/120, A is higher overall.
- The easy-task weights are 10/20=1/2 for A and 20/120=1/6 for B. The overall fractions therefore use different compositions.
- Under common half-easy, half-hard weights, A gives (9/10+1/10)/2=1/2 and B gives (19/20+18/100)/2=113/200. This answers a declared standardization question and does not by itself identify a causal effect.
B is higher within both groups and under the specified equal composition, while A is higher in the original overall records. The original group counts explain the reversal.
The same sample can have different honest error bars
An independent identically distributed sample has n=25 response times and sample standard deviation 10 milliseconds. What do a one-SD bar and an estimated one-SE bar represent, and does either automatically define a 95% confidence interval?
- The sample standard deviation is 10 milliseconds. A bar of one sample SD describes a spread scale among the recorded observations.
- Under the stated independent identically distributed finite-variance framework, the estimated standard error of the mean is s/√n=10/5=2 milliseconds.
- The one-SE bar concerns an estimator under repeated sampling, not the fraction of observations lying within it. Neither a one-SD bar nor a one-SE bar is automatically a 95% confidence interval.
- A confidence interval needs a method, multiplier or construction and assumptions, with its stated coverage interpretation. Correlation, selection bias or an unsuitable model would require further treatment.
One SD is 10 milliseconds and the estimated SE of the mean is 2 milliseconds under the stated sampling framework. Their targets differ, and the interval method must be specified separately.
Try it yourself
Of 50 invited participants, 40 answer a question and 12 answer yes. Give the yes fraction among respondents and among invitees, and say what the missing answers prevent you from claiming.
Show the answer and reasoning
The fractions are 12/40=30% of respondents and 12/50=24% of invitees recorded as yes. The true yes fraction among all invitees is not determined.
Ten invited people did not answer. Their missing responses cannot be classified as no merely to complete a percentage. The observed yes count gives a recorded fraction among invitees, while a claim about all invitees needs assumptions or information about the missing answers.
A survey lets each person select several interests. Category percentages sum to 160%. Is that necessarily an arithmetic mistake?
Show the answer and reasoning
No. The categories can overlap, so the sum need not be 100%.
The identity Σcⱼ=n requires exclusive, exhaustive categories for n observations. Multiple selections count a person in more than one category. Report the denominator and that multiple selections were allowed; do not force the displayed total to 100% by changing the data.
A relative-frequency histogram bin has width 4 seconds and contains 6 of 24 observations. Find its density height and area.
Show the answer and reasoning
The height is 1/16 per second and the area is 1/4.
Use h=c/(n w)=6/(24×4)=1/16 per second. Its area h w=4/16=1/4 is the relative frequency. Reading 1/16 as the fraction in the bin would omit its width.
All observations fall in a single bin of width 1/10 metre. What normalized density height gives total area 1, and is that height invalid because it exceeds 1?
Show the answer and reasoning
The height is 10 per metre; it is valid.
The height is 1 divided by the width. Multiplying 10 per metre by 1/10 metre gives dimensionless area 1. A density value is not itself the probability or relative frequency assigned to a point.
Use bins [0,2),[2,6),[6,10] for values 0,2,6,10. Give the counts and explain why the last bracket matters.
Show the answer and reasoning
The counts are 1,1,2. The final closed endpoint includes 10.
Zero belongs to the first bin, 2 to the second and both 6 and 10 to the last. A single consistent endpoint rule prevents double counting; without the last closed endpoint, 10 would lie outside the stated coverage and would need separate accounting.
For 1,2,2,5, find Fₙ(2), Fₙ(2−) and the jump at 2.
Show the answer and reasoning
They are 3/4,1/4 and 1/2.
Three observations are at most 2, only one is strictly below 2, and two of four equal 2. A right-continuous empirical curve takes the higher value at the jump.
For 2,3,3,4,8, calculate the fraction in [3,8) and distinguish it from the fraction in (3,8].
Show the answer and reasoning
The fraction in [3,8) is 3/5; the fraction in (3,8] is 2/5.
The first interval contains 3,3,4 and excludes 8. The second contains 4,8 and excludes both 3s. Endpoint changes matter at observed values; the record must be checked against the exact inequalities.
A box-plot upper fence is 11/2 and the largest observation inside or on it is 4. Under this lesson’s rule, where does the upper whisker end?
Show the answer and reasoning
At 4, not at 11/2.
The fence is a calculated boundary for the flagging rule. The whisker ends at an actual retained observation meeting that rule. Other drawing conventions exist, which is why the construction must be stated.
An observation lies outside a 1.5 IQR fence. Does the plot justify deleting it?
Show the answer and reasoning
No. The flag calls for inspection and context.
A genuine extreme event, subgroup, long-tailed distribution or recording mistake could each produce such a value. Preserve the record, investigate provenance and measurement, and document any justified correction or exclusion rather than equating the visual flag with an error.
Values 48 and 50 are drawn as bars starting at 46. Compare the visible-length ratio with the actual magnitude ratio.
Show the answer and reasoning
The visible-length ratio is 4/2=2; the actual ratio is 50/48=25/24.
The crop changes the lengths to distances above 46. A zero-baseline bar is appropriate for proportional amounts; a labelled point plot may focus on the two-unit difference without claiming that the magnitudes have doubled.
A circle for value 9 has radius 2 centimetres. What radius encodes value 81 proportionally by area?
Show the answer and reasoning
6 centimetres.
The value ratio is 81/9=9, so the radius ratio is √9=3. The radius becomes 3×2=6 centimetres. Scaling radius by 9 would multiply area by 81 and exaggerate the intended ratio.
On a log axis, 3,30,300 are equally spaced. Are their additive gaps equal, and can −3 be placed on the same real logarithmic axis?
Show the answer and reasoning
The gaps are 27 and 270, so they are unequal. −3 has no real logarithm on that axis.
Equal log distances represent equal multiplicative ratios, here factors of 10. Nonpositive values need explicit alternative handling. Silently dropping a negative value changes the displayed record and hides a domain restriction.
An analyst sorts the temperature column and the energy-use column independently before drawing their scatter plot. What has been lost?
Show the answer and reasoning
The original observational pairing and therefore the joint relationship.
Two marginal lists do not determine which values belong to the same unit or time. Independent sorting can manufacture an apparent increasing relation. Retain row identity and plot only scientifically defined pairs.
Readings are 2 units on day 1, 4 on day 3 and 6 on day 11. Find the two interval rates.
Show the answer and reasoning
They are 1 unit per day and 1/4 unit per day.
The changes are both 2 units, but the elapsed times are 2 and 8 days. An equally spaced category plot would hide that distinction. A linear time axis preserves the actual intervals; connections between points remain declared interpolations.
A sensor has no reading at noon because its power failed. What is wrong with drawing a zero at noon?
Show the answer and reasoning
It replaces a missing measurement with an invented numerical reading.
Keep missingness distinct from an observed zero. Show a gap or annotate an interpolation and retain its status separately from measured values. Whether the instrument could have measured zero does not tell you its unobserved noon value.
Using the methods in the worked reversal example, give the easy-task weight for each method and the overall B fraction. Why is the unweighted average of B’s two group fractions different?
Show the answer and reasoning
The easy weights are 1/2 for A and 1/6 for B; B overall is 37/120. Its unweighted group average is 113/200 because it uses half-and-half weights.
B has 20 easy and 100 hard tasks, so its observed composition gives weights 1/6 and 5/6. A standardized equal-composition summary answers a different stated question. Preserve both the original counts and the chosen comparison weights.
A sample has n=16 and sample SD 8 seconds. Under independent identically distributed finite-variance sampling, what is the estimated SE of its mean? Does the formula remain justified merely because a correlated series also has 16 readings?
Show the answer and reasoning
The estimated SE is 8/√16=2 seconds. Count alone does not justify it for a correlated series.
The variance of a mean includes covariance terms. The familiar s/√n expression uses the stated sampling framework; dependence or a changing process needs another analysis. SD and SE should keep their different target labels.
Two independent approximately normal estimators have known SE 1 and differ by 3 units. Their approximate marginal 95% intervals overlap. Does that force the approximate 95% interval for their difference to include zero?
Show the answer and reasoning
No. The difference SE is √2 and 3>1.96√2, so that approximate difference interval excludes zero.
Marginal half-widths are 1.96 each, so the marginal intervals can overlap for separation 3. A comparison interval uses the variance and covariance of the difference. This conclusion depends on the explicitly stated normal approximation, known SEs and independence; overlap is not a universal test rule.
What to carry forward
- A chart should preserve the question, observational unit, units, denominator and source of the records.
- A histogram with unequal widths needs density heights when area is intended to represent frequency.
- Empirical cumulative curves retain ties and threshold conventions; box plots retain quantile and whisker rules.
- Bars, points, areas, colour and logarithmic axes encode different mathematical comparisons.
- Pairing, elapsed time, missing observations and group composition can change the visual conclusion.
- Spread among observations, estimated standard errors, confidence intervals and predictions have different targets.
- Interval overlap is not a universal significance rule, and a chart alone does not establish causation.
- Accessible labels, values, declared conventions and retained source records make the argument checkable.
References
Sources for the concepts and teaching approaches in this article.
- NIST/SEMATECH e-Handbook: HistogramNIST/SEMATECHReference guideNIST/SEMATECH e-Handbook: HistogramNIST/SEMATECH e-Handbook: Box plotNIST/SEMATECH e-Handbook: Scatter plotNIST/SEMATECH e-Handbook: Confidence limits for the mean
Office for National Statistics3 sources
- Office for National Statistics: Axes and gridlinesOffice for National StatisticsReference guide
- Office for National Statistics: Showing uncertainty in chartsOffice for National StatisticsReference guide
- Office for National Statistics: Using colours in chartsOffice for National StatisticsReference guide