Distribution

Overlaid density plots

Compares group distribution shapes using estimated density curves.

  • Plot
  • Distribution
  • Comparison

What it answers

How do group density shapes compare?

Shape
Several density curves
What it shows
Location, spread and tail differences.

Example

The question

How do response times differ between our three support channels?

Response time density by channel (illustrative)

Response time density by channel (illustrative)Three overlapping density curves. Chat answers in about 4 hours, phone about 10, email about 18 and with the widest spread.ChatPhoneEmailDensity051015202530Hours to first response
Response time density by channel (illustrative)Three overlapping density curves. Chat answers in about 4 hours, phone about 10, email about 18 and with the widest spread.ChatPhoneEmailDensity051015202530Hours to first response
Three overlapping density curves. Chat answers in about 4 hours, phone about 10, email about 18 and with the widest spread.

Illustrative data. It belongs to no company.

When to use it

Use it when

Comparing several distributions after normalisation.

Avoid it when

When group sample sizes are the main message.

How to read it

Compare curve locations and widths on the same numeric scale.

Note

Normalised densities do not show relative group sizes.

The data you need

Layout
Long table
Fields
Group: text; Value: number
One row is
One raw observation belonging to a group. What is the grain?
Rules
Retain individual observations and group labels. State weighting and missing-data rules.
Optional
For box plots only, some tools accept Group,Q1,Median,Q3,WhiskerLow,WhiskerHigh plus separate outliers. Other distributions usually need raw data.
Preparation
Keep raw numeric observations, group them if needed and handle missingness explicitly. Choose bins, bandwidth or summary conventions as appropriate to this specific plot.
Units
The measurement axis retains its original unit. Frequency uses observations; normalised frequency divides by group sample size; density also depends on interval width.
Example of the input layout: Long tableA long table: one row per observation, few columns. New data adds rows.GroupValueAABBC
A long table: one row per observation, few columns. New data adds rows.

Worked example

Example A10,12,18; B11,23. Estimate densities on one scale. Each curve has total area 1, so it does not show that A has more observations.

GroupValue
A10
A12
A18
B11
B23