2. The data below contains sale price, size, and land-to-building ratio for 10 large industrial properties {r} saleprice <- read.csv("https://www.siue.edu/~jpailde/saleprice.csv") saleprice i) Construct a scatterpot for sale price versus size and sale price versus land-to-building ratio`. Be sure to fit regression lines on the scatterplots. ii) Use the `Im function to estimated the equations of each regression model for sale price versus size` and `sale price versus land-to-building ratio`. iii) Check the error model assumption visually by constructing a residual plot and QQplot of the residuals for the two models. iv) Estimate the population regression slope of each model (line) by constructing 95\% confidence interval. Give a brief interpretation of the esimated slope in the context of the problem. v) Perform a hypothesis test on the regression slope of each model (line), use a 5\% level of significance. Given an appropriate conclusion.

Trigonometry (MindTap Course List)
8th Edition
ISBN:9781305652224
Author:Charles P. McKeague, Mark D. Turner
Publisher:Charles P. McKeague, Mark D. Turner
Chapter4: Graphing And Inverse Functions
Section: Chapter Questions
Problem 6GP: If your graphing calculator is capable of computing a least-squares sinusoidal regression model, use...
icon
Related questions
Question

Can you help me answer this using R code?

2. The data below contains sale price, size, and land-to-building ratio for 10 large
industrial properties
{r}
saleprice <- read.csv("https://www.siue.edu/~jpailde/saleprice.csv")
saleprice
i) Construct a scatterpot for sale price versus size and sale price versus
land-to-building ratio`. Be sure to fit regression lines on the scatterplots.
ii) Use the `Im function to estimated the equations of each regression model for sale
price versus size` and `sale price versus land-to-building ratio`.
iii) Check the error model assumption visually by constructing a residual plot and QQplot
of the residuals for the two models.
iv) Estimate the population regression slope of each model (line) by constructing 95\%
confidence interval. Give a brief interpretation of the esimated slope in the context of the
problem.
v) Perform a hypothesis test on the regression slope of each model (line), use a 5\% level
of significance. Given an appropriate conclusion.
Transcribed Image Text:2. The data below contains sale price, size, and land-to-building ratio for 10 large industrial properties {r} saleprice <- read.csv("https://www.siue.edu/~jpailde/saleprice.csv") saleprice i) Construct a scatterpot for sale price versus size and sale price versus land-to-building ratio`. Be sure to fit regression lines on the scatterplots. ii) Use the `Im function to estimated the equations of each regression model for sale price versus size` and `sale price versus land-to-building ratio`. iii) Check the error model assumption visually by constructing a residual plot and QQplot of the residuals for the two models. iv) Estimate the population regression slope of each model (line) by constructing 95\% confidence interval. Give a brief interpretation of the esimated slope in the context of the problem. v) Perform a hypothesis test on the regression slope of each model (line), use a 5\% level of significance. Given an appropriate conclusion.
Expert Solution
steps

Step by step

Solved in 2 steps with 5 images

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Trigonometry (MindTap Course List)
Trigonometry (MindTap Course List)
Trigonometry
ISBN:
9781305652224
Author:
Charles P. McKeague, Mark D. Turner
Publisher:
Cengage Learning
Glencoe Algebra 1, Student Edition, 9780079039897…
Glencoe Algebra 1, Student Edition, 9780079039897…
Algebra
ISBN:
9780079039897
Author:
Carter
Publisher:
McGraw Hill