3. An analyst wants to determine whether the cost of a flight depends on the distance. She collects a set of data of the
Posted: Wed May 11, 2022 6:38 am
3. An analyst wants to determine whether the cost of a flight depends on the distance. She collects a set of data of the round-trip fare for flights between Boston and some other cities on major airlines and the distance between cities. The following table gives the descriptive statistics of the distance (in miles) and the cost (in dollars). (Round your calculations to 4 non-zero decimal places) Mean Standard Deviation 1648.5 1072.4 284 110.71 r=0.9163 Miles (x) Costs (y) (a) Find the regression line of the cost of a flight in terms of the miles traveled. (5 points) (b) Suppose someone flies 500 miles, what will be the estimated cost for him/her? (2 points)