CS 103 Day 13, Monday April 22, 2001

Class notes:
Deriving  information from data:
Go to Regression Demos folder, in Class Material/CS103.  Open Regression Line.xls Learning Excel:  Ch. 8 Simple Regression
Assignment 8 (Concepts of probability) Due Friday, Day 15, April 27

Assignment 9 and the Learning Excel notes are available as a handout.
Assignment 9 (regression line, Rsquared) Due Friday, Day 15, April 27
#5, p. 262 (Data on used Mustangs) Do these problems rather than those in the book. 
    A. a. Plot Price against Age (age on the x-axis, since you would expect age to predict or determine price, not the other way around)  Look at the pattern. Then:
    b. Put a linear regression line (trendline) on the plot, and show the equation of the line and R2 as well. 
    c. Print your graph; on the paper answer these questions: 
       i. How well does the line visually describe/summarize the dependency of price on age? 
       ii. Interpret the size of R2 in light of your answer to (i) (See p.243, coefficient. of determination.) 
       iii. Ignore the line. Describe in words how price depends on age. You might say, "When a car is newish, the price is… As it gets older, the price ……. For the oldest cars, ……."
B Repeat questions a, b, c above (printing graph with regression line, discussing relationship and R2).. using just the cars of age less than 10 years. 
       To get the new graph, you can just select these newer cars, since the data is already sorted on age. Or (Save your workbook as E8Mustang, then save it again as E8DMustang before deleting, so you don't lose the original work) you can delete all the older cars if you prefer. 
    d. Also answer this question. "(For Mustangs less than 10 years old), the price drops $______ for every year older the car is, on average." (Hint: slope of line…)


To Sievers Home Page
CS103-Sp01/day13.htm   4/22/01
This page belongs to Sally Sievers who is solely responsible for its content. Please see our statement of responsibility.