cor(price, footage) ## [1] 0.7088847 pricemodel<-Im(price-footage) msummary(pricemodel) ## Estimate Std. Error t value Pr(>|t) ## (Intercept) 21.14411 136.31449 0.155 0.87954 ## footage 0.28388 0.08516 3.333 0.00667 ** ## ## Residual standard error: 71.64 on 11 degrees of freedom ## Multiple R-squared: 0.5025, Adjusted R-squared: 0.4573

Functions and Change: A Modeling Approach to College Algebra (MindTap Course List)
6th Edition
ISBN:9781337111348
Author:Bruce Crauder, Benny Evans, Alan Noell
Publisher:Bruce Crauder, Benny Evans, Alan Noell
Chapter3: Straight Lines And Linear Functions
Section3.4: Linear Regression
Problem 12SBE: Find the equation of the regression line for the following data set. x 1 2 3 y 0 3 4
icon
Related questions
Question
Write the equation of the least-squares regression line defining any variables used. Round coefficients to
4 decimal places.
Transcribed Image Text:Write the equation of the least-squares regression line defining any variables used. Round coefficients to 4 decimal places.
footage<-
c(1561,1818,1421,1488,1356,1430,1881,1253,1300,1500,1806,
1777,1995)
price<-
c(425,489,379,499,299,380,560,429,524.9,429.9,580,459,665)
xyplot(price-footage,
Asking Price($000)
xlab="square Footage",
ylab="Asking Price($000)",
type=c("p","r"))
600
500
400
300
T
1400
1600
square Footage
cor(price,footage)
## [1] 0.7088847
pricemodel<-lm(price-footage)
msummary(pricemodel)
1800
2000
##
Estimate Std. Error t value Pr(>|t|)
## (Intercept) 21.14411 136.31449 0.155 0.87954
## footage 0.28388 0.08516 3.333 0.00667 **
##
## Residual standard error: 71.64 on 11 degrees of freedom
## Multiple R-squared: 0.5025, Adjusted R-squared: 0.4573
## F-statistic: 11.11 on 1 and 11 DF, p-value: 0.006671
Transcribed Image Text:footage<- c(1561,1818,1421,1488,1356,1430,1881,1253,1300,1500,1806, 1777,1995) price<- c(425,489,379,499,299,380,560,429,524.9,429.9,580,459,665) xyplot(price-footage, Asking Price($000) xlab="square Footage", ylab="Asking Price($000)", type=c("p","r")) 600 500 400 300 T 1400 1600 square Footage cor(price,footage) ## [1] 0.7088847 pricemodel<-lm(price-footage) msummary(pricemodel) 1800 2000 ## Estimate Std. Error t value Pr(>|t|) ## (Intercept) 21.14411 136.31449 0.155 0.87954 ## footage 0.28388 0.08516 3.333 0.00667 ** ## ## Residual standard error: 71.64 on 11 degrees of freedom ## Multiple R-squared: 0.5025, Adjusted R-squared: 0.4573 ## F-statistic: 11.11 on 1 and 11 DF, p-value: 0.006671
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Recommended textbooks for you
Functions and Change: A Modeling Approach to Coll…
Functions and Change: A Modeling Approach to Coll…
Algebra
ISBN:
9781337111348
Author:
Bruce Crauder, Benny Evans, Alan Noell
Publisher:
Cengage Learning
Algebra & Trigonometry with Analytic Geometry
Algebra & Trigonometry with Analytic Geometry
Algebra
ISBN:
9781133382119
Author:
Swokowski
Publisher:
Cengage
Glencoe Algebra 1, Student Edition, 9780079039897…
Glencoe Algebra 1, Student Edition, 9780079039897…
Algebra
ISBN:
9780079039897
Author:
Carter
Publisher:
McGraw Hill
Calculus For The Life Sciences
Calculus For The Life Sciences
Calculus
ISBN:
9780321964038
Author:
GREENWELL, Raymond N., RITCHEY, Nathan P., Lial, Margaret L.
Publisher:
Pearson Addison Wesley,
College Algebra
College Algebra
Algebra
ISBN:
9781337282291
Author:
Ron Larson
Publisher:
Cengage Learning