In-Class Exercise 3
Shih Chien University
2026-09-16
The following are the monthly rents (in NT dollars) of 12 studio apartments near campus.
Mean, Median, and Mode
Find the three measures of central tendency of rent.
mean()median()table() and reading off the most frequent oneChoosing a Measure
One apartment rents for NT$26,000, far above the rest.
Weighted Mean
A student’s grade in this course is composed of in-class exercises (36%), the midterm exam (32%), and the final exam (32%). The student scored 88, 72, and 80 respectively.
Compute the weighted mean in R using sum(), and report the final grade.
Elementary Statistics: A Step by Step Approach