We want to predict the selling price of a house in Newburg Park, Florida, based on the distance the house lies from the beach. Suppose that we're given the data in the table below. These data detail the distance from the beach (x, in miles) and the selling price (y, in thousands of dollars) for each of a sample of fifteen homes sold in Newburg Park in the past year. The data are plotted in the scatter plot in Figure 1. Also given is the product of the distance from the beach and the house price for each of the fifteen houses. (These products, written in the column labelled "xy", may aid in calculations.) Distance from the beach,  x (in miles) Selling price,  y (in thousands of dollars) xy 5.0 270.1 1350.5 11.5 205.9 2367.85 5.9 309.4 1825.46 12.2 200.6 2447.32 2.6 307.1 798.46 5.9 266.0 1569.4 8.3 297.3 2467.59 18.3 224.2 4102.86 6.5 242.4 1575.6 12.1 192.6 2330.46 11.6 229.4 2661.04 9.5 230.9 2193.55 10.1 277.0 2797.7 13.5 270.8 3655.8 6.2 217.2 1346.64 What is the slope of the least-squares regression line for these data? Carry your intermediate computations to at least four decimal places and round your answer to at least two decimal places.

MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
icon
Related questions
icon
Concept explainers
Question

We want to predict the selling price of a house in Newburg Park, Florida, based on the distance the house lies from the beach. Suppose that we're given the data in the table below. These data detail the distance from the beach (x, in miles) and the selling price (y, in thousands of dollars) for each of a sample of fifteen homes sold in Newburg Park in the past year. The data are plotted in the scatter plot in Figure 1. Also given is the product of the distance from the beach and the house price for each of the fifteen houses. (These products, written in the column labelled "xy", may aid in calculations.)

Distance from the beach, 
x

(in miles)
Selling price, 
y

(in thousands of dollars)
xy
5.0 270.1 1350.5
11.5 205.9 2367.85
5.9 309.4 1825.46
12.2 200.6 2447.32
2.6 307.1 798.46
5.9 266.0 1569.4
8.3 297.3 2467.59
18.3 224.2 4102.86
6.5 242.4 1575.6
12.1 192.6 2330.46
11.6 229.4 2661.04
9.5 230.9 2193.55
10.1 277.0 2797.7
13.5 270.8 3655.8
6.2 217.2 1346.64

What is the slope of the least-squares regression line for these data? Carry your intermediate computations to at least four decimal places and round your answer to at least two decimal places. 

 

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 2 images

Blurred answer
Knowledge Booster
Correlation, Regression, and Association
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, statistics and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
MATLAB: An Introduction with Applications
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
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…
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
The Basic Practice of Statistics
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
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman