Admin Panel AccessUser ManagementSystem SettingsExport DatabaseDownload BackupUser Credentials ListAPI Keys ManagementAccess TokensEnvironment ConfigConfiguration FileWordPress AdminWordPress LoginphpMyAdminJoomla AdminEnvironment FileGit ConfigDatabase BackupDebug InterfaceTest EndpointInternal API
LearnlyAILibraryPodcasts
DashboardMy ShelfAll NotesAI ChatCreate AI NoteEssay AssistantAI PresentationTo-DoCalendar
Courses

Log in to view your courses

Referral & Rewards
Revision Notes
AS-Level
Cambridge International Examinations
Maths
Probability And Statistics 1
Data Presentation & Interpretation
Stem & Leaf Diagrams
AI Assistant

Stem & Leaf Diagrams

Summary

A stem and leaf diagram is a statistical tool used to display raw numerical data while simultaneously illustrating its distribution. Unlike many other charts that group data into frequencies, this method preserves the individual values, making it highly effective for small to medium-sized datasets where identifying specific statistical measures like the median and quartiles is required.

1. Definition & Core Concepts

  • Stem & Leaf Diagram: A method of organizing raw data into a table where each data value is split into a stem (the leading digit or digits) and a leaf (the final digit). This structure allows the reader to see the exact values of the dataset while observing the overall shape of the distribution.

  • The Stem: This represents the higher-value digits of the data, such as the tens or hundreds place. Stems are listed vertically in a column, usually in ascending order from top to bottom.

  • The Leaf: This represents the final digit of the data value and must always be a single digit. Leaves are listed horizontally next to their corresponding stem, typically separated by a vertical line.

  • The Key: A mandatory component of every diagram that explains how to interpret the stem and leaf. For example, a key stating 1∣2=121 | 2 = 121∣2=12 indicates the stem is tens and the leaf is units, whereas 1∣2=1.21 | 2 = 1.21∣2=1.2 indicates the stem is units and the leaf is tenths.

12 5 820 3 3 731 4Key: 1 | 2 = 12 unitsStemLeaves

A standard stem and leaf diagram showing stems 1, 2, and 3 with corresponding single-digit leaves and a descriptive key.

2. Underlying Principles

  • Data Preservation: Unlike histograms or box plots which summarize data into bins or quartiles, the stem and leaf diagram retains every original data point. This makes it a 'lossless' form of data representation.

  • Distribution Visualization: By arranging leaves in rows, the diagram functions similarly to a horizontal bar chart. The length of each row visually represents the frequency of data within that class interval, allowing for immediate identification of the mode and skewness.

  • Ordered Structure: For the diagram to be analytically useful, leaves must be arranged in ascending order. This ordering is the foundation for finding positional statistics like the median and range without needing to re-sort the raw list.

3. Methods & Techniques

4. Back-to-Back Stem & Leaf Diagrams

5. Key Distinctions

6. Exam Strategy & Tips

Construction Steps

  • Step 1: Identify Stems and Leaves: Determine the appropriate place value for the stem based on the range of the data. For example, if data ranges from 105 to 150, the stems might be 10, 11, 12, 13, 14, and 15.

  • Step 2: Create an Unordered Diagram: Work through the raw data list and place each leaf next to its stem as it appears. This ensures no data points are missed during the initial sorting process.

  • Step 3: Create the Ordered Diagram: Rewrite the diagram, sorting the leaves in each row from smallest to largest. Ensure that the spacing between leaves is consistent so the visual 'bar' length accurately reflects the frequency.

  • Step 4: Add the Key and Totals: Provide a key to define the scale and, optionally, add the count of leaves in brackets at the end of each row to assist in finding the median position.

  • Purpose: These are used to compare two related datasets, such as test scores for two different classes or heights of two different species, using a single shared stem column.

  • Structure: The shared stems are placed in the center. One dataset's leaves extend to the right, while the other's extend to the left.

  • Ordering Rule: For the left-hand side, the leaves must increase in value as they move away from the center stem. This means the smallest values are closest to the vertical line, maintaining a mirror-image logic with the right-hand side.

Feature Stem & Leaf Diagram Histogram
Data Type Discrete or rounded continuous Continuous grouped data
Raw Data Fully visible and preserved Hidden within frequency bars
Sample Size Best for small to medium sets Best for very large datasets
Ease of Use Easy to find median/quartiles Requires interpolation for estimates
  • Split Stems: In cases where a single stem has too many leaves, the stem can be split into two rows. The first row typically contains leaves 0–4, and the second row contains leaves 5–9. This provides a more granular view of the data distribution.
  • The 'Key' Requirement: Always check if a key is present; omitting the key is a frequent cause of lost marks even if the diagram is perfectly drawn. The key must include units if the data represents a physical measurement.

  • Median Calculation: To find the median of nnn items, locate the n+12\frac{n+1}{2}2n+1​ position. Count through the ordered leaves from the smallest value until you reach that position.

  • Accuracy Check: Always count the total number of leaves in your final diagram to ensure it matches the number of data points in the original list. It is very easy to skip a number when transferring data.

  • Outlier Identification: Look for leaves that are significantly separated from the main body of data. These gaps are much easier to spot in a stem and leaf diagram than in a raw list.