You are trying to produce an app to replace realtors and reap their commissions (typically 5 to 6% of the property selling price). Your first mission is to produce a tool that helps prospective house buyers estimate the potential selling price of their houses, and you're working on making a regression model to serve as the engine behind the tool. You'd like to make the model as simple as possible, so you are wondering how well you can predict the selling price of a house from just the size of the living area (ignoring garage, etc). In RStudio, run the following code to install and/or library the package "openintro". 1. install.packages ("openintro") # don't do this again if you already did this! 2. library(openintro) 3. ames Delete the install line of code if you are in an RMD file so that it doesn't install every time you knit. The last line of code will access the dataset of that name. The table 'ames' gives information about house prices in the fun college town of Ames, lowa. Use the data set to make a model to predict the price of a house in Ames, lowa in dollars ("price") from the area of living space of a house in square feet ("area"). a. Make a scatterplot of "price" (y-axis) vs "area" (x-axis). Which plot is the scatterplot? Graph A Graph B Graph C Graph D O A с 05- 4+05- 2005- +00 1000- 4000- 3000 1000- 60000 100000 150000 200000 Area 2000 area 4000 OH:₁0 HA: 0 6000 OH:₁0 Ηλ: 21 > 0 B D 5000- d. Interpret R² 4000- 3000 2000- 1000- 0+00 20+05 40-05 area 4+05 26+05- b. Does the relationship appear roughly linear? Yes, all the points fall on a straight line. O No, all the points do not fall on a straight line. No, there are gaps in the graph along the x-axis. Yes, there is no obvious curvature in the graph Ce+00- c. Do the data provide strong evidence that the price of a house in Ames, lowa in dollars and the area of living space of a house in square feet are associated? State the null and alternative hypotheses, report the p-value, and state your conclusion. i. The hypotheses are: OH ₁111.694 HA₁111.694 ⒸH₂B₁ 0 HA:B₁0 1000 2000 3000 4000 5000 area 60405 ii. The p-value for the test is (round to three decimal places--if that value is 0 then enter 0.): iii. The result of this hypothesis test is: O About 49.95% of the variation in the price of a house in Ames, lowa in dollars is explained by the least-squares line. O About 49.95% of the variation in the area of living space of a house in square feet is explained by the least-squares line. ⒸH₂B₁ 0 HA:B₁0 O Ho B₁ 111.694 HAB₁111.694 O the area of living space of a house in square feet is not predictive of the price of a house in Ames, lowa in dollars. O the area of living space of a house in square feet is predictive of the price of a house in Ames, lowa in dollars. O The total unexplained variation in the model. The total amount of variation in the model. e. What is the equation of the regression line? O area 111.694 price. 13289.634 Oprice - 13289.634 area 111.694 + O price - 111.694 area + 13289.634 Oarea- 13289.634 price 111.694 O the amount of variation in the price of a house in Ames, lowa in dollars that is explained by the least squares line. O The amount of variation in the area of living space of a house in square feet that is explained by the least squares line. f. Interpret the slope in the context of the model. For each [Select an answer Select an answer Select an answer Select an answer V increase in Select an answer V g. Interpret the y-intercept in the context of the model or explain why it should not be interpreted. When the the price of a house in Ames, lowa in dollars of a house is 0 the expected value of the area of living space of a house in square feet is 111.694. O It does not make sense to interpret the y-intercept for this model because no house in the data had a the area of living space of a house in square feet anywhere close to 0. When the the price of a house in Ames, lowa in dollars of a house is 0 the expected value of the area of living space of a house in square feet is 13289.634. When the the area of living space of a house in square feet of a house is 0 the expected value of the price of a house in Ames, lowa in dollars is 13289.634.

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
Question
You are trying to produce an app to replace realtors and reap their commissions (typically 5 to 6% of the
property selling price). Your first mission is to produce a tool that helps prospective house buyers estimate
the potential selling price of their houses, and you're working on making a regression model to serve as the
engine behind the tool. You'd like to make the model as simple as possible, so you are wondering how well
you can predict the selling price of a house from just the size of the living area (ignoring garage, etc).
In RStudio, run the following code to install and/or library the package "openintro".
1. install.packages ("openintro") # don't do this again if you already did this!
2. library(openintro)
3. ames
Delete the install line of code if you are in an RMD file so that it doesn't install every time you knit. The
last line of code will access the dataset of that name.
The table 'ames' gives information about house prices in the fun college town of Ames, lowa. Use the data
set to make a model to predict the price of a house in Ames, lowa in dollars ("price") from the area of living
space of a house in square feet ("area").
a. Make a scatterplot of "price" (y-axis) vs "area" (x-axis). Which plot is the scatterplot?
Graph A Graph B Graph C Graph D
O ỏ
O
A
с
-S0+9
4+05-
2005-
+00
5000-
4000-
3000
2000-
1000-
60000 100000 150000 200000
area
2000
area
4000
i. The hypotheses are:
OH: ₁0
H₁: 10
6000
Ho: ₁0
H₁: 2₁ > 0
B
D
5000-
d. Interpret R².
4000-
3000
2000-
1000-
06+00
4+05-
05-
26+05-
Ce+00-
b. Does the relationship appear roughly linear?
OYes, all the points fall on a straight line.
O No, all the points do not fall on a straight line.
O No, there are gaps in the graph along the x-axis.
O Yes, there is no obvious curvature in the graph
c. Do the data provide strong evidence that the price of a house in Ames, lowa in dollars and the area
of living space of a house in square feet are associated? State the null and alternative hypotheses,
report the p-value, and state your conclusion.
20+05
OH 2₁ 111.694
HA₁111.694
ⒸH₁: B₁=0
HA:B₁0
1000 2000 3000 4000 5000
Area
40-05 60+05
area
ii. The p-value for the test is (round to three decimal places--if that value is 0 then enter 0.):
iii. The result of this hypothesis test is:
O About 49.95% of the variation in the price of a house in Ames, lowa in dollars is
explained by the least-squares line.
O About 49.95% of the variation in the area of living space of a house in square feet is
explained by the least-squares line.
ⒸH₂B₁ 0
HA:B₁0
O the area of living space of a house in square feet is not predictive of the price of a house
in Ames, lowa in dollars.
O The total unexplained variation in the model.
The total amount of variation in the model.
Oprice 13289.634 area 111.694
- .
OHB₁111.694
HA: B₁ 111.694
O the area of living space of a house in square feet is predictive of the price of a house in
Ames, lowa in dollars.
e. What is the equation of the regression line?
Oarea 111.694 price 13289.634
Oprice - 111.694 area + 13289.634
Oarea - 13289.634 price 111.694
+
O the amount of variation in the price of a house in Ames, lowa in dollars that is explained by
the least squares line.
O The amount of variation in the area of living space of a house in square feet that is explained
by the least squares line.
f. Interpret the slope in the context of the model. For each Select an answer V increase in
Select an answer
Select an answer
Select an answer
Select an answer
g. Interpret the y-intercept in the context of the model or explain why it should not be interpreted.
When the the price of a house in Ames, lowa in dollars of a house is 0 the expected value of
the area of living space of a house in square feet is 111.694.
O It does not make sense to interpret the y-intercept for this model because no house in the
data had a the area of living space of a house in square feet anywhere close to 0.
O When the the price of a house in Ames, lowa in dollars of a house is 0 the expected value of
the area of living space of a house in square feet is 13289.634.
When the the area of living space of a house in square feet of a house is 0 the expected value
of the price of a house in Ames, lowa in dollars is 13289.634.
Transcribed Image Text:You are trying to produce an app to replace realtors and reap their commissions (typically 5 to 6% of the property selling price). Your first mission is to produce a tool that helps prospective house buyers estimate the potential selling price of their houses, and you're working on making a regression model to serve as the engine behind the tool. You'd like to make the model as simple as possible, so you are wondering how well you can predict the selling price of a house from just the size of the living area (ignoring garage, etc). In RStudio, run the following code to install and/or library the package "openintro". 1. install.packages ("openintro") # don't do this again if you already did this! 2. library(openintro) 3. ames Delete the install line of code if you are in an RMD file so that it doesn't install every time you knit. The last line of code will access the dataset of that name. The table 'ames' gives information about house prices in the fun college town of Ames, lowa. Use the data set to make a model to predict the price of a house in Ames, lowa in dollars ("price") from the area of living space of a house in square feet ("area"). a. Make a scatterplot of "price" (y-axis) vs "area" (x-axis). Which plot is the scatterplot? Graph A Graph B Graph C Graph D O ỏ O A с -S0+9 4+05- 2005- +00 5000- 4000- 3000 2000- 1000- 60000 100000 150000 200000 area 2000 area 4000 i. The hypotheses are: OH: ₁0 H₁: 10 6000 Ho: ₁0 H₁: 2₁ > 0 B D 5000- d. Interpret R². 4000- 3000 2000- 1000- 06+00 4+05- 05- 26+05- Ce+00- b. Does the relationship appear roughly linear? OYes, all the points fall on a straight line. O No, all the points do not fall on a straight line. O No, there are gaps in the graph along the x-axis. O Yes, there is no obvious curvature in the graph c. Do the data provide strong evidence that the price of a house in Ames, lowa in dollars and the area of living space of a house in square feet are associated? State the null and alternative hypotheses, report the p-value, and state your conclusion. 20+05 OH 2₁ 111.694 HA₁111.694 ⒸH₁: B₁=0 HA:B₁0 1000 2000 3000 4000 5000 Area 40-05 60+05 area ii. The p-value for the test is (round to three decimal places--if that value is 0 then enter 0.): iii. The result of this hypothesis test is: O About 49.95% of the variation in the price of a house in Ames, lowa in dollars is explained by the least-squares line. O About 49.95% of the variation in the area of living space of a house in square feet is explained by the least-squares line. ⒸH₂B₁ 0 HA:B₁0 O the area of living space of a house in square feet is not predictive of the price of a house in Ames, lowa in dollars. O The total unexplained variation in the model. The total amount of variation in the model. Oprice 13289.634 area 111.694 - . OHB₁111.694 HA: B₁ 111.694 O the area of living space of a house in square feet is predictive of the price of a house in Ames, lowa in dollars. e. What is the equation of the regression line? Oarea 111.694 price 13289.634 Oprice - 111.694 area + 13289.634 Oarea - 13289.634 price 111.694 + O the amount of variation in the price of a house in Ames, lowa in dollars that is explained by the least squares line. O The amount of variation in the area of living space of a house in square feet that is explained by the least squares line. f. Interpret the slope in the context of the model. For each Select an answer V increase in Select an answer Select an answer Select an answer Select an answer g. Interpret the y-intercept in the context of the model or explain why it should not be interpreted. When the the price of a house in Ames, lowa in dollars of a house is 0 the expected value of the area of living space of a house in square feet is 111.694. O It does not make sense to interpret the y-intercept for this model because no house in the data had a the area of living space of a house in square feet anywhere close to 0. O When the the price of a house in Ames, lowa in dollars of a house is 0 the expected value of the area of living space of a house in square feet is 13289.634. When the the area of living space of a house in square feet of a house is 0 the expected value of the price of a house in Ames, lowa in dollars is 13289.634.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 8 steps with 16 images

Blurred answer
Similar 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