You work as a data scientist for a real estate company in a seaside resort town. Your boss has asked you to discover if it's possible to predict how much a home's distance from the water affects its selling price. You are going to collect a random sample of 9 recently sold homes in your town. You will note the distance each hame is from the water (denoted by X, in km) and each home's selling price (denoted by y, in hundreds of thousands of dollars). You will also nate the product X-y of the distance from the water and selling price for each hame. (These products are written in the row labeied "Xy"). (a) Cick an "Take Sample" to sen the results for your random sample. Distance from the water, X 3.8 21 1.3 0.2 2.9 21 4.4 13 1.8 (In lam) Taku Samplo Selling price, y (In hundreds of thousands of dollars) 5.7 10.3 17.1 14.8 8.2 7.4 6.1 10.4 9.6 xy 21.66 21.63 22.23 2.96 23.78 15.54 26.84 13.52 17.28 Sand data to calculator Based on the data from your sample, anter the indicated values in the column an the left below. Round decimal values to three decimal places. When you are done, select "Compute". (In the table below, is the sample size and the symbol I xy means the sum of the values Xy.) n: 0 Sample correlation coefficient (): Slope (b): I xy: 0 y-intercept (): Compute (b) Write the equation of the least-squares regression line for your data. Then on the scatter plot for your data, graph this regression equation by plotting two points and then drawing the line through them. Round each coordinate to three decimal places. Regression equation: y-O Distance from the water (in kan) (c) Use your regression equation to predict the selling price of a home that is 2.7 km from the water. Round your answer to one decimal place. Predicted price: I hundred thousand dollars Seling price Cin hundreds of thousands of dollars)
You work as a data scientist for a real estate company in a seaside resort town. Your boss has asked you to discover if it's possible to predict how much a home's distance from the water affects its selling price. You are going to collect a random sample of 9 recently sold homes in your town. You will note the distance each hame is from the water (denoted by X, in km) and each home's selling price (denoted by y, in hundreds of thousands of dollars). You will also nate the product X-y of the distance from the water and selling price for each hame. (These products are written in the row labeied "Xy"). (a) Cick an "Take Sample" to sen the results for your random sample. Distance from the water, X 3.8 21 1.3 0.2 2.9 21 4.4 13 1.8 (In lam) Taku Samplo Selling price, y (In hundreds of thousands of dollars) 5.7 10.3 17.1 14.8 8.2 7.4 6.1 10.4 9.6 xy 21.66 21.63 22.23 2.96 23.78 15.54 26.84 13.52 17.28 Sand data to calculator Based on the data from your sample, anter the indicated values in the column an the left below. Round decimal values to three decimal places. When you are done, select "Compute". (In the table below, is the sample size and the symbol I xy means the sum of the values Xy.) n: 0 Sample correlation coefficient (): Slope (b): I xy: 0 y-intercept (): Compute (b) Write the equation of the least-squares regression line for your data. Then on the scatter plot for your data, graph this regression equation by plotting two points and then drawing the line through them. Round each coordinate to three decimal places. Regression equation: y-O Distance from the water (in kan) (c) Use your regression equation to predict the selling price of a home that is 2.7 km from the water. Round your answer to one decimal place. Predicted price: I hundred thousand dollars Seling price Cin hundreds of thousands of dollars)
MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
Related questions
Question
![You work as a data scientist for a real estate company in a seaside resort town. Your boss has asked you to discover if it's possible to predict how much a
home's distance from the water affects its selling price. You are going to collect a random sample of 9 recently sold homes in your town. You will note the
distance each hame is from the water (denoted by X, in km) and each home's selling price (denoted by y, in hundreds of thousands of dollars). You will also note
the product X-y oaf the distance from the water and selling price for each hame. (These products are written in the row labeled "Xy")-
(a) Click an "Take Sample" to see the results for your random sample.
Distance from the
water, X
3.8
21
1.3
0.2
29
21
4.4
1.3
1.8
(In lam)
Selling price, y
(In hundreds of thousands
of dollars)
Tako Sample
5.7
10.3
17.1
14.8
8.2
1.4
6.1
10.4
9.6
xy
21.66
21.63
22.23
2.96
23.78
15.54
26.84
13.52
17.28
Sand data to calculator v
Based on the data from your sample, enter the indicated values in the column on the left below. Round decimal values to three decimal places. When
you are done, select "Compute". (In the table below, 1 is the sample size and the symbol I xy means the sum of the valuesXy.)
n: 0
Sample correlation coefficient (7):
I: 0
Slope (b):
I xy: 0
J-intercept (0):
Compute
(b) Write the equation of the least-squares regression line for your data. Then on the scatter plat for your data, graph this regression equation by plotting
two points and then drawing the line through them. Round each coordinate to three decimal places.
Regression equation: y
Distance from the water
(in km)
(c) Use your regression equation to predict the selling price af a home that is 27 km from the water. Round your answer to one decimal place.
Predicted price:
hundred thousand dollars
Selling price
(SJejjop jo spuesnoup jo spaupury ui)](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2Fb5fbc724-4b7e-4d0b-98be-fee0cf2fdf08%2F91d80cb6-b456-41a4-8037-22925f9981a2%2Fof7yzw8_processed.png&w=3840&q=75)
Transcribed Image Text:You work as a data scientist for a real estate company in a seaside resort town. Your boss has asked you to discover if it's possible to predict how much a
home's distance from the water affects its selling price. You are going to collect a random sample of 9 recently sold homes in your town. You will note the
distance each hame is from the water (denoted by X, in km) and each home's selling price (denoted by y, in hundreds of thousands of dollars). You will also note
the product X-y oaf the distance from the water and selling price for each hame. (These products are written in the row labeled "Xy")-
(a) Click an "Take Sample" to see the results for your random sample.
Distance from the
water, X
3.8
21
1.3
0.2
29
21
4.4
1.3
1.8
(In lam)
Selling price, y
(In hundreds of thousands
of dollars)
Tako Sample
5.7
10.3
17.1
14.8
8.2
1.4
6.1
10.4
9.6
xy
21.66
21.63
22.23
2.96
23.78
15.54
26.84
13.52
17.28
Sand data to calculator v
Based on the data from your sample, enter the indicated values in the column on the left below. Round decimal values to three decimal places. When
you are done, select "Compute". (In the table below, 1 is the sample size and the symbol I xy means the sum of the valuesXy.)
n: 0
Sample correlation coefficient (7):
I: 0
Slope (b):
I xy: 0
J-intercept (0):
Compute
(b) Write the equation of the least-squares regression line for your data. Then on the scatter plat for your data, graph this regression equation by plotting
two points and then drawing the line through them. Round each coordinate to three decimal places.
Regression equation: y
Distance from the water
(in km)
(c) Use your regression equation to predict the selling price af a home that is 27 km from the water. Round your answer to one decimal place.
Predicted price:
hundred thousand dollars
Selling price
(SJejjop jo spuesnoup jo spaupury ui)
Expert Solution
![](/static/compass_v2/shared-icons/check-mark.png)
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 2 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
Recommended textbooks for you
![MATLAB: An Introduction with Applications](https://www.bartleby.com/isbn_cover_images/9781119256830/9781119256830_smallCoverImage.gif)
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
![Probability and Statistics for Engineering and th…](https://www.bartleby.com/isbn_cover_images/9781305251809/9781305251809_smallCoverImage.gif)
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
![Statistics for The Behavioral Sciences (MindTap C…](https://www.bartleby.com/isbn_cover_images/9781305504912/9781305504912_smallCoverImage.gif)
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
![MATLAB: An Introduction with Applications](https://www.bartleby.com/isbn_cover_images/9781119256830/9781119256830_smallCoverImage.gif)
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
![Probability and Statistics for Engineering and th…](https://www.bartleby.com/isbn_cover_images/9781305251809/9781305251809_smallCoverImage.gif)
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
![Statistics for The Behavioral Sciences (MindTap C…](https://www.bartleby.com/isbn_cover_images/9781305504912/9781305504912_smallCoverImage.gif)
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
![Elementary Statistics: Picturing the World (7th E…](https://www.bartleby.com/isbn_cover_images/9780134683416/9780134683416_smallCoverImage.gif)
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
![The Basic Practice of Statistics](https://www.bartleby.com/isbn_cover_images/9781319042578/9781319042578_smallCoverImage.gif)
The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman
![Introduction to the Practice of Statistics](https://www.bartleby.com/isbn_cover_images/9781319013387/9781319013387_smallCoverImage.gif)
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman