Part 4
Part 4
To understand this chapter, we have to review bar diagram and histogram from
STAT H-101.
Example (discrete variable):
Let 𝑋𝑋 = number of accidents in an area in a week. Let 𝑛𝑛 = 50.
Data: 2, 4, 1, 0, ⋯ , 1, 3.
Frequency table:
𝑥𝑥 Frequency Relative
Frequency
0 6 0.12
1 14 0.28
2 12 0.24
3 10 0.20
4 6 0.12
5 2 0.04
Total 50 1.00
Bar Diagram
• We can call it bar diagram though we used lines instead of bars. We should
NOT call it a line diagram. Line diagrams are different.
• We used relative frequencies instead of frequencies (to compare with
probabilities later).
• Height of a bar (line) is proportional to the relative frequency.
13
Example (continuous variable):
Let 𝑋𝑋 = lifetime (years) of an electric component. Let 𝑛𝑛 = 100.
Data: 2.85, 0.54, 1.29, 11.23, ⋯ , 3.55.
Frequency table (class intervals with unequal widths):
Incorrect Histogram
Correct Histogram
Here, people will think that 12% of all values are in ‘2 – 3’ and an additional 12%
in ‘3 – 4’. This is a simplified extension of the fact that 24% of values are in ‘2 – 4’.
We discussed an example with unequal class intervals. When all the class intervals
are equal, density is proportional to relative frequency. However, we should use
‘density’ in both cases to maintain similarity and to make probability discussion
easier.
15