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.
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...
Related questions
Question
Can you help me answer this using R code?
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps with 5 images
Recommended textbooks for you
Trigonometry (MindTap Course List)
Trigonometry
ISBN:
9781305652224
Author:
Charles P. McKeague, Mark D. Turner
Publisher:
Cengage Learning
Glencoe Algebra 1, Student Edition, 9780079039897…
Algebra
ISBN:
9780079039897
Author:
Carter
Publisher:
McGraw Hill
Trigonometry (MindTap Course List)
Trigonometry
ISBN:
9781305652224
Author:
Charles P. McKeague, Mark D. Turner
Publisher:
Cengage Learning
Glencoe Algebra 1, Student Edition, 9780079039897…
Algebra
ISBN:
9780079039897
Author:
Carter
Publisher:
McGraw Hill