Concept explainers
Applet Exercise Refer to Exercises 11.2 and 11.5. The data from Exercise 11.5 appear in the graph under the heading “Another Example” in the applet Fitting a Line Using Least Squares. Again, the horizontal blue line that initially appears on the graph is a line with 0 slope.
- a What is the intercept of the line with 0 slope? What is the value of SSE for the line with 0 slope?
- b Do you think that a line with negative slope will fit the data well? If the line is dragged to produce a negative slope, does SSE increase or decrease?
- c Drag the line to obtain a line that visually fits the data well. What is the equation of the line that you obtained? What is the value of SSE? What happens to SSE if the slope (and intercept) of the line is changed from the one that you visually fit?
- d Is the line that you visually fit the least-squares line? Click on the button “Find Best Model” to obtain the line with smallest SSE. How do the slope and intercept of the least-squares line compare to the slope and intercept of the line that you visually fit in part (c)? How do the SSEs compare?
- e Refer to part (a). What is the y-coordinate of the point around which the blue line pivots?
- f Click on the button “Display/Hide Error Squares.” What do you observe about the size of the yellow squares that appear on the graph? What is the sum of the areas of the yellow squares?
11.2 Applet Exercise How can you improve your understanding of what the method of least-squares actually does? Access the applet Fitting a Line Using Least Squares (at academic.cengage.com/statistics/wackerly). The data that appear on the first graph is from Example 11.1.
- a What are the slope and intercept of the blue horizontal line? (See the equation above the graph.) What is the sum of the squares of the vertical deviations between the points on the horizontal line and the observed values of the y’s? Does the horizontal line fit the data well? Click the button “Display/Hide Error Squares.” Notice that the areas of the yellow boxes are equal to the squares of the associated deviations. How does SSE compare to the sum of the areas of the yellow boxes?
- b Click the button “Display/Hide Error Squares” so that the yellow boxes disappear. Place the cursor on right end of the blue line. Click and hold the mouse button and drag the line so that the slope of the blue line becomes negative. What do you notice about the lengths of the vertical red lines? Did SSE increase of decrease? Does the line with negative slope appear to fit the data well?
- c Drag the line so that the slope is near 0.8. What happens as you move the slope closer to 0.7? Did SSE increase or decrease? When the blue line is moved, it is actually pivoting around a fixed point. What are the coordinates of that pivot point? Are the coordinates of the pivot point consistent with the result you derive in Exercise 11.1?
- d Drag the blue line until you obtain a line that visually fits the data well. What are the slope and intercept of the line that you visually fit to the data? What is the value of SSE for the line that you visually fit to the data? Click the button “Find Best Model” to obtain the least-squares line. How does the value of SSE compare to the SSE associated with the line that you visually fit to the data? How do the slope and intercept of the line that you visually fit to the data compare to slope and intercept of the least-squares line?
11.1 If
11.5 What did housing prices look like in the “good old days”? The median sale prices for new single-family houses are given in the accompanying table for the years 1972 through 1979. Letting Y denote the median sales price and x the year (using integers 1, 2, . . . , 8), fit the model Y = β0 + β1x + ε. What can you conclude from the results?
Want to see the full answer?
Check out a sample textbook solutionChapter 11 Solutions
Mathematical Statistics with Applications
- Linear Algebra: A Modern IntroductionAlgebraISBN:9781285463247Author:David PoolePublisher:Cengage LearningAlgebra & Trigonometry with Analytic GeometryAlgebraISBN:9781133382119Author:SwokowskiPublisher:Cengage