Question

The accompanying table shows a portion of data consisting of the selling price, the age, and...

The accompanying table shows a portion of data consisting of the selling price, the age, and the mileage for 20 used sedans.

Selling Price Age Miles
13,604 7 61,459
13,831 7 54,341
11,951 9 42,432

a. Determine the sample regression equation that enables us to predict the price of a sedan on the basis of its age and mileage. (Negative values should be indicated by a minus sign. Round your answers to 2 decimal places.) [If you are using R to obtain the output, then first enter the following command at the prompt: options(scipen=10). This will ensure that the output is not in scientific notation.]

PriceˆPrice^  = ____ + _____ Age + _____ Miles.

b. Interpret the slope coefficient of Age.

  • The slope coefficient of Age is −0.03, which suggests that for every additional year of age, the predicted price of car decreases by $0.03.

  • The slope coefficient of Age is −1021.82, which suggests that for every additional year of age, the predicted price of car decreases by $1021.82.

  • The slope coefficient of Age is −384.22, which suggests that for every additional year of age, the predicted price of car decreases by $384.22, holding number of miles constant.

  • The slope coefficient of Age is −0.03, which suggests that for every additional year of age, the predicted price of car decreases by $0.03, holding number of miles constant.


c. Use the predict() function in R or use the regression output to predict the selling price of a eight-year-old sedan with 66,000 miles. (Round answer to 2 decimal places.)

Price = ???

Excel Data File:

SellingPrice Age Miles
13604 7 61459
13831 7 54341
22923 1 8272
15260 1 24816
16417 4 22129
16644 6 23702
16920 1 47363
18436 3 16844
18832 7 35377
19848 6 29619
11820 10 55762
14967 3 46188
15910 7 36953
16453 2 45486
9464 10 86863
12961 5 77264
15765 7 59616
10470 10 93275
8948 8 48221
11951 9 42432

Homework Answers

Answer #1

Here I attach the R code

q
q=read.csv(file.choose())
fit=lm(q$SellingPrice~q$Age+q$Miles)
fit

The fitted model is then becomes

Selling price = 21277.9441 - 384.22*Age - 0.0877*Miles

The slope coefficient is -384.22 which suggests that for every additional year of age, the predicted price of car decreases by $384.22, holding number of miles constant.

When Age=8 and Miles =66000

the Selling Price Becomes,

21277.9441 - (384.22 * 8) - (0.0877 * 66000) = 12415.98

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
19. The accompanying table shows a portion of data consisting of the selling price, the age,...
19. The accompanying table shows a portion of data consisting of the selling price, the age, and the mileage for 20 used sedans. Selling Price Age Miles 13,632 6 61,524 13,750 4 54,396 ⋮ ⋮ ⋮ 11,968 8 42,398 a. Determine the sample regression equation that enables us to predict the price of a sedan on the basis of its age and mileage. (Negative values should be indicated by a minus sign. Round your answers to 2 decimal places.) [If...
SellingPrice Age Miles 13558 5 61476 13764 8 54397 22905 1 8281 15280 1 24871 16430...
SellingPrice Age Miles 13558 5 61476 13764 8 54397 22905 1 8281 15280 1 24871 16430 2 22139 16645 2 23741 16992 2 47426 18444 2 16865 18849 3 35394 19877 3 29634 11812 6 55785 14901 1 46212 15903 3 37007 16502 5 45473 9415 10 86861 12931 6 77208 15731 9 59603 10536 7 93212 8907 8 48263 11996 6 42434 A) Determine the sample regression equation that enables us to predict the price of a sedan on...
A linear model to predict the Price of a used car​ (in $) from its Mileage​...
A linear model to predict the Price of a used car​ (in $) from its Mileage​ (in miles) was fit to 33 used cars that were available during a​ one-week period within 200 miles of a particular city. The model is shown below. Complete parts a through g below. Price=21,253.54−0.11024 Mileage ​a) What is the explanatory​ variable? A.​Price, because the mileage of the car is used to predict the price B.​Price, because the price of the car is used to...
The accompanying table shows a portion of a data set that refers to the property taxes...
The accompanying table shows a portion of a data set that refers to the property taxes owed by a homeowner (in $) and the size of the home (in square feet) in an affluent suburb 30 miles outside New York City. Taxes Size 21980 2357 17392 2471 18216 1895 15691 1117 43957 5728 33624 2536 15136 2188 16699 1926 18218 2135 16036 1409 15145 1450 36050 3099 31048 2742 42030 3353 14435 1649 38946 4001 25309 3916 22934 2438 16152...
The accompanying table shows a portion of a data set that refers to the property taxes...
The accompanying table shows a portion of a data set that refers to the property taxes owed by a homeowner (in $) and the size of the home (in square feet) in an affluent suburb 30 miles outside New York City. Taxes Size 21,987 2,352 17,343 2,362 ⋮ ⋮ 29,272 2,878 Taxes Size 21987 2352 17343 2362 18279 1776 15645 1118 43954 5712 33653 2592 15105 2134 16749 1905 18239 2024 16048 1389 15135 1381 36016 3028 31083 2771 42000...
The Toyota Camry is one of the best-selling cars in North America. The cost of a...
The Toyota Camry is one of the best-selling cars in North America. The cost of a previously owned Camry depends upon many factors, including the model year, mileage, and condition. Our interest is to estimate the sales price using the car’s mileage. The file “ToyotaCamry” contains data for sales price and the car’s mileage for a 2007 model year Camry for 19 sales (PriceHub website, February 24, 2012). As demonstrated in the lecture, please create a subset data of size...
Following are age and price data for 10 randomly selected cars between 1 and 6 years...
Following are age and price data for 10 randomly selected cars between 1 and 6 years old. Here, x denotes age in, in years, and y denotes price, in hundreds of dollars. Use the information to complete parts (a) through (g). x : 6,6,6,2,2,5,4,5,1,4 y: 280,285,305,425,389,325,355,328,415,330 Predict the value of the response variable for a 22​-year-old car and a 33​-year-old ​car, and interpret your results. For a 22​-year-old ​car, the predicted price is $ _____ For a 33-year-old car, the...
We expect a car's highway gas mileage to be related to its city gas mileage (in...
We expect a car's highway gas mileage to be related to its city gas mileage (in miles per gallon, mpg). Data for all 1137 vehicles in the government's 2013 Fuel Economy Guide give the regression line highway mpg = 6.785 + (1.033 × city mpg) for predicting highway mileage from city mileage. (a) What is the slope of this line? (Enter your answer to three decimal places.) ____mpg Say in words what the numerical value of the slope tells us....
We expect a car's highway gas mileage to be related to its city gas mileage (in...
We expect a car's highway gas mileage to be related to its city gas mileage (in miles per gallon, mpg). Data for all 1137 vehicles in the government's Fuel Economy Guide give the regression line highway mpg = 6.785 + (1.033 * city mpg) for predicting highway mileage from city mileage. (a) What is the slope of this line? (Enter your answer to three decimal places.) mpg Say in words what the numerical value of the slope tells us. Highway...
The owner of Maumee Ford-Mercury-Volvo wants to study the relationship between the age of a car...
The owner of Maumee Ford-Mercury-Volvo wants to study the relationship between the age of a car and its selling price. Listed below is a random sample of 12 used cars sold at the dealership during the last year. Car Age (years) Selling Price ($000) Car Age (years) Selling Price ($000) 1 15 12.0 7 13 9.7 2 10 10.1 8 17 9.0 3 17 5.4 9 16 9.0 4 19 4.9 10 19 4.9 5 12 5.6 11 8 11.4...