Statistics
Page 4: Types of Diagrams
📊 Why Do We Need Diagrams?
A diagram is a graphical representation of data that allows the overall picture to be seen at a glance.
| Diagram type | Suitable for… |
|---|---|
| Bar chart | Discrete variable |
| Histogram | Continuous variable (grouped table) |
| Pie chart | Qualitative variable / relative frequency |
| Frequency polygon | Continuous variable |
| Cumulative curve | Cumulative frequency |
📊 Bar Chart
Suitable for: Variable Discrete
Characteristics:
- Vertical bars
- With gaps between the bars (because values are discrete)
- Bar height = frequency
Example: number of siblings (n = 30)
📊 Histogram
Suitable for: Variable Continuous (grouped table)
Characteristics:
- Adjacent rectangles
- No gaps between rectangles (continuity)
- Rectangle width = class width
- Rectangle height = frequency
Example: grouped scores (n = 40)
⚠️ Key difference: Bar chart vs Histogram
| Bar chart | Histogram | |
|---|---|---|
| Variable | Discrete | Continuous |
| Gaps | With gaps | No gaps |
🥧 Pie Chart
Suitable for: Variable qualitative or presenting relative frequency
Characteristics:
- Circle divided into sectors
- Sector size = relative frequency (fraction of the whole)
- Whole pie = 100% = 360°
Example: Transport to school
💡 Computing the sector angle:
\(\text{angle} = \text{relative frequency} \times 360°\)
Example: 40% → 0.40 × 360° = 144°
📈 Frequency Polygon
Suitable for: Variable Continuous
How to build:
- Mark a point above the midpoint of each class at the height of the frequency
- Connect the points with straight lines
- Close to the x-axis at both ends
📈 Cumulative Curve (Ogive)
Displays: Cumulative frequency
How to build:
- Mark a point above upper boundary of each class
- Point height = cumulative frequency
- Connect with a line
💡 Applications:
- Finding the median graphically
- Finding percentiles
- Answering questions of the type "how many up to…"
💡 Exam Tips
Discrete: Bar chart (with gaps)
Continuous: Histogram (no gaps)
Pie chart: angle = percentage × 360°
📝 Summary – Page 4
Bar (discrete) | Histogram (continuous) | Pie (qualitative/relative)
Polygon (class midpoint) | Cumulative curve (upper boundary)