3. Interpret the slope and y-intercept, if appropriate.

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
100%
absences<-c(0,1,2,3,4,5,6,7,8,9)
grade<-c(89.2,86.4,83.5,81.1,78.2,73.9,64.3,71.8,65.5,66.2)
xyplot(absences-grade,
xlab="Absences",
ylab="Final Grade",
type=c("p","r"))
Final Grade
8
2
0
65
70
75
0
Absences
80
cor(absences,grade)
## [1] -0.947395
pricemodel<-lm(grade~absences)
msummary(pricemodel)
85
90
##
Estimate Std. Error t value Pr(>|t|)
## (Intercept) 88.7327
1.8028 49.219 3.21e-11 ***
## absences -2.8273 0.3377 -8.372 3.14e-05 ***
##
## Residual standard error: 3.067 on 8 degrees of freedom
## Multiple R-squared: 0.8976, Adjusted R-squared: 0.8848
## F-statistic: 70.09 on 1 and 8 DF, p-value: 3.143e-05
Transcribed Image Text:absences<-c(0,1,2,3,4,5,6,7,8,9) grade<-c(89.2,86.4,83.5,81.1,78.2,73.9,64.3,71.8,65.5,66.2) xyplot(absences-grade, xlab="Absences", ylab="Final Grade", type=c("p","r")) Final Grade 8 2 0 65 70 75 0 Absences 80 cor(absences,grade) ## [1] -0.947395 pricemodel<-lm(grade~absences) msummary(pricemodel) 85 90 ## Estimate Std. Error t value Pr(>|t|) ## (Intercept) 88.7327 1.8028 49.219 3.21e-11 *** ## absences -2.8273 0.3377 -8.372 3.14e-05 *** ## ## Residual standard error: 3.067 on 8 degrees of freedom ## Multiple R-squared: 0.8976, Adjusted R-squared: 0.8848 ## F-statistic: 70.09 on 1 and 8 DF, p-value: 3.143e-05
3. Interpret the slope and y-intercept, if appropriate.
Transcribed Image Text:3. Interpret the slope and y-intercept, if appropriate.
Expert Solution
steps

Step by step

Solved in 2 steps

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