Example: Suppose these data are recorded for the temper- ature (in ºF) of fifty cities in Luzon in September Make a frequency distribution with 7 classes and with 100 as the initial lower class limit.
How again? 1 st, compute the range:range = 134 – 100 = 34 2 nd, compute the class width:c.w. = 34/7 = 4.9 5 3 rd, Add the class width to the initial lower limit as many times as the number of classes. These will give us all the lower class limits of the freq. dist. (The tally column is optional.) Class limitsClass BoundariesFrequency
4 th, to find the upper class limit paired to a lower class limit, just subtract one from the next lower class limit. Class limitsClass BoundariesFrequency 100 – – – – – –
5 th, find the class boundaries, and count the tallies in the frequency column Class limitsClass BoundariesFrequency 100 – – – – – – – – – – – – –
We can present the grouped freq. dist. in graphical format. Each of the classes are represented by a rectangular bar whose width (on the x-axis) are the boundaries of that class and whose height (on the y-axis) is the corresponding frequency. This diagram is called a HISTOGRAM.
RELATIVE FREQUENCY HISTOGRAMS The relative frequencies represents the (tally) frequencies as percentages (%) of the total number of raw data. Class limits Class Boundaries Frequency Relative Frequency 100 – – – – – – – – – – – – – Example: Previously, we had: We use rela- tive frequencies (and its histogram) when the total number of raw data is too large.
Nevertheless, the two histograms for a grouped frequency distribution look exactly the same. The only difference in this kind of histogram is that the rela- tive frequencies are placed on the y-axis instead of the tally frequencies.
DISTRIBUTION SHAPES The histogram is the most important diagram in Statistics. The histogram is drawn on an xy-plane. The data values (grouped within class boundaries) are placed on the x-axis; and the freq- uencies on the y-axis. DATA VALUES low values high values FREQUENCIES few many
Histograms assume peculiar shapes. The most common ones are: ClassesFreq – – – – – – – Heights of y.o. males (in inches) BELL-SHAPED Here, the data appears equally distributed on both sides of the middle (or “average”) values. The tallies increase as data approach the middle values, and then decrease from there on.
ClassesFreq Outcomes of a die toss (600 times) UNIFORM Here, the data appears equally distributed throughout. The tallies appear constant throughout.
Final grades (%) of 100 students in Math 1 RIGHT-SKEWED Here, the tallies accumulate on the lower data values and decrease as the values get higher. ClassesFreq – – – – – – –
Final grades (%) of 100 students in P.E. LEFT-SKEWED Here, the tallies accumulate on the higher data values and decrease as the values get lower. (The direction of skewness is on the side of the longer “tail.”) ClassesFreq – – – – – – –
Weights (kgs) of y.o. males and females ClassesFreq – – – – – – – – – – – – – – MULTIMODAL Here, the tallies accumulate on more than one data class.
FREQUENCY POLYGONS We can also use the middle point (or midpoint or class mark) of a class to represent that class. Class limits Class Boundaries MidpointFrequency 100 – – – – – – – – – – – – – Example:
We can present the frequency distribution in graphical form where each class is represented by its midpoint. This diagram is called a FREQUENCY POLYGON. Each of the classes is represented by its midpoint on the x- axis, with its frequency as the y-coordinate. The points are then connected by line segments.
BAR GRAPHS When the data are qualitative or categorical, bar graphs and pie graphs can be used for presentation. Type of OperationNumber of Cases Thoracic20 Bones and joints45 Eye, ear, nose and throat58 General98 Abdominal115 Urologic74 Proctologic65 Neurosurgery23 Example: Operations performed at PGH (2010)
Each of the categorical classes is represented by a vertical or horizontal bar, whose length is its corresponding frequency. This diagram is called a BAR GRAPH. Histograms are bar graphs for quantitative data.
PIE GRAPHS Qualitative data can also be presented as sections or sectors of a circle, especially if partitions of a whole has to be emphasized. Example: Operations performed at PGH (2010) Type of OperationNumber of Cases Thoracic20 Bones and joints45 Eye, ear, nose and throat58 General98 Abdominal115 Urologic74 Proctologic65 Neurosurgery23
Type of Operation Number of Cases Relative Frequency Sector Angle (º) Thoracic Bones and joints Eye, ear, nose and throat General Abdominal Urologic Proctologic Neurosurgery In making pie graphs, the sector angle for each of the classes must be computed. 14º 33º 42º 71º 83º 53º 47º 17º
Each of the categorical classes is represented by a sector whose central angle is the sector angle corresponding to its frequency. This diagram is called a PIE GRAPH.