5. (總分 15 分) Is a customer's preference for a cell phone affected by the age of the customer? If so, advertising might need to target a particular age group. Suppose a random sample of 500 customers aged 16 and older was selected, and their recent purchased cell phones along with their age groups were recorded, as shown in the table below.
4. (總分 40 分) A statistics instructor is interested in applying a simple regression to test whether students' performance in the midterm exam (x, midterm exam scores) is associated with their performance in the final exam (y, final exam scores). The model to be estimated is , and the data is as follows: