Docsity

Statistics and Probability: Stem and Leaf Plots - Lecture Notes, Study notes of Statistics

Partial preview of the text

Download Statistics and Probability: Stem and Leaf Plots - Lecture Notes and more Study notes Statistics in PDF only on Docsity!

Virtual University of Pakistan

Lecture No. 6

Statistics and Probability

by

Muhammad Sanaullah

IN THE LAST TWO LECTURES, YOU LEARNT:

  • Frequency distribution of a continuous variable
  • Histogram, frequency polygon and frequency curve.
  • Various types of frequency curves
  • Cumulative frequency distribution and cumulative frequency polygon i.e. Ogive

For example, the number 243 could be split in two ways: Leading Digit Trailing Digits OR Leading Digit Trailing Digit 2 43 24 3 Stem Leaf Stem Leaf Example: The ages of 30 patients admitted to a certain hospital during a particular week were as follows: 48, 31, 54, 37, 18, 64, 61, 43, 40, 71, 51, 12, 52, 65, 53, 42, 39, 62, 74, 48, 29, 67, 30, 49, 68, 35, 57, 26, 27, 58. Construct a stem-and-leaf display from the data and list the data in an array.

A scan of the data indicates that the observations range (in age) from 12 to 74. We use the first (or leading) digit as the stem and the second (or trailing) digit as the leaf. The first observation is 48, which has a stem of 4 and a leaf of 8, the second a stem of 3 and a leaf of 1, etc. Placing the leaves in the order in which they APPEAR in the data, we get the stem-and- leaf display as shown below: Stem (Leading Digit) Leaf (Trailing Digit) 1 8 2 2 9 6 7 3 1 7 9 0 5 4 8 3 0 2 8 9 5 4 1 2 3 7 8 6 4 1 5 2 7 8 7 1 4

Stem

(Leading Digit)

Leaf

(Trailing Digit)

STEM AND LEAF DISPLAY

The stem-and-leaf table provides a useful description of the data set and, if we so desire, can easily be converted to a frequency table. In this example, the frequency of the class 10-19 is 2, the frequency of the class 20-29 is 3, the frequency of the class 30-39 is 5, and so on. Stem (Leading Digit) Leaf (Trailing Digit) 1 2 8 2 6 7 9 3 0 1 5 7 9 4 0 2 3 8 8 9 5 1 2 3 4 7 8 6 1 2 4 5 7 8 7 1 4

0 1 2 3 4 5 6 7 9.5 19.5 29.5 39.5 49.5 59.5 69.5 79. Age Number of Patients X Y

0 2 4 6 8 X Y Number of Patients Age If we rotate this histogram by 90 degrees, we will obtain:

ExampleExample Listed in the following table is the Listed in the following table is the number of 30-seconds radio number of 30-seconds radio advertising spots purchased by each advertising spots purchased by each of the 45 members of one particular of the 45 members of one particular Automobile Dealers Association in Automobile Dealers Association in one particular country. one particular country.

Number of advertising spotsNumber of advertising spots

purchased by members of purchased by members of

Automobile Dealers Association Automobile Dealers Association

(^9696 9393 8888 117117 127127 9595 113113 9696 ) (^139139 142142 9494 107107 125125 115115 155155 103103 ) (^112112 135135 132132 111111 125125 104104 106106 139139 ) (^118118 136136 125125 143143 120120 103103 113113 124124 ) (^9494 148148 156156 117117 117117 120120 119119 9797 )

SolutionSolution From the data given in the above table From the data given in the above table we note that the smallest number of we note that the smallest number of spots purchased is 88. so we will spots purchased is 88. so we will make the first stem value 8. make the first stem value 8. The largest number is 156, so we will The largest number is 156, so we will have the stem value begin at 8 and have the stem value begin at 8 and ending at 15. ending at 15.

Stem and Leaf DisplayStem and Leaf Display Stem Stem LeafLeaf (^88) (^99) (^1010) (^1111) (^1212) (^1313) (^1414) (^1515) 8 9 8 9 3 4 4 5 6 6 7 3 4 4 5 6 6 7 3 3 4 6 7 8 3 3 4 6 7 8 1 2 2 3 3 7 7 8 9 1 2 2 3 3 7 7 8 9 0 0 4 5 5 5 7 7 0 0 4 5 5 5 7 7 2 4 5 6 8 9 9 2 4 5 6 8 9 9 2 3 8 2 3 8 5 5 6 5 5 6

 The concentration of the number ofThe concentration of the number of spots in between 110 and 113. spots in between 110 and 113.  There are nine dealers whoThere are nine dealers who purchased between 110 and 119 purchased between 110 and 119 spots, and 8 who purchased spots, and 8 who purchased between120 and 129 spots. between120 and 129 spots.

As far as the shape of the distributionAs far as the shape of the distribution is concerned, it is obvious from the is concerned, it is obvious from the stem and leaf display that the stem and leaf display that the distribution is approximately distribution is approximately symmetric. symmetric.