1. **State the problem:** We want to find the Spearman's Rank correlation coefficient between tourists' and locals' scores for 7 Penang attractions to see if their opinions are similar.
2. **Spearman's Rank correlation formula:**
$$r_s = 1 - \frac{6 \sum d_i^2}{n(n^2 - 1)}$$
where $d_i$ is the difference between ranks of each attraction's scores, and $n$ is the number of attractions.
3. **Assign ranks to tourists' scores:**
- Scores: 8.5, 9.0, 7.5, 9.5, 6.0, 6.5, 5.5
- Sorted descending: 9.5 (1), 9.0 (2), 8.5 (3), 7.5 (4), 6.5 (5), 6.0 (6), 5.5 (7)
- Tourists' ranks: Penang Hill (3), Kek Lok Si (2), Batu Ferringhi (4), George-town (1), Clan Jetties (6), Entopia (5), Penang Bridge (7)
4. **Assign ranks to locals' scores:**
- Scores: 7.0, 8.5, 6.5, 9.0, 7.5, 5.5, 4.5
- Sorted descending: 9.0 (1), 8.5 (2), 7.5 (3), 7.0 (4), 6.5 (5), 5.5 (6), 4.5 (7)
- Locals' ranks: Penang Hill (4), Kek Lok Si (2), Batu Ferringhi (5), George-town (1), Clan Jetties (3), Entopia (6), Penang Bridge (7)
5. **Calculate differences $d_i$ and $d_i^2$:**
|Attraction|Tourists' Rank|Locals' Rank|$d_i$|$d_i^2$|
|---|---|---|---|---|
|Penang Hill|3|4|3-4=-1|1|
|Kek Lok Si|2|2|0|0|
|Batu Ferringhi|4|5|4-5=-1|1|
|George-town|1|1|0|0|
|Clan Jetties|6|3|6-3=3|9|
|Entopia|5|6|5-6=-1|1|
|Penang Bridge|7|7|0|0|
Sum of $d_i^2 = 1 + 0 + 1 + 0 + 9 + 1 + 0 = 12$
6. **Calculate Spearman's rank correlation coefficient:**
$$r_s = 1 - \frac{6 \times 12}{7(7^2 - 1)} = 1 - \frac{72}{7(49 - 1)} = 1 - \frac{72}{7 \times 48} = 1 - \frac{72}{336} = 1 - 0.2143 = 0.7857$$
7. **Interpretation:**
An $r_s$ of approximately 0.79 indicates a strong positive correlation between tourists' and locals' rankings of Penang attractions, meaning their opinions are quite similar but not identical.
Spearman Correlation B7Be19
Step-by-step solutions with LaTeX - clean, fast, and student-friendly.