Chapter 12: Problem 21
How is the cost of a plane flight related to the length of the trip? The table shows the average round-trip coach airfare paid by customers of American Airlines on each of 18 heavily traveled U.S. air routes. $$ \begin{array}{lrr} & \text { Distance } & \\ \text { Route } & \text { (miles) } & \text { Cost } \\ \hline \text { Dallas-Austin } & 178 & \$ 125 \\ \text { Houston-Dallas } & 232 & 123 \\ \text { Chicago-Detroit } & 238 & 148 \\ \text { Chicago-St. Louis } & 262 & 136 \\ \text { Chicago-Cleveland } & 301 & 129 \\ \text { Chicago-Atlanta } & 593 & 162 \\ \text { New York-Miami } & 1092 & 224 \\ \text { New York-San Juan } & 1608 & 264 \\ \text { New York-Chicago } & 714 & 287 \\ \text { Chicago-Denver } & 901 & 256 \\ \text { Dallas-Salt Lake } & 1005 & 365 \\ \text { New York-Dallas } & 1374 & 459 \\ \text { Chicago-Seattle } & 1736 & 424 \\ \text { Los Angeles-Chicago } & 1757 & 361 \\ \text { Los Angeles-Atlanta } & 1946 & 309 \\ \text { New York-Los Angeles } & 2463 & 444 \\ \text { Los Angeles-Honolulu } & 2556 & 323 \\ \text { New York-San Francisco } & 2574 & 513 \end{array} $$ a. If you want to estimate the cost of a flight based on the distance traveled, which variable is the response variable and which is the independent predictor variable? b. Assume that there is a linear relationship between cost and distance. Calculate the least-squares regression line describing cost as a linear function of distance. c. Plot the data points and the regression line. Does it appear that the line fits the data? d. Use the appropriate statistical tests and measures to explain the usefulness of the regression model for predicting cost.
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.