Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Stem-and-leaf display
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Construction== To construct a stem-and-leaf display, the [[observations]] must first be sorted in ascending order: this can be done most easily if working by hand by constructing a draft of the stem-and-leaf display with the leaves unsorted, then sorting the leaves to produce the final stem-and-leaf display. Here is the sorted set of data values that will be used in the following example: : 44, 46, 47, 49, 63, 64, 66, 68, 68, 72, 72, 75, 76, 81, 84, 88, 106 Next, it must be determined what the stems will represent and what the leaves will represent. Typically, the leaf contains the last digit of the number and the stem contains all of the other digits. In the case of very large numbers, the data values may be rounded to a particular [[place value]] (such as the hundreds place) that will be used for the leaves. The remaining digits to the left of the rounded place value are used as the stem. In this example, the leaf represents the ones place and the stem will represent the rest of the number (tens place and higher). The stem-and-leaf display is drawn with two columns separated by a vertical line. The stems are listed to the left of the vertical line. It is important that each stem is listed only once and that no numbers are skipped, even if it means that some stems have no leaves. The leaves are listed in increasing order in a row to the right of each stem. When there is a repeated number in the data (such as two 72s), the plot must reflect such (so the plot would look like 7 | 2 2 5 6 7 when it has the numbers 72 72 75 76 77). :<math> \begin{array}{r|l} \text{Stem} & \text{Leaf} \\ \hline 4 & 4~6~7~9 \\ 5 & \\ 6 & 3~4~6~8~8 \\ 7 & 2~2~5~6 \\ 8 & 1~4~8 \\ 9 & \\ 10 & 6 \end{array} </math> :Key: <math>6 \mid 3 = 63</math> :Leaf unit: 1.0 :Stem unit: 10.0 Rounding may be needed to create a stem-and-leaf display. Based on the following set of data, the stem plot below would be created: : β23.678758, β12.45, β3.4, 4.43, 5.5, 5.678, 16.87, 24.7, 56.8 For negative numbers, a negative is placed in front of the stem unit, which is still the value X / 10. Non-integers are rounded. This allows the stem and leaf plot to retain its shape, even for more complicated data sets. As in this example below: :<math> \begin{array}{r|l} \text{Stem} & \text{Leaf} \\ \hline -2 & 4 \\ -1 & 2 \\ -0 & 3 \\ 0 & 4~6~6 \\ 1 & 7 \\ 2 & 5 \\ 3 & \\ 4 & \\ 5 & 7 \end{array} </math> :Key: <math>-2 \mid 4 = -24</math>
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)